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 set for RP

Rosy14
Kilo Sage

how to map variable set variables to table field in RP? I tried hardcoded... not working. Is is really possible to do?

 

current.u_first_name = producer.first_name;
5 REPLIES 5

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

You can use it like below

current.u_first_name = producer.<variableSet_name>.<varibale_name>

 

-Anurag

Sarika S Nair1
Kilo Sage

Hi @Rosy14 

Use  current.u_first_name = producer.<variablesetname>.<variablename> ; for getting variable set variable in script 

Hope it helps

Dr Atul G- LNG
Tera Patron
Tera Patron

Try like

LearnNGrowAtul_0-1707401651490.png

 

 

@Rosy14 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Rosy14
Kilo Sage

getting error 

Method returned an object of type which is not allowed in scope sn_cd