cancel
Showing results for 
Search instead for 
Did you mean: 

Loop into a validation rule - Agentry

emanuele_matino
Participant
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

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.

Answers (0)