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 to access form variables from variable set's client script?

Nishant19
Tera Contributor

I have a use case wherein I need to access form variable from inside variable set's client script.

Variable on form - "Requested For" [u_requested_for] : Reference (sys_user)

Variable Set (Multi Row)- "Student Details" [u_student_details]

     Variables inside Student Details -  First Name, Last Name, Class, Roll Number, City, School

Use Case : I want to to set First Name & Last Name on click of "Add" button of MRVS based on the user profile selected in the variable "Requested For" on the form.

 

I have searched everywhere on the internet and couldn't find any solution for this.

1 REPLY 1