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 is hiding when submitting from Order guide

SS1510
Tera Contributor

I have an order guide, in which 2 catalog item are there.  one is pc purchase and other is new hire. When i submit from order guide then a variable set in pc purchase should be visible on ritm . When i submit pc purchase standalone then that variable set should not visible on ritm. It is working fine in platform view . But on service portal in ritm the variable set is not hiding.

For that i have applied client script on ritm

SS1510_0-1763715706764.png

Does anyone has any idea?

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@SS1510 

are you getting that value of order_guide variable?

what value you got on alert?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 
we get the sys_id of order guide. if order guide is present. this script is working on backend, but in portal it is not working