How to send message to administrator when no agent found
Here is my problem,
We had found an issue in production environment where shopping cart approval workitem is sent to requestor. This is inconsistent and is not happening in our test environment and couldn't find the cause for this.
Now we are in process of providing the alternate fix for this. I had set the excluded agents for approval task as the cart creator. Now the approval workitem is not sent to requestor/creator. But we are expecting a message sent to workflow administrator.
Actual Agents: X Y Z
Excluded Agents: X
Workflow Administrator: ADMIN
And the agent assignment is done through expression i.e &ACTUALAGENTS&. Can you please help me in getting this done?