- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2016 07:50 AM
I have to copy short description and some other variables of a record producer, into the short description of the incident created by the record producer and the variables values should be displayed in the activity filter of new incident.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 04:59 AM
In the case where you want to copy a variable to a field with a different name (but same data type), you can use the script field on the record producer.
current.field_name = producer.variable_name;
This will copy the value of variable_name to the target records field_name. Section 2.1 here...
http://wiki.servicenow.com/index.php?title=Record_Producer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2016 07:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 02:25 AM
Hi chuck,
Thanks for the info, but my requirement was to display those exact variables on the incident form, mapping works fine for short description but for other i couldn't apply it. I found out about 'Incident editor variables' and it was helpful for completing the requirement.
Thank you,
Jayanth

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 04:59 AM
In the case where you want to copy a variable to a field with a different name (but same data type), you can use the script field on the record producer.
current.field_name = producer.variable_name;
This will copy the value of variable_name to the target records field_name. Section 2.1 here...
http://wiki.servicenow.com/index.php?title=Record_Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2016 05:15 AM
Yes using it already.
Thanks,
jayanth