Advanced Approvals – Setup

Hey. There’s a set of documentation that tells you how to set up advanced approvals. It takes a while to do and lots of copy/paste code and documentation back and forth action between the docs and your org. Good news! We made an installer! 🙂 Happy approving!

Sandbox | Production

MUST DO!

After installing the above, make sure to do the below steps!

  1. Update email address in the email service to your admin email address!
  2. Connect the email service to Advanced Approvals.
    1. From the Email Service: Approval Services page, go to your new address and copy the value in the Email Address field.
    2. From Setup, enter Installed Packages, and then select Installed Packages.
    3. Find the Advanced Approvals package and click Configure.
    4. Paste the email address into the Inbound Approval Email (Long) field, then save your changes.

11 thoughts on “Advanced Approvals – Setup

  1. Great Blog!

    I set up AA and have my approval rules set up. Biz ops has asked if there is a way for AA to send to different approval chains based on sales territory. We use ‘user’ for the current approvals. So, when a user creates a quote which requires AA, it goes to his/her management chain- manager and manager’s manager. Sometimes a User will add groups to the Quote because some of what is being sold is for a different territory and it needs to be identified on the quote for commission purposes.

    Presently, if a quote has groups on it the AA only goes to the user’s management stream even though the discount could be on a group for a different sa;es territory. Is there a way to send AA to the management chain based on the territory in the group without writing a rule for each of the territories?

    Thanks,

    Jack

    1. Hey Jack!

      Thanks for the comment! The short answer is yes!

      There are many ways to do this but I’d put a lookup to a user on the quote, called “Approver”. Then fill it in with a price rule based on region. Then use that field as the approver in your rule.

      Let me know if this works!

      DP

      1. Ps. You can also set this up as a formula field. And your formula can reference custom labels so maintenance is easy. 👍🏻

  2. Love your blog and was really really excited when I found this!

    I am getting this error when I try to install the package in my sandbox:

    “Approval Services: An Apex Class must be specified when creating an Email Service.”

    Would you be able to upload a new package without this email service included, as that one just takes a minute to set up? Hoping it will work after that!

    1. Gaaaaah not good! I can definitely do that but I will look into creating a class for it that’s generic and updatable. The intent here was to have as much of the config as possible in an installer. 👍🏻

  3. I got everything set up, and for individual users it’s working as expected. But when the approval is assigned to a Group and not an individual, the email approval does not work. Is this something that can be done?

  4. Hi Dennis,

    Can you suggest, how to trigger approvals for a manager and his manager (2 levels) for a sales rep/submitter user?

    Example: if A submit the quote for approval, it needs A’s Manager (B) approval and then B’s Manager also.

    Thank you,
    SK Reddy

    1. Yes you can make fields on the quote that hold the ids of the manager and their manager. Then, in your approval process, the approvers are “referenced users” and choose the two custom lookup fields.

      1. Thanks, Dennis for your response.
        Regarding the above scenario (Manager and Manager’s Manager) advanced approvals on quote. Can we trigger approval with one rule or two rules (like one rule for the manager and another for the Manager’s Manager)?

        1. If you have fields holding managers user references, you can trigger approval with any rules you like that target those users as approvers.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.