We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

If the request was approved, please prepopulate the resolution notes with these values

siva krishna ch
Tera Contributor
    • System: The value of what the requestor, requested>
    • User: The value of what the requestor, requested>
    • Valid From
    • Valid To
    • Approver: The person who approved the request
    • Centrify Location: 
1 REPLY 1

johnfeist
Mega Sage

Hi Siva,

 

Resolution notes is not an OOTB field on any level of the request hierarchy so if you have that as a field,it is something that your organization has added.  Based on context, I'm assuming that this needs to go on the item record.  From there it is simply a matter of setting up a BR on sysapproval_approver to pick up that the item(s) was approved.  From there, you have access to the data, I assume, on the sc_req_item record or the sysapproval_approver record.  You just need to do a <variable holding your item>.u_resolution_notes.setvalue(<build the string here or build it prior and use the variable name>);  In this case you will need to do an update() to the requested item record after the assignment.

Hope that helps.

:{)

Helpful and Correct tags are appreciated and help others to find information faster