Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9129

Re: Need to display Error message when there are no approvers found in leave workflow

$
0
0

It is not mandatory to use RULE to determine the agents. Agents can be determined using class/expressions as well. At the moment, my problem is not about how to fetch the agents. I am referring to display an error message or warning message when there are no more agents who can approve the work item. Let me elaborate this. At the moment, workflow works fine when the agents are determined. Consider below example.

 

A raises a request and it goes to B. B approves it. Workflow ends here. No issue in this scenario.
Now, A raises a request, it should go to B but B is not available so it goes approver C who is B's approver as per hierarchy. Now, C is also not available and C is last available agent/approver. Hierarchy ends here.In this scenario, I want to display a message like say "Approver does not exist. Consult your HR". In workflow logs, approvers are not present as expected which is correct. I am expecting that after displaying this error message, user should understand that this may not be a valid request.

 

I hope, I have written clearly here. I am not facing issue in agent determination here.

 

Experts, kindly suggest your inputs. Thank you.

 

Best regards.

Abhijit.


Viewing all articles
Browse latest Browse all 9129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>