Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Copy variable editor data to description

si21
Tera Guru

Hi experts,

Can we update description field on case form with variable editor data when record is inserted?

si21_0-1718720728968.png

 

 

TIA

 

2 REPLIES 2

PPPanchal
Mega Sage

Hello @si21 ,

Add the following code in the script section of Record Producer.

 

new sn_hr_le.hr_ActivityUtils().createCaseFromProducer(current, producer, cat_item.sys_id);

 

 

Unique45_0-1718721634314.png

 

After adding this code to the script section of the Record Producer, all variables and their corresponding values were mapped into the description field.

 
Please mark correct/helpful if this helps you!
Thanks,
Pratiksha
ServiceNow Rising Start 2025

Not applicable