Need your help in figuring out a workflow that I am trying to build? The reason to build this workflow is fetch inactive identities with active ad accounts and then disable the ad accounts only and remove the entitlements.
There are some ad’s which is not sent to deactivate automatically so we are trying to build this workflow to get the work done.
but the issue I am facing here is if the search results doesn’t give results, then the HTTP request seem to be failing?
Any suggestions on how to handle this?
I think, you can check there are any results returned from search query, using Verify Data Type operator.
Like,
Scheduled Search Trigger
Now, here check if the search returned any results using Verify Data Type operator. You can use Exists or is Null.
a. If not null, proceed further like HTTP requests.
b. If null, End the workflow.
Hi Gokul,
Thank you for the response. I am trying to build a workflow to get inactive identities with active ad accounts and i need to disable them and delete all the entitlements. but i am facing issues with the workflow format.
Hi Shailee,
Thank you for the response. I am trying to build a workflow to get inactive identities with active ad accounts and i need to disable them and delete all the entitlements. but i am facing issues with the workflow format.
With the help of img, I find that the workflow is failing because, the End Step, which you gave for the false statement is - End Step - Failure.
Just make this a try, replace the End Step - Failure operator by End Step - Success operator and provide a comment. This can also be a reason for the failure. I think your flow is good.
You think there is an issue still, kindly share the workflow json.