The workflow have the limitation of the maximum allowed size for a workflow definition is 400KB. The maximum allowed size for a workflow definition plus its input is 1.5MB
Also the loop has its own limitation,
The array you select can contain no more than 100 items. If an item in this list is larger than 512KB, that item will fail when the loop is executed.
So you may use Search API and limit the results to execute in the loop. If your use case is to remove the entitlements use cert campaign and campaign filter to get all the entitlements from a specific source and avoid the loop. The information is here
Yeah we can create certification but its an manual process the customer need the full automation so we decided to go with Workflow. If any idea you have to solve this pls provide here.
You can configure the trigger to automate the workflow. The certs can be auto created for each trigger by using HTTP request action. For example,
Trigger: Identity Attributes Changed
Action: Get Identity
Action: HTTP Request - to create a cert campaign along with campaign filter
Action: HTTP Request - to activate a cert campaign
Action: HTTP Request - to update the campaign deadline
Action: HTTP Request - to auto complete the cert campaign
The only task which you need to create one time is campaign filter where you create a Exclusion filter and add the sources/entitlements to be excluded, otherwise it will consider all the sources in the cert campaign.
Hi Shantha, we have been there some time ago. What we did to “fix” this, is to have several chained Loop blocks. On each Loop, inputs were filtered with JSONPath, to ready array elements from 0 to 99, from 100 to 199, and so on.
As you are expecting about 900 entitlements, you should have to have about 10 Loops chained (900 plus a little more, if some user has more). Worked for us.
@jsosa Yes we have given this approach to the customer but what i am seeing is does this will affect the background tasks to take more time than usual, since if its any it will take some time to submit the removal process of entitlements right.