Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2024 10:47 AM
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2024 10:59 AM - edited ‎09-10-2024 11:01 AM
You would want to do an After business rule on your sc_task table with a condition of State changes to Closed, then run this script.
var ritmGr = new GlideRecord('sc_req_item');
if(ritmGr.get(current.getValue('request_item')) {
ritmGr.short_description = <your value here>
ritmGr.update()
}
If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2024 10:59 AM - edited ‎09-10-2024 11:01 AM
You would want to do an After business rule on your sc_task table with a condition of State changes to Closed, then run this script.
var ritmGr = new GlideRecord('sc_req_item');
if(ritmGr.get(current.getValue('request_item')) {
ritmGr.short_description = <your value here>
ritmGr.update()
}
If this information helped resolve your issue, please remember to mark response correct and thumbs up to help future community members on this information, thanks!