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

How to fetch role name revoked from a user in Campaign(Role Owner type) in email template

Ajit
New Contributor III
New Contributor III

Hi Team,

Can you please help on- how can we fetch the 'role name', revoked from a user as part of role owner UAR, in the email template to notify about the same to the user?

Thanks,

6 REPLIES 6

rushikeshvartak
All-Star
All-Star
  • Where is template attached ?
  • 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'.

Ajit
New Contributor III
New Contributor III

@rushikeshvartak Thank you for the response.

Template is attached in Campaign configuration as below:

Ajit_0-1723637513083.png

Thanks,

Add above mentioned code and let me know if you are able to achieve if not share all variables will provide possible keyword to be used.


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

Ajit
New Contributor III
New Contributor III

@rushikeshvartak  Getting below as output in the email, with the above code.

Ajit_0-1723640244033.png

 

Thanks,

You can’t add role name as required variable is not exposed 


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

Ajit
New Contributor III
New Contributor III

@rushikeshvartak  Thank you! for the confirmation.