An approval process is configured on an object to specify all of the steps, users, actions, and relationships among them involved in approving or rejecting a record of that object. Approval processes can become very complex and tools such as the Process Visualizer can be used to aide in ...
3
votes
2answers
23 views
Deleting approval process steps which is activated once
I have one approval process. i have activated it once and deactivated it again. now i want to delete some steps from approval process, but it is not showing any option to delete, but before i have ...
3
votes
1answer
14 views
Is there any way to have queue members reply to the email to approve an approval request?
I would like all members of a queue to be able to approve a request via replying to the email notification - is this possible? Am I missing something?
Thanks
0
votes
1answer
43 views
Error when automatically submitting an approval process using code in APEX class - NO_APPLICABLE_PROCESS, No applicable approval process found
I have a trigger which automatically starts an approval process if an Opportunity has its stage updated to 'Closed Won'.
if (o.StageName=='Closed Won') {
Approval.ProcessSubmitRequest req = new ...
2
votes
1answer
49 views
Approval Process on Salesforce using RESTful API
I was reading this idea were it says:
Happy to announce that Metadata API and Change Sets for Approval
Processes will indeed be released in Summer '13.
I was trying:
...
1
vote
0answers
94 views
Submit Approval to multiple approvers REQUIRED_FIELD_MISSING, missing required field: []
Submitting an Opportunity into an approval when the Opportunity Stage is updated.
When setNextApproverIds is passed a List with a single ID in the list then the code works, when the list contains ...
3
votes
1answer
38 views
How do I make an approval process only be able to run once?
I have several approval processes running on an object. Depending on the condition, the process may have like 8 steps, OR it may just reach final status after one step (no one actually approves ...
2
votes
2answers
49 views
Case Approval - Time Limit, Then Send Email Reminder?
I am not finding any reference to this being a possibility (outside programming a Trigger, I assume).
Is it possible in SF to have an Approval process "time out" (they don't approve it disapprove it ...
0
votes
1answer
103 views
Approval Process with Attachment & Email Response
Background: We have a custom Opportunity Object with a related Content List (documents like Solution Plans pertaining to an opportunity is uploaded into the Content via the related list). Few of the ...
1
vote
1answer
34 views
Creating a multi-approver approval process
Does anyone know of a way of creating a multi-step approval process? I.e. When one approver approves it, case is sent to the next approver ( approver 2) then when approver 2 approves it, it goes to ...
2
votes
1answer
49 views
Related User Should Submit for Approval
I have a custom object Child__c in a master-detail relationship with Account. The account has a single owner but I want different users to create and submit Child__c objects for approval. SalesForce ...
1
vote
1answer
36 views
Owner of the Case should not be the Approver
I have a scenario where a Case owner who is part of the Approval Queue is able to approve the Case. I want to prevent that from Happening and i am having tough time to Validate that.
It seems we ...
2
votes
1answer
70 views
How to automatically approve after a period of time
I've created a custom object with an approval process. The client wants objects that await approval to approve themselves 24 hours (or actually 1 work day) after they are submitted for approval. What ...
7
votes
1answer
213 views
Apex approval process that requires unanimous approval from multiple approvers
Once every few months this requirement appears as part of a project. Here is some sample code:
trigger AfterUpdate on Contact (After update) {
for(Contact newContact: Trigger.new){
...
4
votes
3answers
101 views
Who else can reply to an approval request beside the designated approver?
For the standard Salesforce approval processes, who else can approve a request besides the designated approver?
1
vote
1answer
59 views
Can i remove Recall option in Approval process?
I want to remove Recall option provided on salesforce native page and want to use my own custom button for that in Approval process.
2
votes
1answer
47 views
Manually select approver
I have created an Approval Process. In the approval step creation, at step 3, the approver has to be selected but I am not getting the option to let the user manually select the approver. The only ...
3
votes
2answers
227 views
Programmatically Stopping Approval Process Email
I have a need to generate an approval request and then immediately approve it via Apex. This is being done purely for record keeping and to properly show that a user approved a record. For instance, ...
0
votes
1answer
114 views
Visualforce page in step in approval process
Is it possible to create a Visualforce page for the page where an approver actually approves or rejects an approval request? To clarify; I've created an order object and orders have to be approved. So ...
4
votes
1answer
114 views
Can Salesforce Platform License Users Approve via Email?
Looking for confirmation on whether users with the 'Salesforce Platform' license can approve via email.
In the past, I've worked with customers where this worked, but getting an error in one ...
2
votes
1answer
89 views
Approval Process: What status' indicate the record is Submitted for Approval
I am trying to detect whether a record is currently in an approval process.
This is similar to this question but a different approach. I want to use the status of the youngest ProcessInstance to ...
3
votes
1answer
121 views
How do I recall an sObject from an approval process using apex?
While the apex developer documentation provides sample code on submitting an sObject to an approval provess with apex there is no documentation on how to recall an item from the approval process.
Is ...
0
votes
2answers
46 views
Approval Emails sent from saleforce
Is there a way to get the log of all the Approval emails sent from Salesforce. I tried to get the log of all the emails sent out by requesting for email log, but for some reason feel like the data is ...
4
votes
2answers
304 views
Are triggers able to modify records locked by an approval process?
A lookup field in a custom object needs to be updated after the record is submitted for approval and locked.
Is the trigger able to achieve this, even if the record is locked?
0
votes
2answers
362 views
How to customize the error message thrown by approval process?
I have requirement where an user should not be able to submit a master record for approval until all the related child records are approved.
Submit for approval button on approval history related ...
1
vote
1answer
64 views
How can I give all users access to all records/objects without giving all users permission to approve an approval-process step not assigned to them?
I have always given users View All and Modify All permissions because it was crucial that every employee could see all data in our org. However, we have begun using Approval Processes as sort of ...
1
vote
3answers
262 views
Single Object Approval Processes run separately
I want to have a number of different approval processes run off Opportunities for things like discount approval, credit check and a compliance check. Is there a way I can set these up as separate ...
2
votes
1answer
377 views
Update approver's comment as field update
I have a unique requirement.
I have a field called Approver Comments on a custom object.
I have also created an approval process on the object.
Now when approver approves then I want to capture ...
3
votes
3answers
200 views
Prevent child records to be created when parent records is submitted for approval
I have a requirement that user can't add child records once the parent records is submitted for approval. In the approval process, parent record gets locked but I also want to prevent child records to ...
2
votes
1answer
144 views
Approval history on Customer Portal page
I want to show Approval History related list to customer portal user. How can I do that?
3
votes
2answers
168 views
Is there a viable workaround to allow reporting on the history of a child in a master-detail relationship?
I am already using a workaround to allow reporting on approval process steps (field updates to the record, track the history of the field), except that now I can't report on the field history that is ...
1
vote
2answers
307 views
Approval process email template limits one per action?
I'm looking for a way to have a unique template for each step on approval and rejection emails. But it appears that, only one template per action is allowed for all the steps.
just one approval ...
0
votes
1answer
125 views
Is it possible to prevent a user from 'Approving' a step in an approval process if a certain field is blank?
Basically, I want to have validation rules run when a step in an approval process is approved. I would like the rule to take into account which step triggered the rule, so that each step can have ...
1
vote
2answers
95 views
Can I set certain choices on a picklist as unavailable to users, but available to approval process field updates?
Basically, I want the user to be able to select 'Preparing for Submission' or 'Ready to Submit', but I only want the approval process to be able to select 'Step 1', 'Step 2', 'Step 3', 'Approved'. Is ...
5
votes
1answer
133 views
Submit records for approval in bulk without hitting DML Statement limit
I've got code to create and submit for approval a custom object.
I'm running into the DML statement limit.
As far as I can see each record I submit for approval takes up a DML statement, but there's ...
3
votes
2answers
221 views
Why Can't I Assign an Approval Step to a Queue for a Custom Object Approval Process?
I know that when running an approval process on Case, you have the option to assign an approval step to a Queue, however, I am now creating an approval process for a custom object, and I don't see the ...
0
votes
1answer
317 views
Display “Submit for Approval” button in the Approval History related list based on condition
I have two custom objects with master detail relationship.
My requirement is that the parent should be submitted for approval only after all its child records are submitted for approval.
For this, ...
2
votes
1answer
319 views
Test case fails in eclipse, same test case succeeds in webinterface. Click-through also succeeds
We have a rather elaborate setup where we have partner portal users approve/reject account-records using a visualforce page. We've got a test case doing this whole flow and it succeeds when you run ...
2
votes
2answers
71 views
Is it possible to include a partner/client (or other non-internal employee) in an approval process? If so, how?
If it is not strictly possible, is there a standard practice for integrating an external element into an approval process/workflow?
2
votes
1answer
269 views
Configuring Approval page layout
can we add a pick-list field to the Approval pagelayout ??
My requirement is i want Approvers to enter Reason for rejecting a record.
I have a picklist field on my object with the rejection reasons ...
-1
votes
2answers
275 views
Making Approval Comment Mandatory
Is it possible to make approval comments mandatory? There is one discussed here. http://christopheralunlewis.blogspot.in/2012/09/making-rejection-comments-mandatory-in.html
I've a two step approval ...
7
votes
2answers
1k views
How to check if a record is locked or not in Apex during an approval process
I have an approval process on a Custom object and also two custom buttons on the same record.
Once the record goes into the approval process, it gets locked. During that period, I want to ...
1
vote
1answer
57 views
How can I build criteria around a percentage?
Conditions suedo code would be:
IF Total Adjustment Percentage IS Greater Than 5%
I’ve tried the following to no avail.
Total_Adjustment_Percentage__c > -5 (the true value in database show ...
1
vote
4answers
99 views
Approval process with AND( OR() ) doesn't seem require all
I thought that should be able to wrap a bunch OR conditions with an AND that would require TRUE from each OR such as this.
AND(OR(ISPICKVAL(Apttus_Proposal__Opportunity__r.Sales_Typ__c, "New"),
...



