- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 12:41 PM - edited 11-15-2024 12:42 PM
Hi @Community Alums ,
You can easily write the below script-
Try adding the below in the script section of the record producer
if (current.table_name == 'change_request') {
current.short_description = producer.variable_name; //variable_name is the field on the record producer form
// remaining code
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 10:00 PM - edited 11-16-2024 12:48 AM
Hi @Community Alums ,
In record producer do the variable mapping to short description.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2024 01:32 AM
Hi @Community Alums ,
In the record producer you would find a scrip field were you need to make a entry like below:
current.short_description = producer.your_variable_name; //here replace the 'your_variable_name' with actual variable name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 08:23 AM
To be more specific. The two variables in question are coming from the Order Management Table. The account number and Account contact. Should this go into the Script section of the Record producer or through Workflow, or does it even make a difference?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 07:21 AM
Hi @Community Alums ,
The table wont matter, you can go with the script section of the record producer,