workflows creation error

Hi all,

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?