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.

populate field with value from record producer variable

Andre8
Giga Guru

I would like to populate a field on a form with the value of a record producer variable.

find_real_file.png

1 REPLY 1

Jaspal Singh
Mega Patron
Mega Patron

GlideRecord in client script is not an ideal option.

Suggestion is to use the script field of the record producer. 

Navigate to Service Catalog >> Catalog Definition >> Record producer

Search for the required record producer open the record & look for Script field

You can add 

current.abc=producer.xyz;// abc is field name on the form you want to set & xyz is variable name