I am using a Get Accounts method inside my Loop in our workflow. However, I am exceeding the 250 iterations threshold for Get Accounts and exceeding 100 items threshold for Loop which is making my workflow error out.
What would be the workaround to cater more than the limit threshold for both Get Accounts and Loop?
Is there another way other than using Recursive Workflow? I read in the Cons that there are some limitations to it as well and it will depend on the use case if Recursive Workflow can support it.
I have yet to figure out a way to get past the 250 record limit on our APIs within Workflows. Recursion can’t handle pagination due to the lack of integer operations in workflows. The only way to get past 250 is to create multiple HTTP Request actions that invoke the list-accounts | SailPoint Developer Community API and do the pagination manually. So if you need to get 1000 accounts, you would need to have 4 HTTP actions and set the pagination appropriately in each one.
As for iterating over the accounts, recursion will work as long as you do not need to pass a context like you would with the loop context.