- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 05:07 AM
Hi Team,
Let's say A B C are three approvers for a particular requested item now for example A rejected his approval request,
IN B and C approval records rejection note needs to be populated in comments as "The Approval request has been rejected by A".
Let's say if A approvers his approval request then the same approval note needs to be populate in comments as "The approval request has been approved by A no action required".
Please respond how to achieve this requirement awaiting for your reply.Thank you in advance.
Solved! Go to Solution.
- Labels:
-
Team Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 10:45 PM
Hi,
Instead of adding comments , you can define in activity :
Wait for | A choice between different approval logics to determine which individual approvals result in approval of the activity's approval. Options are:
|
When anyone rejects |
A choice between different approval logics to determine which individual rejections result in rejection of the activity's approval. Options are:
Note: Note that if Wait for is set to Anyone to approvethen a single approval will cause the activity to complete with a result of approved even if one or more users reject.
|
However, if you do not want to follow above, then create a business rule (before on update) on approval table with below condition and script
condition = state changes to reject
var gr1 = new GlideRecord('sysapproval_approver');
gr1.addQuery('document_id', current.document_id);
gr1.addQuery('sys_id', '!=', current.sys_id);
gr1.query();
while(gr1.next()){
gr1.comments = "Approval Rejected by "+current.;
gr1.update();
Same can be done for approval approved

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 10:45 PM
Hi,
Instead of adding comments , you can define in activity :
Wait for | A choice between different approval logics to determine which individual approvals result in approval of the activity's approval. Options are:
|
When anyone rejects |
A choice between different approval logics to determine which individual rejections result in rejection of the activity's approval. Options are:
Note: Note that if Wait for is set to Anyone to approvethen a single approval will cause the activity to complete with a result of approved even if one or more users reject.
|
However, if you do not want to follow above, then create a business rule (before on update) on approval table with below condition and script
condition = state changes to reject
var gr1 = new GlideRecord('sysapproval_approver');
gr1.addQuery('document_id', current.document_id);
gr1.addQuery('sys_id', '!=', current.sys_id);
gr1.query();
while(gr1.next()){
gr1.comments = "Approval Rejected by "+current.;
gr1.update();
Same can be done for approval approved
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2020 01:40 PM
Hello Rahul,
If I selected the "Wait for other responses before deciding" in rejection flow, it is still rejecting the overall flow, and my request gets rejected. for 10 approvals if 3 rejects, the condition waits for all the approvals, but then rejects the request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2020 01:47 PM
And once a user approves/rejects he cannot change his decision. an error occurs saying "Security does not allow the execution of that action against the specified record"
how to deal with this, please help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 10:49 PM
Hi Pandu,
Use the Inbound email actions in your case.
If A rejects the approval it should trigger an email to B,C approvers. If they reply back to the email, then worknotes will get updated.
Thank you.