- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2025 11:29 PM
Hello All,
I'm trying to add 2 variables name and there values on New custom related list on the incident form.
Can you please suggest something to achieve this.
I created the Relationship as below:
Applies to table: incident
Queries from table: ar_sc_item_option_mtom
And in Query i added:
I'm not sure how can i add only current catalog item's variables here and only show too variable on related list.
If you have any idea in this please let me know
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2025 11:32 PM
I believe you want to see variables associated with the current incident when incident got submitted from record producer
update as this
Queries from: question_answer
Script:
current.addQuery('sys_id', parent.table_sys_id);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2025 11:46 PM
Hi @Divya Dahate ,
Please add script like below
current.addQuery('field_backend_name', parent.sys_id);
Please mark my answer correct and helpful if this works for you
Thanks and Regards
Sarthak