- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 03:16 AM - edited 04-26-2024 12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 03:47 AM
Hi @Asmita7 ,
In this case, the trigger should be when the Disposal order is getting closed.
To update the worknotes from disposal order to catalogue task and RITM,
After the trigger use the core action "update record" using the disposal order trigger record from the flow designer
You can script the worknotes or copy it from Data available in the flow.
Please let me know, if you need more information.
Thank you.
Regards,
Karunakaran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 04:01 AM
Hi @Asmita7 ,
Try :
var RITM1 = new GlideRecord('u_disposal');
RITM1.addQuery('u_order', current.number);
RITM1.query();
var workNote = '';
if (RITM1.next()) {
workNote = 'The Order Disposal location is ' + RITM1.ship_to.location.getDisplayValue();
}
return workNote;
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 03:47 AM
Hi @Asmita7 ,
In this case, the trigger should be when the Disposal order is getting closed.
To update the worknotes from disposal order to catalogue task and RITM,
After the trigger use the core action "update record" using the disposal order trigger record from the flow designer
You can script the worknotes or copy it from Data available in the flow.
Please let me know, if you need more information.
Thank you.
Regards,
Karunakaran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-25-2024 04:01 AM
Hi @Asmita7 ,
Try :
var RITM1 = new GlideRecord('u_disposal');
RITM1.addQuery('u_order', current.number);
RITM1.query();
var workNote = '';
if (RITM1.next()) {
workNote = 'The Order Disposal location is ' + RITM1.ship_to.location.getDisplayValue();
}
return workNote;
☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....