Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Need information to send mail to different mailbox on task creation

sk
Regular Contributor
Regular Contributor

Hi Team,

We have a requirement for sending out mail for different mailbox upon task generation by using single template.

let us consider an application A which has 10 entitlements, so here if users request for any 1-5 entitlements upon add access task creation it should go to mailbox 1.

The same user requests for any 6-10 entitlements upon add access task creation it should go to mailbox 2 but not for mailbox1.

So can we store any keyword in entitlements custom property, and can we call from tasks from if else condition in template or can someone suggest the best way to achieve this. 

Regards,

Sai Krishna

1 REPLY 1

rushikeshvartak
All-Star
All-Star
  • You can store emails  in entitlement customproperty and use in TO address of task creation email
  • for exact variables for entitlement you can try below code
  • Please validate supported variables.

    Purpose :

    To get what variables are present to use in the email template.

    Email Template steps :

    keep Advanced HTML CSS flag is checked

    Keep your email Address in TO

    TO /CC/BCC & Subject - Don't use any dynamic variables

    Add only below code in Email Body
    ${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}

    Output : using the below expression. By putting it in the email body, it will print all variable names with values, and then accordingly, you can use it:


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.