How to add the if conditions to the absence notification title
Summary:
We need to customize the absence email notification title dynamically based on the absence type name. I’ve implemented the customization using the type name, but the rule execution failed with a system fault error.
Content (please ensure you mask any confidential information):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
I tried both conditions: Both are failing
if (/task:task/task:payload/ns0:AbsencesApprovalsRequest/ns0:Typename = 'Initiate Termination') then concat('Pre Termination Approval', /task:task/task:payload/task:NotificationTitleKey) else (/task:task/task:payload/task:NotificationTitleKey)
0