and more in a single search tool across platforms. Read the announcement here. |
02/02/2023 12:55 AM
Hi Team,
There is a requirement to send email notification to the helpdesk while the new user is onboarded.
The condition used here is that the employee type should be Tier 3. If there are other types the email should not be triggered.
Before this requirement we were sending it for all users and attached the email template at AD endpoint level but now it should be suppressed and should be triggered only if employee type is Tier 3.
How can we achieve it?
Regards,
Ekata
Solved! Go to Solution.
02/02/2023 01:45 AM
Use if else condition in TO
<%if (user.customproperty1.equalsIgnoreCase'Tier 3'))print "${assignee.email}" else print "NULL" %>
update as per your need
02/02/2023 05:31 AM
Hi,
Thanks for the response.
Regards,
Ekata
02/06/2023 01:15 AM - last edited on 02/06/2023 01:23 PM by Dave
Hi,
I have tried to use
<%if (user.employeeclass.equalsCase'Tier 3'))print "${assignee@****.com}" else print "NULL" %>
But this is not working. We need to use a specific DL group(TechSupport@****.com) to send all the emails having employee class as Tier 3, Tier A3, Tier B3.
Can you advise me on this.
[This post has been edited by a Moderator to remove sensitive information.]
02/06/2023 05:55 PM
<%if (user.employeeclass.equalsCase('Tier 3'))print "${assignee@****.com}" else print "NULL" %>