Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

When Approval is Rejecting, Unable to copy Rejection notes onto RITM for customer visibility

Bsnguyen
Tera Contributor

Hello Service now Community!

 

I am currently working on approvals for a form in the service portal. I need to make it so that any rejection comments are visible to the requester. I figured I can do this by copying the rejection comments onto the RITM, however I am not successful. The method that has worked the most for me is creating a business rule in which the rejection comments copy onto the REQ close notes. Then I have another business rule where the close notes are suppose to copy in the RITM addition comments (customer visible) however that is not working. 

 

Below I will show what I currently have:

 

Business rule for when Rejection comments copies to REQ Close Notes:

Bsnguyen_0-1765840318401.pngBsnguyen_1-1765840343697.png

Business rule for when REQ Close Notes copies to RITM additional comments:

Bsnguyen_2-1765840407732.png

Bsnguyen_3-1765840426392.png

 

I am still learning about Service Now so any help is appreciated. Thank you so much for your time.

 

1 ACCEPTED SOLUTION

Deepak Shaerma
Mega Sage

hi @Bsnguyen 

why you are using a double jump method from Approval → REQ → RITM , instead you can create a single BR on the sysapproval tablee , 

for current method, i think first business rule is correct, just update the second business rule.

(function executeRule(current, previous /*null when async*/) {

    var gr = new GlideRecord('sc_req_item');
    gr.addQuery('request', current.sys_id);
    gr.query();
    while (gr.next()) {
        gr.comments = "Request Rejected: " + current.close_notes; 
        gr.update();
    }

})(current, previous);


Happy to help! If this resolved your issue, kindly mark it as the correct answer   and Helpful 👍 and close the thread 🔒 so others can benefit too.
Warm Regards,
Deepak Sharma
Community Rising Star 2025

View solution in original post

6 REPLIES 6

Deepak Shaerma
Mega Sage

hi @Bsnguyen 

why you are using a double jump method from Approval → REQ → RITM , instead you can create a single BR on the sysapproval tablee , 

for current method, i think first business rule is correct, just update the second business rule.

(function executeRule(current, previous /*null when async*/) {

    var gr = new GlideRecord('sc_req_item');
    gr.addQuery('request', current.sys_id);
    gr.query();
    while (gr.next()) {
        gr.comments = "Request Rejected: " + current.close_notes; 
        gr.update();
    }

})(current, previous);


Happy to help! If this resolved your issue, kindly mark it as the correct answer   and Helpful 👍 and close the thread 🔒 so others can benefit too.
Warm Regards,
Deepak Sharma
Community Rising Star 2025

This worked! I know the double jump is weird but I have tried the solutions posted before. I do belive it might be due to an ACL we have set but I do not have the knowledge on how to edit those. As I continue I plan on learning! Thank you again for your help!