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 needs to be calculated in an expression rule on load.
In Appian there is only a foreach(). And this cannot be interrupted.
But using the reduce() function, while still iterating on all list items, you can decide whether to call your service based on previous results.
https://appian.rocks/2022/08/29/complex-algorithms-in-appian/