How to add Group Approval tab on a custom application record related list.

Puneet4418
Tera Contributor

Hi,

 

I am working on a custom application and I want to add Group Approval in the related list of the record. I tried to create a new relationship that "Applies to table" my custom table and "Queries from table" is the Group Approval(sysapproval_group).

Post applying this to my custom record, I am getting all RITM approval records under the group approval tabs.

 

Why all RITM approvals records are visible here and please help me to fix this.

5 REPLIES 5

PritamG
Mega Guru

all RITM approvals are visible because the default group approval (sysapproval_group) table includes approvals for all tables related to sysapproval.

modify the relationship query to filter only your custom table’s approvals:

go to the relationship definition you created.

modify the "Query with" condition to add:

Document (document_id) -> is -> Your_Custom_Table.sys_id

save and test again.