I have copied the standard decision step and also made it as a General Task. As in few scenarios, the users can have multiple managers, I have used multiline container element in the agent assignment under 'Expression'. This all works fine if atleast one agent is found.
Though not normal, I need to handle scenario where no agent is found.
Currently my workflow is sending workitem to all users whenever no user is found which is not ideal.
I expected the workflow would stop saying no agents found, but curently the workflow doesnot stop at decision step.
Is there any possibility where we can hold the workflow at decision step when no agents is found.
Note: we have cleanup reports run by administrator to complete all the workflows with no agents.
Thanks in advance,