- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2016 12:16 AM
Hi
What are the diff ways in which Adhoc Approvers can be added in Servicenow.
TIA
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2016 01:36 AM
Here's a snippet from a workflow I used to add an optional Manual Approver stage just ahead of CAB approval.
The standard workflow activity Manual Approvals can be dragged on to any workflow. This ensures if there are any manual approvers, and their approval has been requested, that the workflow doesn't proceed until they have all approved. (Or perhaps only one of them needs to approve. That's an option you can set from inside the WF actvity block.)
I have also used a Run Script block ahead of Manual Approvals to give the process a little kick. Normally, a user has to right-click and choose the Request Approval UI Action for each manually added approver. The script looks for any approvals in state Not Requested, and changes the state to Requested, so it saves a few clicks. Also users expect when they hit the Request Approval button at the top, the approval emails are sent automatically. Script below.
var chgId = current.sys_id;
var gr = new GlideRecord('sysapproval_approver');
gr.addQuery('sysapproval', chgId);
gr.addQuery('state','not requested');
gr.query();
var i = 0;
while (gr.next())
{
gs.log("Requesting approval for manually added approvers: "+ i +
' ' + gr.approver.getDisplayValue());
gr.state = 'requested';
gr.update();
i++;
}
As Harish points out above, you could also bring the Manual Approval activity inside an Approval Coordinator block. It will work just the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2018 09:33 AM
Hi Richard,
This info was very helpful, thank you for sharing. But I hit one hurdle when applying this solution, although the issue is not directly related to the info you provide above. Rather it is related to the ability to add ad-hoc users.
I enabled the Edit button on the Approvers Related List, and this allows me to add approvers just fine. However, lets say one of those ad-hoc approvers rejects the CHG, and later, the CHG is sent back for approval. I find that you can no longer add that same approver a second time because of the nature of the slush bucket. It sees that the user is already on the related list, (meaning it is already on the right side of the slush bucket), so you are unable to add that user a second time. Do you remember if you come across this, and if so, how you resolved it?
Thanks again,
.ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2024 02:14 AM
Is the Same way, is it doable in Flow deisgner?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 12:08 AM
Check this one out:
Flow Designer Approvals Overview - Workflow Automa... - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2016 01:53 AM
Hi All
well the requirement is to add Approvers Manually, let say in Assess Stage the the implementation team felt that they needs to add approvers(User/Group) on the fly , the group/user name may change even the stage may change.
Regards
TIA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2018 12:44 PM
hello did you ever figure this out I would appropriate it if you can share