How to access variables in form by client script

TAKEUCHI
Tera Contributor

How to access variables in form by client script?

スクリーンショット 2024-07-23 225946.png

2 REPLIES 2

Sandeep Rajput
Tera Patron
Tera Patron

@TAKEUCHI There is no direct way to access the variable data from the client script. However, you can fetch the variable data using a GlideAjax call from the server side. You can refer to this article https://www.servicenow.com/community/developer-articles/client-callable-script-include-to-get-ritm-v... to check how this can be achieved on the server side.

 

SAI VENKATESH
Tera Sage
Tera Sage

Hi @TAKEUCHI 

 

There is a check box called "Applies on Requested Items"

 

ca108.PNG

Thanks and regards

Sai Venkatesh