- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 05:04 AM - edited 11-10-2022 05:06 AM
Hello All,
I have a requirement when change is created from incident it should be shown under "change request" related list. Both the incident and change request will have the same parent, which is case.
Any idea how to do this?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022 05:36 AM
As you have additional condition, I would suggest you to create new Related list for it.
1. Navigate to System Definition > Relationship.
2. Create new record with Name = Change Request, Applies to Table = Incident, Queries from table = Change Request.
3. Query with script as below:
current.addQuery('sys_id', parent.rfc);
current.addQuery('parent',parent.parent);
current.addEncodedQuery("parent.numberSTARTSWITHCS");
4. From Incident form, configure this new Related List and add on the form.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2025 06:57 AM
Hi Anubhav,
Hope's all good.
I have seen your solution for Alex query. I have the same requirement, but they don't want us to create new Related List with name Change Request.
Already OOB available Related List with the name Change Requests on Incident Form.
When I create a change from the context menu, and the change is reflected in the Related records tab.
how to achieve this.
Regards,
Abhilasha G T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2025 11:10 PM
Right, I Have same requirement