- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2025 04:08 PM
I am trying to show approvers for the REQ and RITM on Task level so the resolvers don't have to go to the REQ or RITM to view the approvers.
I tried to create Relationship in system definition but it didn't work. still showing no approvers on Task "Approvers" tab
Relationship :
Applies to Table: Catalog Task [sc_task]
Queries from table: Approval[sysapproval_approver]
with Query:
Looking for some help and guidance on this.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 08:44 PM
Hi @SN2024 ,
create a relationship
configure related list on sc task and add the relationship to it
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 09:25 PM
you added wrong Related list in your form.
The script is correct
Please configure Related list and add this related list on form -> search with name Request Approvers
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
04-28-2025 07:43 PM
Since "document_id" is sys_id of the record stored at Approval[sysapproval_approver] itself, use the "Approval For" field for queries instead.
current.addQuery("sysapproval", parent.request_item)
Thannks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2025 08:17 PM
try this -> the document_id field is wrong field, the correct field is sysapproval
var enc = "sysapproval=" + parent.request_item;
current.addEncodedQuery(enc);
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
04-29-2025 08:13 PM
Thank you for your response.
I have tried this in the developer instance but no luck. It doesn't show approvers list on task level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2025 08:44 PM
Hi @SN2024 ,
create a relationship
configure related list on sc task and add the relationship to it
Please mark my answer as helpful/correct if it resolves your query.
Regards,
Chaitanya