cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How do I check a value in a field using a business rule

0 Likes
911

1. Example: I have written the below rule to populate a custom field with the personid value

2. Result. This is correct.

3. What I need to do now is adding CP infront of the value in the "Employee ID" Field so it can populate like the following example: CP# +PersonID.

4. THe # value will be determine if the LOCATION CODE starts with a B. If it starts with a B then the business rule must add CP0 else it must add CP3.

I am struggling a bit with this. Can someone please point me in the right direction?

Best regards

Dee

Accepted Solutions (0)

Answers (1)

Answers (1)

karenperez
Product and Topic Expert
Product and Topic Expert
0 Likes

Dear adeleb0701,

Thank you for your question!

Can you try the below? Please consider to add the location criteria in the if condition, so you will have two if/else conditions and for each, the template text will be CP0_%d or CP3_%d

I hope this helps!

Thank you.

Best Regards,

Karen Perez