- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 03:03 AM
Hi All,
i have created a related list in change request table called agenda which is table cab_agenda_item.
I have created this customer related list using relationships table where in applies to table is change_request and queries table is cab_agenda_item .
I need the relavant agenda item in the change record but currently it is showing all agenda item .
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 03:26 AM
Hi Sunita,
Please add in the script
current.addQuery('field',parent.sys_id);
Try this.
thanks
sid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 03:14 AM - edited 09-04-2024 03:14 AM
Hi @ServiceNow10sun,
Write Query on Encoded Query in the Query with script field in the relationship record depending on the conditions you want to set for the records to be filtered in the related list.
Use this video as reference: https://www.youtube.com/watch?v=TPalQqFxlsA
If you found my response helpful, please mark it as Solution and Helpful.
Thanks and Regards,
Ehab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 03:26 AM
Hi Sunita,
Please add in the script
current.addQuery('field',parent.sys_id);
Try this.
thanks
sid
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2024 03:29 AM
Thank you it worked