Skip to Content
0

Loop into a validation rule - Agentry

Jun 16, 2017 at 08:15 AM

79

avatar image

Hi expert,

I need to do this into a validation rule:

1) Read from a complex table 1 or more records

2) Check if the values of these records matches with some values into a collection

There is a way to loop over collection and "records from complex table" into a rule?

I hope to be clear.

Thanks in advance.

Emanuele

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Bill Froelich
Jun 17, 2017 at 04:25 AM
0

You will probably need to write an action to do this. There isn't a looping construct within a rule. The looping would occur via the action and then execute a rule on each iteration of the loop checking for success or failure. You might need to use a main object property to store the results of your loop and then have a validation rule check the results from the loop.

Hope this helps.

Share
10 |10000 characters needed characters left characters exceeded