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

Create Account Task Completion email is sent to beneficiary as well as task owner

Sairam_k
New Contributor
New Contributor

Hi,

Getting Create Account Task Completion email for User, endpoint owner and task owner.

The requirement states that only the beneficiary user should receive the Task Completion Email. And mentioned ${user.email} in Create Account Task Completion Email template to receive email for user(Beneficiary).

7 REPLIES 7

pmahalle
All-Star
All-Star

@Sairam_k ,

What's the issue here? After you added ${user.email} beneficiary user not getting email after task completion?

 


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂

rushikeshvartak
All-Star
All-Star

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 you find this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.

Sairam_k
New Contributor
New Contributor

Our requirement is sending account name and password to beneficiary user after account gets created. Issue we are facing is that - the email is triggered multiple times to beneficiary and task owners.

 

I tried creating test email template and printed all binding variables. But same result. I got multiple emails - one having binding user set to beneficiary and others having binding variable user set to task owners.

  • Where is email template attached ?
  • What is type of workflow used ?

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

Sairam_k
New Contributor
New Contributor

Email template is attached at endpoint level - for new account - on task completion.

Doesn't look like workflow issue. We have 2 level approval workflow in production but for ease of creating tasks, we are using auto approval workflow for creating pending tasks quickly.

At endpoint level we have set some owner which becomes task owner when task gets created. Sometimes owner is user group. And they are receiving this mail as well. e.g. account is being requested for abc and xyz is task owner, we are receiving 2 emails. In beneficiary email, all ${user.<>} are resolved to beneficiary abc and in another email all ${user.<>} are resolved to owner xyz. 

Account name remains same.

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 you find this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.

NM
Valued Contributor II
Valued Contributor II

Hi @Sairam_k , on endpoint level have you set new account with beneficiary?

Try to set "new account"