How to set other approver state to "No Longer Required" if one Approver is approved the request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2020 02:24 AM
Through my app I am approving the Request approvals by running a SNOW REST script.
I am changing the approve state to "approved" by updating the table sysapproval_approver "state" filed.
var gr = new GlideRecord("sysapproval_approver");
gr.state = action;
But at the same time i need to set all other approver status to "No Longer Required" through my REST script.
Can anyone please help me on this issue.
thanks in advance
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2020 12:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2020 03:16 AM
Can anyone changed the approval record "status" change through script.
Please look my scenario mentioned above, provide the input.
thanks