Using IsPickVal() function inside Email Templates

Salesforce Asked by Anthony Williams on January 6, 2022

I tried using the following ISPICKVAL formula within an email template as shown:
enter image description here

MQP Type is a pick list on the Task Object. I have run integration code(Python under AWS) which sets the pick list value to "RAQ" and I can see the pick list value within the integration log and also on the task record. However, the email notification (sent from process builder flow) doesn’t seem to know what to do with the IF() function with ISPICKVAL() function results.

Here is what this email notification gives me:
enter image description here


One Answer

After readingboth the response from cropredy as well as additional SF help topics on the subject, I found that there was an Idea on SF success that was pushing to have email template merge fields us advanced functions like IF and ISPICKVAL but according to SF support there is no way to accomplish this unless you use VF email template or a custom field which makes sense because Apex mark up language has the libraries to accommodate functions using VF so I will give that a try. Thanks to cropredy

Answered by Anthony Williams on January 6, 2022

Add your own answers!

Related Questions

Create lead if contact does not exist live agent

2  Asked on November 20, 2020 by c0depirate


How to capture URL parameters

1  Asked on November 12, 2020 by devforce


lightning:carousel error

1  Asked on November 3, 2020 by sankhadeep-biswas


Hide Case Owner Field in Recently View Cases List view

1  Asked on October 27, 2020 by chaithra-k-n


Calling REST APIs from PHP with curl

1  Asked on October 9, 2020 by mike-lacourse


how to Get API Server Name in Apex code

4  Asked on September 16, 2020


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir