Skip to main content
Join the Agentforce Hackathon on Nov. 18-19 to compete for a $20,000 Grand Prize. Sign up now. Terms apply.
Estimación de tiempo
Temas
Preguntar a la comunidad

Create an Approval Process

Set Up a Multistep Approval Process

Your org is prepared, so you’re ready to set up the approval process for positions, as Ling Wu requested. An approval process is an automated process that approves records in Salesforce. When you build an approval process, you specify the steps necessary for approval. A given step can apply to all records or just records with certain attributes. You also specify who does the approving at each step and the actions to take when a record is approved, rejected, or recalled.

Begin creating your multistep approval process.

  1. From Setup, enter Approval Processes in the Quick Find box and select Approval Processes.
  2. Select Position from the Manage Approval Processes For picklist.
  3. Click Create New Approval Process and select Use Standard Setup Wizard from the picklist, then fill in the details.
  4. For Process Name, enter New Position Approval.
  5. For Description, enter: 
    1. All positions must be approved by the recruiter's manager and two to three other approvers. These approvers are tracked in approver fields on the Position object.
  6. Click Next
  7. At the picklist for Use this approval process if the following, select criteria are met.
  8. Leave everything as is and click Next.
  9. In the Next Automated Approver Determined By picklist, select Manager.
  10. Select Use Approver Field of Position Owner.
  11. Select Administrators OR the currently assigned approver can edit records during the approval process.
  12. Click Next, then Next.

Select fields to display on the approval page layout.

  1. Select these fields from the Available Fields list.
    • Department
    • Education
    • Job Description
    • Location
    • Pay Grade
    • Salary Range
    • Skills Required
  1. Click Add arrowto add them to the Selected Fields list.

Approval Processes Available Field and Selected Fields lists, showing newly added selected fields highlighted.

  1. Select Display approval history information in addition to the fields selected above.
  2. Select Allow approvers to access the approval page only from within the Salesforce application (Recommended).
  3. Click Next.
  4. As Submitter Type, select Owner from the Search picklist.
  5. Ensure Position Owner is visible in the Allowed Submitters box.
  6. Select Allow submitters to recall approval requests.
  7. Click Save.
  8. Select I'll do this later. Take me to the approval detail page to review what I've just created.
  9. Click Go!

Create Approval Steps

You’ve created the basic approval process. Next, create initial submission actions.

  1. Under the Initial Submission Actions related list, click Add New, then select Field Update.
  2. For Name, enter Approval Status to Pending.
  3. For Field to Update, select Approval Status from the picklist.
  4. Under Specify New Field Value, select A specific value, then select Pending.
  5. Click Save.

Now create approval steps.

  1. Click New Approval Step under the Approval Steps related list.
  2. For Name, enter Manager of Position Owner.
  3. Click Next.
  4. Select All records should enter this step.
  5. Click Next.
  6. Select Automatically assign using the user field selected earlier (Manager).
  7. Click Save.
  8. Select No, I'll do this later. Take me to the approval process detail page to review what I've just created.
  9. Click Go!

Create the second step.

  1. Click New Approval Step under the Approval Steps related list.
  2. For Name, enter Position Approver 1.
  3. Click Next.
  4. Select All records should enter this step.
  5. Click Next.
  6. Select Automatically assign to approver(s).
  7. Select Related User from the picklist that appears, then select Approver 1 from the secondary picklist.
  8. For When multiple approvers are selected, select Approve or reject based on the FIRST response.
  9. For What should happen if the approver rejects this request? select Perform all rejection actions for this step AND all final rejection actions (Final Rejection).
  10. Click Save.
  11. Select No, I'll do this later. Take me to the approval process detail page to review what I've just created.
  12. Click Go!

