How to automatically register values ​​in a variable set on the portal form screen

bonsai
Mega Sage

I've created a function that retrieves values ​​from a portal record form and copies them to a catalog item input form.

The values ​​are retrieved from the form screen and set in the input form using a catalog client script.

A variable set has been implemented in the input form.
Is it possible to set values ​​in the variable set using a catalog client script?

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@bonsai 

if your catalog client script is running on catalog item or applies on variable set, it should still set the variables

share your scripts and screenshots

💡 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

Tanushree Maiti
Mega Sage

Hi @bonsai ,

Could you please explain - what do you mean by "portal record form" ? 

 

If using catalog client script you can copy the value in input form variable, why not Variable set.. it is also part of catalog form input .. It should work.

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: