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 ...

learn more… | top users | synonyms

1
vote
0answers
24 views

Skip/bypass approval process

I want to skip/bypass an approval process by using some other VF page/apex class/trigger, is it possible ? what kind of framework should I think of ? Basically I want the record to be editable, even ...
1
vote
0answers
22 views

field validation on approve or reject for approval process

I am creating an Approval Process. Its a simple process with 2 approval steps I have a requirement where an assigned approver (user) must populate one or more fields on a record before they approve or ...
1
vote
1answer
18 views

Relating ProcessInstance in visualforce emails

Demo for a visualforce email via Salesforce shows how you can relate fields - look at how Contact's email is included: <apex:repeat var="cx" value="{!relatedTo.Cases}"> <tr> ...
0
votes
1answer
25 views

Customize Approval Report fields

We are starting to run Leads through an Approval process and want to report on them (of course!). Is it possible to show other fields on the report than the one Related To? It shows the Lead Name, ...
1
vote
1answer
33 views

Approval Process Related User: Approver Not Available in Related User list

We have an opportunity approval process that I created in our Sandbox. This process allows the submitter to manually choose the approver of the opportunity. As a part of that process I was able to ...
1
vote
0answers
20 views

Is there any time limit for which record can be pending for approval?

Lets say for a Standard object or Custom object's record has been submitted for approval on 11-Nov-2014. Is there any upper bound on or before which record should be approved / rejected? or is it that ...
0
votes
0answers
28 views

How to get a popup on click of Approve button in Approve/Reject Approval Request?

On click of Approve button the record submitted will be approved without giving any alert message. I want to keep a popup or alert message to confirm the approval when the Approve button is clicked. ...
0
votes
1answer
35 views

Error:Cannot submit object already in process

I have a approval process set up already. when an agent submits records for approval, their status will be "Approval pending" and waits for Manager" i m trying to update their status as "approved" ...
1
vote
0answers
19 views

Approval process fails with Invalid cross reference keu

I am getting error while assigning the Related user field of my approval object in the approval step. If I use the same user in the step as user then works fine. Any help would be great. ...
0
votes
0answers
48 views

How to Approve the jobs from Approval Processes by just writing APPROVE from Approver

I'm new to salesforce ,so i was working on Recruiter APP . In Workflow and Approval after the POSITION is created the APPROVAL notification should intimate to MANAGER or CEO. the notification which ...
0
votes
1answer
53 views

Getting "System.DmlException: Process failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY

