People who code: we want your input. Take the Survey

Questions tagged [approval]

Approval Process is an automated process and an organization can use to approve records in Salesforce.

Filter by
Sorted by
Tagged with
7
votes
1answer
8k views

SOQL to pull out Approval History records

Can someone let me know of SOQL that can pull out all these fields from Approval History ? Action, Date, Status, Assigned To, Actual Approver, Comments, Overall Status So far I found out that we can ...
1
vote
2answers
459 views

How do you create an approval process programatically

This guide instructs how to configure an approval process through Salesforce.. https://help.salesforce.com/articleView?id=approvals_creating_approval_processes.htm&type=5 however I don't see ...
3
votes
1answer
2k views

How to reassign an approval request in apex

I want to reassign a queue assigned to an approval request using apex. How can i achieve this, I have tried updating processInstanceWorkItem object but it was throwing insufficient access error
0
votes
2answers
811 views

Test Class coverage for trigger

I have the following trigger which gives a red flag in the development console on the addError line, how do i remove this with the unittest? Trigger trigger NoteOnContentDocument on ContentDocument (...
-2
votes
1answer
650 views

Record Lock release

I have created the record in order object in salesforce, once i changed the status as Submitted, the record gets locked in salesforce using Approval Process I want to release the record in the ...