Hi shivprakash, You can query for approval processes the user is currently assigned as approver. We have an object ProcessInstanceStep which represents one work item in an approval process.
Try this SOQL
select id , ActorId from ProcessInstanceStep where ActorId = 'your_userID'
You can get some insights with the below query:
SELECT Id, ProcessInstanceId, StepStatus, OriginalActorId, ActorId FROM ProcessInstanceStep
You can query for approval processes the user is currently assigned as approver.
We have an object ProcessInstanceStep which represents one work item in an approval process.
Try this SOQL Please refer below link which might help you in this.
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_processinstancestep.htm
Hope this helps you
Let me know if this helps you. Kindly mark it as solved so that it may help others in future.
Thanks and Regards