Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Email notification sent to service desk while creating 1 type of user.

Ekata
New Contributor III
New Contributor III

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

4 REPLIES 4

rushikeshvartak
All-Star
All-Star

Use if else condition in TO

 

<%if (user.customproperty1.equalsIgnoreCase'Tier 3'))print "${assignee.email}" else print "NULL" %>

 

update as per your need

 


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hi,

Thanks for the response. 

Regards,

Ekata

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.]

 <%if (user.employeeclass.equalsCase('Tier 3'))print "${assignee@****.com}" else print "NULL" %>


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.