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
Srinivas CSrinivas C 

Hello people please help me out

Hi, how to query Assigned To, Actual Approver from approval process and
if the status is pending need to send auto email to assigned user for remainding not approved,
after 24hrs after the remainder mail status still pending then that record should be auto approved and send email that record approved.

thanks,
srinivas
AnudeepAnudeep (Salesforce Developers) 
Hi Srinivas, 

You can Query ProcessInstance and get related details from child records. See SOQL to pull out Approval History records to learn more

Let me know if this helps, if it does, please mark this answer as best so that others facing the same issue will find this information useful. Thank you
ANUTEJANUTEJ (Salesforce Developers) 
Hi Srinivas,

>> https://help.salesforce.com/articleView?id=000313629&type=1&mode=1

>> https://help.salesforce.com/articleView?id=cpq_aa_reminder_emails.htm&type=5

>> https://trailblazer.salesforce.com/ideaView?id=08730000000JZq2

I was able to find the above links that you can try checking. One of them is an idea that might be related to your use case you can upvote it so that it may be considered in the future if it reaches the necessary threshold of votes.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.
 
Srinivas CSrinivas C
Hi ,
i tried working with workflows but i dont find the object called
"Approval ",
User-added image
it has no field called status"