Create the third approval step.

  1. Click New Approval Step under the Approval Steps.
  2. For Name, enter Position Approver 2.
  3. Click Next.
  4. Select All records should enter this step.
  5. Click Next.
  6. Select Automatically assign to approver(s).
  7. Select Related User from the picklist that appears, then select Approver 2 from the secondary picklist.
  8. Click Save.
  9. Select No, I'll do this later. Take me to the approval process detail page to review what I've just created.
  10. Click Go!

Create the fourth approval step.

  1. Select New Approval Step under the Approval Steps related list and complete the details.
  2. For Name, enter Position Approver 3.
  3. Click Next.
  4. Select Enter this step if the following criteria are met and enter the criteria.
    • Field: Position: Salary Range.
    • Operator: equals
    • Value: 90K-120K, 120K+ (Click Lookup iconto find it.)
  1. Click Next.
  2. Select Automatically assign to approver(s).
  3. Select Related User from the picklist that appears, then select Approver 3 from the secondary picklist.
  4. Click Save.
  5. Select No, I'll do this later. Take me to the approval process detail page to review what I've just created.
  6. Click Go!

Create the Final Actions

Now create the final actions: approval or rejection, along with their associated email alerts.

  1. Under the Final Approval Actions related list, click Add New and select Field Update.
  2. For Name, enter Approval Status to Approved.
  3. For Field to Update, select Approval Status from the picklist.
  4. Under Picklist Options, select A specific value, then choose Approved from the picklist.
  5. Click Save & New.

Fill in the details of the second field update.

  1. For Name, enter Status to Open.
  2. For Field to Update, select Status from the picklist.
  3. Under Picklist Options, select A specific value, then select Open from the picklist.
  4. Click Save.

Set up email alerts.

  1. Under the Final Approval Actions related list, click Add New and select Email Alert.
  2. For Description, enter Email position owner about approval.
  3. For Email Template, change Unfiled Public Classic Email Templates folder to Position Request Responses folder
  4. Select Position Approved. (Click Lookup iconto find it.)
  5. For Recipient Type, select Owner.
  6. In the Available Recipients column, select Position Owner then click Add arrowto move it to the Selected Recipients column.
  7. Click Save.

Now create final rejection actions.

  1. Under the Final Rejection Actions related list, click Add New and select Field Update.
  2. For Name, enter Approval Status to Rejected.
  3. For Field to Update, select Approval Status from the picklist.
  4. Under Picklist Options, select A specific value, then select Not Approved from the picklist.
  5. Click Save & New.

Fill in the details for the next field update.

  1. For Name, enter Status to Closed.
  2. For Field to Update, select Status from the picklist.
  3. Under Picklist Options, select A specific value, then select Closed from the picklist.
  4. Click Save.

Now set up an email alert.

  1. Under the Final Rejection Actions related list, click Add New and select Email Alert.
  2. For Description, enter Email position owner about rejection.
  3. For Email Template, change Unfiled Public Classic Email Templates folder to Position Request Responses folder
  4. Select Position Rejected. (Click Lookup iconto find it.)
  5. For Recipient Type, select Owner.
  6. In the Available Recipients column, select Position Owner then click Add arrowto move it to the Selected Recipients column.
  7. Click Save.

Set up another field update.

  1. Under the Recall Actions related list, click Add New, and select Field Update.
  2. For Name, enter Approval Status to Recalled.
  3. For Field to Update, select Approval Status from the picklist.
  4. Under Picklist Options, select A specific value, then select Recalled from the picklist.
  5. Click Save.
  6. On the Approval Processes page, click Activate.
  7. Click OK on the popup that appears.

Your approval process is ready! If you were working in your production org, you could test the process now. We won’t test it in your Trailhead Playground. Instead, move on and create a process for approving new positions.

Comparta sus comentarios sobre Trailhead en la Ayuda de Salesforce.

Nos encantaría conocer su experiencia con Trailhead. Ahora puede acceder al nuevo formulario de comentarios cuando quiera desde el sitio de la Ayuda de Salesforce.

Más información Continuar para compartir comentarios