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.

variable not showing on RITM

yoli1
Tera Contributor

Hi all, I created an onchange client script to populate and set value on a reference field in the item view on esc it works, but on the backend on RITM variables, it doesn't work

4 REPLIES 4

Community Alums
Not applicable

Hi @yoli1 ,

O your onchange client script, can you check if UI type is " All".

 

Hi @Community Alums 

 

it's not showing on the backend 

 

but on frontend working :

 

 

@yoli1 

 

check this option "applies on requested item "

 

RITM.PNG

Hi yoli1,

Try this way

1. Using Script Include and Client Script

MicrosoftTeams-image (12).pngMicrosoftTeams-image (11).pngOMicrosoftTeams-image (10).png

OR

 

2. Using Only Client Script

Screenshot 2024-02-28 004032.png

 

Please mark this response as correct or helpful if it assisted you with your question.

Regards,

Mansi Pardeshi.