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.

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

psyherin
Kilo Sage

Hi @MR1 ,

You can copy the variables into work notes if you are using Flow. Give that a go!

MR1
Tera Contributor

Could you please elaborate, what do you mean by using Flow?

Flow means flow designer, you just have to drag and drop data pills 

Mike_R
Kilo Patron
Kilo Patron

try this solution

https://www.servicenow.com/community/developer-forum/how-can-i-get-the-values-of-the-record-producer-variables/m-p/1452358/page/2