function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Praveen Kumar JhaPraveen Kumar Jha 

highlight status pending from approver1-very very urgent

Is there a way to highlight when a case has multiple approvers and it is pending on  Approver 1
KaranrajKaranraj
You can query the "ProcessInstance' object to get the approval details and based on the query result you can highlight the case.
Check the below query, pass the id of the case record in TargetObjectId to get the approval status, If the status is Started then it will be waiting for the Approver1
SELECT Status,TargetObjectId FROM ProcessInstance where TargetObjectId = : IdofRecord