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.

how Create a Button on the Change Request

Ashwaq ALotaibi
Tera Contributor

HI All

please how I can  Create a Button on the Change Request form ‘Update Description’. On click of this button the Description should be updated to the  another text .?

 

1 ACCEPTED SOLUTION

RaghavSh
Mega Patron

1. Create a UI action on change request table with name "Update description".

2. Write below code in the script part:

current.description = "";  add the new description you want to replace.
current.update();
action.setRedirectURL(current);


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn

View solution in original post

1 REPLY 1

RaghavSh
Mega Patron

1. Create a UI action on change request table with name "Update description".

2. Write below code in the script part:

current.description = "";  add the new description you want to replace.
current.update();
action.setRedirectURL(current);


Please mark the answer correct/helpful accordingly.


Raghav
MVP 2023
LinkedIn