- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 10:24 AM
Hello,
Im looking to get some Field values passed from an RITM to an INC,
We currently have a Shipping number field on our SC_REQ_ITEM table named u_tracking_send. How can I pass this value into the worknotes of the INC that was used to create the REQ and RITM. The REQ is the parent of the RITM and the INC is the parent of the REQ. I would like to pass the following as a work note to the INC. "{cat_item} has shipped. Tracking #: {u_tracking_send}
How would I accomplish this?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 10:29 AM
You can have an after update BR on the RITM table and condition can be set as :
Tracking send is not empty AND Tracking send changes
In the script you can write something as:
var incGR = new GlideRecord("incident");
if(incGR.get(current.request.parent)){
incGR.work_notes = current.cat_item.name + "has shipped. Tracking #:" +current.getValue("u_tracking_send");
incGR.update();
}
Aman Kumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 10:29 AM
You can have an after update BR on the RITM table and condition can be set as :
Tracking send is not empty AND Tracking send changes
In the script you can write something as:
var incGR = new GlideRecord("incident");
if(incGR.get(current.request.parent)){
incGR.work_notes = current.cat_item.name + "has shipped. Tracking #:" +current.getValue("u_tracking_send");
incGR.update();
}
Aman Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:03 AM
Thank you so much! That worked!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 11:12 AM
Awesome, glad to be of help!
Aman Kumar