I am building a workflow to disable account in a specific source on an attribute change. I am able to read and disable all accounts using GetAccounts and ManageAccounts Actions. However, I am not able to Loop through accounts and disable them only for a specific source ID.
Have anyone been able to build workflow using loop for the similar business process?
If the workflow is handling a single identity and account needs to be deleted from just one source, then you don’t need to use the loop. You can simply apply a filter like $.getAccounts.accounts[?(@.sourceId == '2c9180835d2e5168015d32f890ca1581')].id and use it as input to Manage Accounts action
Replace 2c9180835d2e5168015d32f890ca1581 with actual Source ID