Reply
Regular Contributor
vijaymind
Posts: 94
0
Accepted Solution

How can we get Approval Process getWorkitemId if we have the record Id

How can we get Approval Process getWorkitemId if we have the record Id ?

VIJAY
Regular Contributor
Scott_VS
Posts: 92
0

Re: How can we get Approval Process getWorkitemId if we have the record Id

SELECT (SELECT Id FROM WorkItems) FROM ProcessInstance WHERE TargetObjectId =: YOUR_RECORD_ID

 

------------------
Certified Salesforce Developer. Read my coding tips and tricks on my blog.
If this post has solved your problem, please mark it as the solution.
Regular Contributor
vijaymind
Posts: 94
0

Re: How can we get Approval Process getWorkitemId if we have the record Id

Thank you.

VIJAY