Copy the Variable and it's values into the Worknotes of an Incident- Record Producer

MR1
Tera Contributor

I created a record producer, and that's referring to the Incident table. I was able to set the category, subcategory, and assignment group of an incident. However, I need help to copy the variables and their values into the worknotes of an incident. The record producer has quite a large number of variables.

 

Thanks

1 ACCEPTED SOLUTION

Try the attached code. (sorry I keep getting an error message when I try to post the code directly in the reply.

View solution in original post

6 REPLIES 6

MR1
Tera Contributor

Thanks Mike,

It worked partially and copied all the variables including empty.

Reference variables were showing up the sys_id. We would like to copy Non-empty variables and Display value for Reference variables

Try the attached code. (sorry I keep getting an error message when I try to post the code directly in the reply.