How to remove a duplicate approval (or set to Cancelled) BUT ensure it's the group approval that is removed over a user approval
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2018 08:11 AM
Hi guys, I've seen similar posts but not quite the same as what I'm after. The closest one had no solution and a lot of posts reference SN Guru page https://www.servicenowguru.com/scripting/business-rules-scripting/prevent-redundant-approval-requests-servicenow/ but this is not what I am after... so let me please try and explain:
We use the selected Service record on the Change form to drive a lot of approval behaviour e.g. 'Service owner' (SO), 'Technical lead' (TL) are user fields which may be added as approvers to changes as are group fields like 'Impact assessors' and 'Minor assessment'.
Unsurprisingly it's feasible that the SO or TL may also belong to the approval groups which results in these individuals having two approval records created against their name (one being a group approval and one being a user one). What I am trying to establish is how can I make it so one of these 'duplicate' approval records gets removed or marked as 'Cancelled' etc. and just as important... that it is the group approval that is removed (or set to Cancelled). This is preferable as there will always be multiple people (approvers in the group) so we want the 'active' approval record to be the user one which is requiring that the SO and/or TL approves the change.
In terms of distinguishing between the two approval records I'm aware that the group approval record will always have a Approver.Group.Assignment group value (i.e. the name of the Approval group) where as the user approval record will always have this field as empty (null) - see screenshot below.
I'm not sure how well I've explained this but any help is much appreciated.
Many thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2018 08:31 AM
Have you tried using Approval Coordinator? If a single user is called as an approver twice by the same workflow, such as when a single user is both a product approver and an executive approver, any approvals for that user after the first are skipped.https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/workflow-activities/re...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2018 09:23 AM
Hi Michael, thanks for the reply.
There is indeed an approval co-ordinator in play in the workflow at the moment. Although I have actually now moved the SO/TL approval activity outside of this as I found that it was seemingly random which 'duplicate' approval got removed and I needed to ensure the SO or TL would always approve particular changes. If for example it removed the duplicate user (SO/TL) approval and someone else (/others) from the group approval group then approved, this opened up the possibility of the SO/TL not needing to approve!
Hope this makes sense and puts my original post in more context.
Unless - is there a way to determine which approval record gets removed (or skipped) as part of the approval co-ordinator activity?
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-18-2018 11:14 AM
After an approval, it removes any duplicates after that.So not easy to control.