How to get RITM number in Change Related List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2020 12:44 AM
Hi,
We want to create Change Request from RITM, which is possible by activating "create change " UI action. However ,while creating Change request from RITM, change number is showing in RITM, but not in Change request.
Kindly advise if we can get RITM number in Change request also.
Regards,
b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2020 09:36 AM
Hope you are doing good.
Let me know if I have answered your question.
If so, please mark appropriate answer as correct & helpful to close the thread.
If not, please let us know if you need some more assistance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2020 01:02 AM
Hope you are doing good.
Let me know if I have answered your question.
If so, please mark appropriate answer as correct & helpful to close the thread.
If not, please let us know if you need some more assistance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2020 03:06 AM
Hi,
1. create a reference field change_request in the table sc_req_item.
2. Then create a BR on change request and add this code.
(function executeRule(current, previous /*null when async*/) {
// Add your code here
var gr = new GlideRecord("sc_req_item");
gr.addQuery("sys_id",current.parent);
gr.query();
if(gr.next()) {
gr.parent=current.sys_id;
gr.u_change_request=current.sys_id;
gr.update();
}
})(current, previous);
Mark the comment as a correct answer and helpful if this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2020 04:19 AM
Hi Bijender,
You can create a many to many relationship between Change and Task.
Please refer to the link below
https://www.servicenowguru.com/system-definition/relationships/defined-related-lists/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2025 02:10 AM
HI @bijender1 Were you able to solve this ? I'm facing the same issue.