One alert for 2 JML process

Aparna
New Contributor III
New Contributor III

Hi Team ,

we have alert which is triggered which is mapped at the endpoint level on disable account for the user , we have 2 scenario where this alert is triggered one is when the user is terminated  and account is disabled, the other situation is when the user is on leave and the account is disabled , here the user is active and just the account is disabled . In the alert we do capture termination date which is a date when the actual termination date but in case where the user is on leave the value is NULL, but now we need map other attributes in the alert so that we can clearly differentiate between a terminated user and a user which is on leave of absence .

P.S -- we dont have any workflow associated with any of the process explained above .

 

2 REPLIES 2

smitg
Regular Contributor III
Regular Contributor III

Hi @Aparna ,

Try using if else in email body to show/hide the field based on user status.

<% if (user.statuskey=1) print "Termination Date: ${user.enddate}" else print "" %> (please replace the fields as per your requirement)
Managing email template

Thanks,
Smitha

Aparna
New Contributor III
New Contributor III

Hi Smitha,

Thanks will try the same and update .

Regards

Aparna