How do i auto populate the short description field of a change request through a Record producer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 11:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 12:35 PM
You can start here:
Good luck
- 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
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....