Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/07/2024 03:55 AM
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:
08/07/2024 04:53 AM
task?.accountkey.name try this
Hardcode your email ID instead of using user.email variable.
08/07/2024 04:55 AM
<%${if((task?.accountname!='') && (task?.entitlement_valueKey?.entitlement_value == Null) && (task?.tasktype == 2))print "" else print "${user.email},${requestor.email}" }%>