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

passwords are not generated in email template

saimeghana
Regular Contributor
Regular Contributor

Hi Team,

We need to generate the email for new joiner users and the email template contain the password.

We are using the password: ${task?.password} to generate emails are triggered but we cannot see the data in the email body.

we tried with all this binding variable ${randompassword}, ${password}, ${account_password}

saimeghana_0-1711709419928.png

Do we have any other binding variable to test, please suggest

Thanks,

Sai Meghana

7 REPLIES 7

rushikeshvartak
All-Star
All-Star

To get what variables are present to use in the email template, check 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:


${this.binding.variables.each {k,v -> println "$k = $v" + "" + "br" + ">"}}


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

saimeghana
Regular Contributor
Regular Contributor

Hi Rushikesh,

we tried with above binding variable, we didn't able to see the password attribute.

Could you please help us.

Thanks,

Sai Meghana

Please share result of above script to suggest further


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

Hi Rushikesh,

Please find the result for above binding variable

saimeghana_0-1711996096840.png

Thanks,

Sai Meghana

 

${user.password}

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

Hi Team,

This issue is resolved, we used ${task?.password} it is working.

Thank you

Please click the 'Accept As Solution' button on the reply (or replies) that best answered your original question.


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