Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How does delegation work?

DK41
Kilo Explorer

Hello ,

In Service -now we have an option to delegate a user.I would like to give an instance where i am facing an issue.

My Manager has a delegate so currently approval request will go to the manager as well as to the delegate . But the issue is if my managers employee status is L ( ie if he is on leave) the approval email has to go to the delegate but now if the employee status is L the user profile becomes inactive so no mail is getting triggered to the manager and neither to the delegate.

So i would like to know the code where the delegate receives a mail ( ex : approval email) if the manager is active

And also would like to know the suggestion to send a mail to delegate if the manager is inactive.

Hope i have made my self clear and hoping for a reply.

Thanks,
DK

8 REPLIES 8

Hi Daniel,


We are running into same scenario where an approver needs to delegate the approval request at that right moment which he hasn't pre-planned of being out-of-office (like out sick scenarios). Can you provide your script which will handle such scenarios?


Thanks for your help


It's been a while since I've looked back at this, so I will need to check to see if our solution will solve your issue of unplanned out-of-office scenarios.



I'll dig it up here in the next few days and take a look at it again.


Hi Daniel,



Could you please detail your scripts.



Regards,


Arnab


I have a quick query, can we have two or more delegates for a particular user ?