For a list of integers, I need to check the desired value by calling a service. I would like to stop calling the service, only I get the desired output. Any suggestions, please.
Discussion posts and replies are publicly visible
This could potentially be one of the few times that it's helpful to call an expression rule recursively.
Pattern: rule!RULE_myFunction(list of integers)
if( (list index 1 meets condition), [Return Value], rule!RULE_myFunction(ldrop(list of integers, 1)) /* pass in the same array, but with the first element removed */)