gliderecord for record created second before
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 06:46 AM
I have this BR which I'm running whenever record in "approved", so that other group approvals get "no longer required".
But , just after 1st group approval , it triggers another approval and they are getting "no longer required" too just after creation.
Can we modify this code such that it should query only those approval record which are genereted 5 sec before current time?
As I have seen approval record are generated within 1 or 2 secs after 1st approval record is approved.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 11:31 PM
we are adding multiple approval from BR . If one approves, other are not moving to "not longer required". Hence, written BR to manually change other approvals. But we have second level approval just after 1st level approval, which is triggerring to group.
Hence, need to change the query to get those approval record which were created earlier say (10 seconds)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 11:32 PM
Not an ideal way to create approvals.
Why not have flow or workflow for this and this capability will be OOB?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 11:35 PM
this is existing BR, it was working earlier. But don't know what happened, after some patch upgrade it is not working now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2025 11:27 PM
NO group approval is done. Just triggering approval from BR