PARTNERS - Please join us for our upcoming webinar:
Leveraging Intelligent Recommendations for Operational Transformation.
AMS Partners click HERE | EMEA/APJ Partners click HERE

Unable to trigger email for Revoke Task Email Template

Rahulkumar1
New Contributor
New Contributor

Hi Team, I am not be able to trigger the revoke email to anyone when we provide condition in To.

Condition is :

TO: ${if((task?.accountname!='') && (task?.entitlement_valueKey?.entitlement_value == Null) && (task?.tasktype == 2)){'${users?. Email}'}}}

we don't see any error in the log as well.

However, when we remove the condition from TO and trying to trigger then the email triggers. 

 

Attached the screenshot of the email template:

Rahulkumar1_0-1723028046133.png

 

2 REPLIES 2

NM
Honored Contributor
Honored Contributor

task?.accountkey.name try this

Hardcode your email ID instead of using user.email variable.

rushikeshvartak
All-Star
All-Star

<%${if((task?.accountname!='') && (task?.entitlement_valueKey?.entitlement_value == Null) && (task?.tasktype == 2))print "" else print "${user.email},${requestor.email}" }%>


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.