function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Priya MishraPriya Mishra 

Email Template Subject

Hi All,

I am creating a email temaplate the below condition i gave for the subject.

{!IF(ISPICKVAL(MedConnect__Work_Order__c.Wo_Priority_MDSR__c,"") ,"","Priority : " )} {!MedConnect__Work_Order__c.Wo_Priority_MDSR__c} Escalation: Work Order- {!MedConnect__Work_Order__c.Name} is awaiting acceptance.

in this condition if the value is present in the MedConnect__Work_Order__c.Wo_Priority_MDSR__c then the priority verbiage will display otherwise it will be balnk now i want to dispaly the value of the preiory then verbaige priority if the value is present in the record otherwise it should be blank.
pls help me to correct this formula.

thanks
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Priya,

Can you check the below similar question in Salesforcr Stack Exchange.

https://salesforce.stackexchange.com/questions/362920/adding-conditional-logic-if-then-in-salesforce-html-email-templates

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,