- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2020 12:56 AM
Hi Team,
I have written one "Approval Group" activity in Service Now to trigger the approval group "ISRC" through advanced script which is working fine.
The problem is now after the approval group is triggered and approved, the Approval User field remains blank in Group Approval Related List in Service Now. I want the user approved to be populated under the Approval User field for the ISRC group. Please help with your advise. The screenshot is given below.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2020 05:52 AM
Something like this seems to do the trick:
click advanced and add a script like this:
(function executeRule(current, previous /*null when async*/) {
var ga = new GlideRecord('sysapproval_group');
ga.get(current.group);
ga.approval_user = current.approver;
ga.update();
})(current, previous);
Hope this helps!
If this was helpful or correct, please be kind and click appropriately!
Michael Jones - Proud member of the CloudPires Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2020 05:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2020 05:52 AM
Something like this seems to do the trick:
click advanced and add a script like this:
(function executeRule(current, previous /*null when async*/) {
var ga = new GlideRecord('sysapproval_group');
ga.get(current.group);
ga.approval_user = current.approver;
ga.update();
})(current, previous);
Hope this helps!
If this was helpful or correct, please be kind and click appropriately!
Michael Jones - Proud member of the CloudPires Team!
Michael D. Jones
Proud member of the GlideFast Consulting Team!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2020 06:03 AM
That's cool. It is working. Thanks. I was writing the same business rules but in some wrong table. I realized sysapproval_group is the correct group. Thanks a lot.