Powered By Blogger

Tuesday, 29 July 2014

Approval Fields in Email Notification

Many of you have been worked with the approval processes. When you are using approval processes, you can define approval notification template. It’s too common when you need to address the approver in email notification who is going to receive this email like:

Hi BSS,

A deal has been submitted and assigned to you for your approval.
Thanks,
<<Assignee Name>>
<<Company Name>>

When you define the email template, you have choice to select the Approval fields.
Request_Approver
Request_Assignee

But unfortunately, none of the field is going to help when you want to include the Approver name in email who is going to handle this approval request.
Request_Approver is, who currently approved this request.
Request_Assignee is, who assigned this request.

I created this email template in Salesforce for testing.

 

Now let’s have a case when you have a multi-step approval process. User requested for the approval and email notification was sent to first level approver. So how will you get the approver name in email?

My approval process is:



I created an account and it sent the Approval Request to Lisa Hayden. Following email was sent to User Lisa.

See both the field says Bhavi Sharma.


How you can quickly fix this:
  1. Create a user lookup field on your object and call it “Next Approver”.
  2. In the approval process’s initial submission action, populate this field with the appropriate user (If you are using a queue, better is to create a Text field and get it populated with the Queue name).
  3. Now use this field in email approval submission notification email.
  4. In the first level approval actions, get this custom field populated with the name of the second level approver.

24 comments:

  1. This sounds good but won't work when one of the steps has multiple approves all at once.

    ReplyDelete
  2. This will work if similar people gonna approve all the request. In my case, each users manager will approve the request and cannot use "Lookup field" as the field update is static.

    ReplyDelete
  3. Nice tutorial. Thanks for sharing the valuable information. it’s really helpful. Who want to learn this blog most helpful. Keep sharing on updated tutorials…
    Big data training in Velachery
    Big data training in Marathahalli
    Big data training in btm
    Big data training in Rajajinagar
    Big data training in bangalore

    ReplyDelete
  4. I'm here representing the visitors and readers of your own website say many thanks for many remarkable

    java training in omr | oracle training in chennai

    java training in annanagar | java training in chennai

    ReplyDelete
  5. This is most informative and also this post most user friendly and super navigation to all posts... Thank you so much for giving this information to me.. 
    Data Science training in Chennai
    Data science training in bangalore
    Data science training in pune
    Data science online training

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it. You’re doing a great job Man, Keep it up.

    AWS Training in Chennai / Best AWS Training in Chennai
    AWS Training Course in Chennai / Best AWS Training Institute in Chennai

    ReplyDelete
  8. management of archaeologists is not nessecary as archaeologists have principles of association through which they manage the archaeology keep it up
    Ai & Artificial Intelligence Course in Chennai
    PHP Training in Chennai
    Ethical Hacking Course in Chennai Blue Prism Training in Chennai
    UiPath Training in Chennai

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Thank you. Appreciating the persistence you put into your blog and detailed information you provide.
    AI Training in Bangalore

    AI Course in Bangalore

    ReplyDelete
  11. Infycle Technologies, the No.1 software training institute in Chennai offers the No.1 Data Science course in Chennai for tech professionals and students at the best offers. In addition to the Data Science course, other in-demand courses such as Python, Selenium, Oracle, Java, Python, Power BI, Digital Marketing also will be trained with 100% practical classes. After the completion of training, the trainees will be sent for placement interviews in the top MNC's. Call 7504633633 to get more info and a free demo.

    ReplyDelete
  12. 6954843132Jonathan8EF19ECCFD12 October 2024 at 18:22

    8D82F695A9
    whatsapp şov siteleri

    ReplyDelete