Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Copy variable editor data to description

Not applicable

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 @Community Alums ,

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