Approve Records from a Chatter Feed
Introduction to Approvals in Chatter
Because Approvals in Chatter rely on both Chatter and Approvals, setting up Approvals in Chatter involves more than just enabling the feature. To be sure that everything works correctly and your users see their approval requests as Chatter posts, we recommend that you follow these steps.
- Enable approval requests in Chatter.
- Create an approval post template.
- Create an approval process.
- Enable feed tracking. Enable feed tracking for any object that an approval process is based on. For example, when you want the creation of an account to kick off an approval process, you enable feed tracking for the Account object.
- Take steps 2–4 for each object that you want to send through an approval process.
Through their personal Chatter settings, users can opt out of receiving approval requests as posts in their Chatter feeds. They continue to get notified through email. Users who don’t opt out get both a Chatter post and an email notification.
Approval request posts appear:
- In the assigned approver's Chatter feed
- On the submitter's profile, but not in their Chatter feed unless they're following the approval record
- In the Chatter feed of the approval record
- In the Chatter feed of anyone following the approval record
Enable Approval Requests in Chatter
To enable Approval requests in Chatter:
- From Setup, enter Chatter Settings in the Quick Find box, and then click Chatter Settings.
- Click Edit.
- In the Approval Posts section, select Allow Approvals.
4. Click Save.
If any of your users opt out of receiving approval request posts, then those users don't see them in their own feed. Whether they opt out, anyone with access to the record being approved can see approval posts in the record feed.
Next, set up a template for the Chatter approval post.
Create a Post Template
- From Setup, enter Post Templates in the Quick Find box, and then click Post Templates.
- Click New Template.
- These approvals are for accounts, so select Account and click Next.
- Enter the name Account Approval Post Template, and describe it as A template for account approval request posts.
- To make this template the default for all account approval request posts, select Default.
- For Post Template Fields, move Account Number, Account Owner, and Description to the right column. If Account Name isn’t already in the Selected Fields column on the right, move it there, too. Tip: Put text-heavy fields, like Comments or Description, at the bottom.
- Click Save.
Now you’re ready to define your approval process for accounts.
Create an Approval Process
Let’s say you want Allison Wheeler to approve all new accounts and changes to existing accounts that she doesn’t own. Here’s a simple approval process for this scenario.
- From Setup, enter Approval Processes in the Quick Find box, and then click Approval Processes.
- For Manage Approval Processes For, choose Account.
- Click Create New Approval Process, and choose Use Jump Start Wizard.
In the Approval Process Information section
- For Name, enter: Account Approval Process.
- To get a unique name for this process to use in the API, click the Unique Name field.
- Leave Approval Assignment Email Template blank to use the default email template.
- For Approval Post Template, click the search icon and select Account Approval Post Template. We created this template in the last section. For information about the Use Approval Field of Object Owner setting, see Choose an Automated Approver Throughout an Approval Process.
- To update all the page layouts for this object, select Add the Submit for Approval button and Approval History related list to all Object page layouts. Selecting this option gives users a way to submit approval requests and to track them through the approval process.
- In the Specify Entry Criteriasection, set up the criteria to kick off this approval process.In our example, we want Allison Wheeler to approve any accounts that she doesn’t own, so we enter these criteria on the first line:
- Field: Account: Account Owner
- Operator: not equal to
- Value: Allison Wheeler
- In the Select Approversection, assign all approval requests to Allison Wheeler.
- Select Automatically assign to approver(s).
- Select User, and, in the second field, enter Allison Wheeler.
- Under When multiple users are selected, select Approve or reject based on the FIRST response. If you want all selected approvers to approve, select Require UNANIMOUS approval from all selected approvers.
- Click Save.
- Click View Approval Process Detail Page.
- On the Account: Account Approval Process page, click Activate to activate the approval process.
Our simple approval process is now set up. When someone other than Allison Wheeler creates an account or changes the owner on an account and submits the account for approval, Allison Wheeler is notified. She receives an approval request post in her feed and an email requesting approval.