We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

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