I have requirement that on last role deletion I have to disable account.
In the workflow, I am fetching accounts and putting below condition in compare string
but it is not working.
Get all of the identity’s entitlements on that source account by using the “Get Access” action with a query parameter for source, or an “HTTP Request” action that calls beta/accounts/:id/entitlements.
Use the “Is Valid” operator to check if the result of (1) is null
You may be able to achieve this via your current design, but if you can’t get that to work, I’ve been able to successfully use this alternate workflow design to meet your requirement.
What is the error are you facting? Are you unable to get results.
Try with sourceID instead of Sourcename
$.getAccounts.accounts[?(@.hasEntitlements == false)].sourceId
This discussion may not have been updated but I believe this issue has been resolved. I was able to use inline variables in URLs in my workflows. Please give it a try.