- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2024 05:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2024 03:51 AM
Hi @Vani14 ,
Could you please explain the use case in detail?
If you have created a record producer for an incident table then you can access the value of the variables using "producer.variable_name". Please see the below script that you can try in the script field of record producer:
Record producer script:
Please hit the like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.
Thanks & Regards
Jyoti Jadhav

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2024 05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2024 06:00 AM
If you mean that you have a record producer that creates an incident, then you can use the "script" field on the record producer to populate the created incident's description with variables on the record producer. This doc page explains how to get to the variable values and how to reference the created record: https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/service-catalog-manage...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-06-2024 01:18 PM
Hi, You can define the script in workflow using current.variables.variable_name and write server script like below.
var ga = new GlideRecord('incident');
ga.initialize();
ga.description = current.variables.variable_name;
ga.insert();
Suresh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-07-2024 03:51 AM
Hi @Vani14 ,
Could you please explain the use case in detail?
If you have created a record producer for an incident table then you can access the value of the variables using "producer.variable_name". Please see the below script that you can try in the script field of record producer:
Record producer script:
Please hit the like button if my suggestion has helped you in any way.
Please mark correct if my response has solved your query.
Thanks & Regards
Jyoti Jadhav