Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Sending Accounts attributes in an Email

kollusunil
New Contributor III
New Contributor III

Hi,

We are triggering an email on successful provisioning of an account. We have created an email template and attached in the End Point - On successful task completion.

We are not able to get the account attributes in the mail body. We have tried syntax like below:

${account.name},

${account.accountName}

${account.accountname}

${account.account_name}

Can anybody please help with how to access the account attributes in mail body?

Regards,

Sunil

7 REPLIES 7

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @kollusunil ,

You can attempt to retrieve the name of the account for which the task is created by using the binding variable, For eg.
Account name: ${task.accountName}
Endpoint name: ${task.endpoint.endpointname}

For Ref:- https://docs.saviyntcloud.com/bundle/EIC-Admin-v23x/page/Content/Chapter06-EIC-Configurations/Creati... 

Thanks

If you find the above response useful, Kindly Mark it as "Accept As Solution".

sk
All-Star
All-Star

${task.accountName} is the right parameter for task completion emails


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

kollusunil
New Contributor III
New Contributor III

@sudhesh @sk Thank you both for your responses, its working as expected

Thanks

Regards,
Sunil

kollusunil
New Contributor III
New Contributor III

Hi,

Same way, can we pass dynamic attributes in an email(Task create/complete). Tried below but not getting any email triggered
https://forums.saviynt.com/t5/general-discussions/saviynt-throwing-error-on-referencing-dynamic-attr...

https://forums.saviynt.com/t5/did-you-know/did-you-know-how-and-where-can-you-leverage-the-strength-...

Thanks

Regards,

Sunil

Hi @kollusunil ,

Just wanted to let you know that we have a variety of templates available in our document you can find them for task creation and completion.
${<attributename>} :- Obtains the name of dynamic attributes.

You can find more information about them at this link:
https://docs.saviyntcloud.com/bundle/EIC-Admin-v2021x/page/Content/Chapter06-EIC-Configurations/Crea...  

Thanks

If you find the above response useful, Kindly Mark it as "Accept As Solution".

kollusunil
New Contributor III
New Contributor III

Hi Sudhesh,

Thank you for the update, we have already tried all the combinations as mentioned above to fetch dynamic attributes in email. But its not working. We will raise a Saviynt ticket and check on this. will keep posted if anything.

Regards,

Sunil

@kollusunil : What is the variable you tried to use to get dynamic attribute value. Also is it task completion email or WF email?


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.