4 respostas
Yes, you can do something like this:SELECT TargetObjectId, SubmittedById FROM ProcessInstance WHERE TargetObjectId = '<some SFDC record ID>'The TargetObjectId is the record ID that is being submitted for approval. The SubmittedById should be the ID of the User that submitted the approval request.