Quantcast
Channel: Blog - ServiceNow Elite
Viewing all articles
Browse latest Browse all 191

Resend Approval Email Button

$
0
0

Add a button to resend approvals to an user or list of users.

This should be used with caution so that you don't annoy users with too many approval emails. If users overuse this functionality. you may want to add more restrictions.

Name: Resend Approval Email
Table: Approval [sysapproval_approver]
Show insert: true
Show update: true
Form Button: true
List Choice: true
Condition: current.state == 'requested' && gs.hasRole("itil") && current.approver != getMyApprovals()
Script:
gs.eventQueue("approval.inserted", current, gs.getUserID(), gs.getUserName());
gs.addInfoMessage("Approval email resent.");
action.setRedirectURL(current);

Viewing all articles
Browse latest Browse all 191

Trending Articles