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.

Set Value in RITM based on variable change by catalog client script

chaitanyakumar
Tera Expert

Hi Guys,

I am trying to update the worknotes in RITM record when few of the variables on RITM record are changed. Since i have already have catalog client script on the variables and i would like to take advantage of that. So i thought i can do by script include and call the script include in catalog client script but i couldn't able to figure out the way to get the RITM record based on variables in script include. I don't want to run the business rules because i only want to run the script when variables changes so i thought catalog client script is the best option.

Can someone help me with this.

Thanks,

Chaitanya

5 REPLIES 5

dvp
Mega Sage

you can pass RITM number which is only available in RITM by using

g_form.getValue('number')