below is method which i have created in my class, public static void rejectCRF(String recordId, String workItemId, String comments) { Approval.ProcessWorkitemRequest req2 = new ...
1
vote
2answers
58 views

Editing Already created approval process

In salesforce, we can not add any step to an approval process once it is activated. Is there any way to edit approval process(Adding new Steps and doing some other changes) after it is activated. ...
1
vote
1answer
135 views

Approval by email using custom salesforce email service

I am trying to implement approval or rejection by email functionality. But I can not use salesforce standard 'Enable Email Approval Response' functionality as approval process is assigned to queue ...
5
votes
2answers
114 views

Formula Fields Lock when Records are Locked?

Looking around the web I could not find any information on if a Formula field locks (data become static) on records that have been locked in an approval process when the values in the formula are ...
2
votes
0answers
97 views

Any way to recall arbitrary approval requests from Trigger?

Scenario I have a requirement for an approval process on Opportunity that must go to multiple approvers. Opportunities cannot be owned by queues, so the approval cannot be submitted to a queue. As ...
0
votes
1answer
78 views

Checking Check box before starting Approval Process?

My partners have an approval process to submit when they want to approve an oppty. I need them now to set a checkbox as True, before doing that. I don't want to use a trigger, as I think a ...
1
vote
0answers
70 views

Can I Submit to Multiple Approval Steps in Parallel?

I want to set up an approval process with 4 steps. Each step has a different criteria and a different approval queue. Currently, when I Submit for Approval, it only steps Step 1. When Step 1 is ...
3
votes
1answer
110 views

Can we create Approval process for User Object in Salesforce?

What I want to do is If any one attempt to modify the User fields then It requires approval from Manager. If manager approve the request then field will be modified otherwise it will not be modified. ...
1
vote
0answers
44 views

How to change the return URL in Approval Process?

A Manager can access all his Approval Items to be approved from his Home Page. In Approval Request, If a Manager is approving/rejecting his subordinates' record, he is redirected to the record he is ...
0
votes
1answer
90 views

How to delete an Approval Process

how can we delete an apporval process. I have an apporval process on a object and, I can see only one records in Process instance related to this object. i'm not able to delete the record from ...
2
votes
1answer
68 views

Email Alert : Rejection Comments

I have a rejection notification email template that is using the merge field '{!ApprovalRequest.Comments}' to display the rejection comments as entered by the user. The rejection comments are ...
0
votes
0answers
58 views

Initial Submitter for Approval Process defaults to System Admin

I'm working on an approval process where the user listed under the "Approval Request Submitted" defaults to one of the System Admins, rather than the user who submitted the approval. I have the same ...
-1
votes
1answer
45 views

Approval Process: Allow User A to Reject subject to override by User B

I need to create a approval process where I will have two approver.. Approver A and approver B. The requirement is even if approver A rejects the approval process , it should go the approver B. ...
1
vote
0answers
34 views

Adding a Rejection field to the approval page layout

I would like to know if there is a way to add a field to the approval page layout. I have already somehow managed to add a field to the layout. But, it's not displaying any output. The Image is ...
0
votes
0answers
41 views

Error message in approval process

In a opportunity object I add products directly to my opportunity. So I send to approval, but when the manager open the approve/reject Approval request page just can approved if the pricebook is ...
3
votes
0answers
57 views

Get all Approval Process names of a specific object XYZ__c in apex

I have created 4 approval process for an object XYZ__c. In a VF page I want a picklist of all the Approval Process Name of that Object. After selecting one of it I have workflow rules depending on the ...
0
votes
0answers
15 views

Actor field not available while creating a list view

I am trying to create a list view for the Approval Request records but I cant see the Actor field in the list of fields available for filtering. Any idea how to get around this? Steps : Home page -> ...
4
votes
1answer
128 views

Approval Process Reassign Functionality Not Changing Record Owner

The 'Reassign' functionality for the Approval Requests does not change the 'Owner' of the record. It only the changes the 'Actor' field for the 'ProcessInstanceWorkitem' Is there any way I can change ...
1
vote
1answer
188 views

Using a workflow to update fields also effected by workflows

Afternoon all, I have two custom objects (Child & Parent), The Child is a questionnaire type that can be submitted to a customer (via email, its a visualforce page), they then approve it (when ...
1
vote
1answer
238 views

Apex trigger : Error:Invalid id on approval Process

I need some help Aim- To create a basic approval process. I have created the following trigger “AutomateApprove” on the campaign object, however I am keep getting error messages when populating ...
2
votes
1answer
44 views

suggestion needed in doing an approval process

I am having an approval process where whenever a record is saved i want to use a trigger and send for email approval. I want to use inbound and outbound email services to update fields. I will send ...
1
vote
1answer
57 views

approval process based on editing value

I am new to salesforce. I want to write an approval process. I am having a quote and I am having prices,quantities which I will get from pricebook prices which are editable. If at all while ...
0
votes
0answers
56 views

Approval Process - Send Later Steps to Record Owner's Manager

I'm trying to build an approval process for Opportunities that uses the following steps: Step 1: send to Finance for evaluation Step 2: send to record owner's manager for approval The problem I have ...
2
votes
0answers
38 views

Is it possible to have an Approval process dependent on a related list record?

I have an opportunity with a custom object "product__c" related list. I want to be able to send the opportunity for approval only if a record of "product__c" is added that has a certain field value, ...
1
vote
0answers
58 views

After update called twice but fetching the old value

I have created 2 Approval process. I have an afterupdate trigger. Once the record enters Approval process, the status becomes "In Approvals".Record will move to the second approval process after the ...
3
votes
1answer
122 views

Allow User's Manager to see Private records?

I currently have a custom object which is set to private in organization-wide default sharing settings. I have created an approval process to allow managers to approve private records. When the ...
1
vote
1answer
49 views

Define a sequentiel approval steps

I'm working with approval process, and I want to define a sequtial approval steps, and where I choose the approval manually! For example: I choose 3 approvers When approver1 approve => Approbation ...
8
votes
1answer
358 views

Approval Process Not Respecting Else Approve Step

Question Is there any known issue with the approval process steps that have criteria that enter if it evaluates to true, else approve, auto-rejecting records that don't meet the criteria? If so, are ...
7
votes
1answer
411 views

How to check if a record is locked through an approval process?

How do I check if a record of a custom object is locked through an approval process ? I know i can use the ProcessInstance to access my approval processes, but I can't check if it is locked or ...
2
votes
1answer
185 views

Create an event after a record has been approved

I want to create a event after my record have been approved, I have a checkbox checked when my record is approved so I can create my event, but the record will be locked !!!! There were custom ...
0
votes
0answers
38 views

Sending file to be approved via salesforce

is there any way to send file (Employement certification .. etc) to be approved by the manager for example! I want to use docu sign for that matter but I need a demo for that
1
vote
1answer
210 views

Fetch Approval comments from ProcessInstanceStep to a different Object called Order

I am trying to fetch the approval comments from ProcessInstanceStep object to a custom field named "Commnets" of another object named Order. I have written the below code. but somehow unable to fetch ...
0
votes
1answer
128 views

“New Approval Step” button missing in Approval Process related List?

"New Approval Step" button missing in Approval Process related List. As per the help, if the approval process is active then this button is not available. But the issue is even after deactivating the ...
4
votes
1answer
142 views

Applying changes when the approval process is approved

I need to apply changes when my approval process is approved, here is my code behind: public static Set<Id> setParentID = new Set<Id>(); public static List<User> lstObjParent = new ...
2
votes
2answers
203 views

Add a logo to the approval alert template

Is it possible to add a logo (or otherwise customise) the standard Salesforce Approval Process e-mail template? I have "Enable Email Approval Response" turned on in this org, and so I'm receiving the ...
5
votes
1answer
478 views

order of execution issue?

I have the following logic implemented: approval process with a field update that set's a datetime on object X to now() trigger listening to a change of this datetime field on after update. That ...
4
votes
0answers
179 views

issue with final approval / rejection action with unanimous approval through apex

Scenario custom object X that needs several approvals custom object where the approval routings are defined. (so to which approvers does the system need to send the object depending on a stage of ...
1
vote
0answers
36 views

Is it possible to prevent the opportunity approval process from changing the close date to submission/approval date?

Salesforce automatically switches the close date for opportunities from what value was upon user submission to the current date. Is it possible to have a trigger that keeps the value of the close ...
4
votes
3answers
1k views

Check if a record is in approval process

I´m getting this Exception: System.DmlException: Update failed. first error: ENTITY_IS_LOCKED, the entity is locked for editing: The problem is that i´m updating a case that is locked by an ...
2
votes
2answers
196 views

Approval Process Entry Criteria

We are using the trigger to kick off an approval process, the trigger fires when the opportunity is updated, can you please let me know how we can configure the entry criteria to "Is opportunity ...