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 pass variables in service catalog item to sn_sc.CartJS() in Scripted REST API?

Phalguna
Mega Contributor

Hi,

How to pass the variables of service catalog item to sn_sc.CartJS() .actually I am trying to call the sn_sc.CartJS() API in Scripted REST API.

I have to pass the four variables namely user,location,created by, action type, 

Regards,
Phalguna

 

10 REPLIES 10

Kavitha Mulka
Tera Contributor

Can we pass the dynamic value to sysparam_id instead of sys_id. i want to submit different catalog item based on condition