Skip to Content

Loop into a validation rule - Agentry

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jun 17, 2017 at 04:25 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded