delegation - approval of work flows

Demo24
Tera Expert

Hi all,

This is a follow up question for this:

Changes in workflow regarding approvals - Developer Community - Question - ServiceNow Community

so the requirement was when an approval user is on leave , the subordinate should be able to approve. we were changing the workflow by adding or removing user whenever client requested but now they wanted to automate it or they wanted to do this by themselves instead of depending on us . This has been solved using delegate users as @Muhammad suggested.

But there is another requirement where they have to change users who approve the ticket , it is not the case of delegation. say person a and person b works on approval of ticket, earlier use case was person a went on leave and person c will approve as a delegate on person a's behalf. now the requirement is when person a is not longer part of team , they want this person c to take the place  of person a completely.

Here they come to us and we change the flow and move  the update set, instead they want to change this by themselves. How to achieve this. note: Providing admin role to them is not recommended 

2 REPLIES 2

Prasad Pagar
Mega Sage

HI @Demo Snowuser 

Interesting use case. It is not recommeded to have dynamic approval like this as your workflow/flow already triggered with original approver name but if you still want to do it then Try with UI action(Assign to me) on approval or UI action/UI Page combination which can ask new approver name and replace approver filed with that.

All above is when you really dont want to enable Approver field on form. 

Thank you
Prasad

Hi @Prasad Pagar ,

Thanks for the reply! 

I am very new to SNow so I was not able to completely understand how to make "Assign to me" ui action work.  We configured in such a way that system sends an email to approver user when conditions are met(status is "pending from approver") and the approver who is added in "approval users" on flow can navigate to respective ticket and in the related lists he can find the ticket to approve or reject it. with this assign to me ui action, the mail will have already sent to previous approver? How does this exactly work. Could you please let me know the code or approach to this if possible?

How do I implement something with which they can directly change flow ie, remove current approver and add another approver with out giving them admin access.