Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Auto populate close note when cancel change button is selected

Malo
Tera Contributor

hi all

 

When I select the UI form button fore cancel change, a reason field displays where I can enter reason for cancelling the change, I did like to auto populate this reason to  the close note so I dont have to re-enter in upon canceling 

 

Thanks in advance 

1 ACCEPTED SOLUTION

Hi @Malo 

Please replace with the reason with the work_notes and test the code. It will work for sure.

 

Thanks,
Murthy

View solution in original post

13 REPLIES 13

Malo
Tera Contributor

Hello again

 

I attempted the BR but did not work

Malo_0-1695735957827.pngMalo_1-1695735993835.png

 

Hi @Malo 

Please replace with the reason with the work_notes and test the code. It will work for sure.

 

Thanks,
Murthy

Malo
Tera Contributor

Actually worked, I missed a line before which caused it not to work

 

You are a genus

 

Thanks a bunch 

Happy to help @Malo 

Thanks,
Murthy