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

Revocation Email is not getting triggered

Knight
New Contributor
New Contributor

Hi,

Revocation mail is not triggered after revocation of account/entitlement through campaign.

Any Suggestions on this.

Please find below Email configuration and logs.

TO:

<% if (task.endpoint.id==262 || task.endpoint.id==1108 || task.endpoint.id==1106) print "redacted" else print "redacted" %>

CC:

<% if (task.endpoint.id==262 || task.endpoint.id==1108 || task.endpoint.id==1106) print "redacted" else print "redacted" %>

 

Body:

<!DOCTYPE html> <html> <head> <title></title> </head> <body> Caller: Saviynt<br> <br> Incident type: Request for Service<br> <br> Category: User Accounts<br> <br> Subcategory: Saviynt<br> <br> Detail: Modify Account<br> <br> BU Requesting Service: CITG - Corporate Information Technology Group<br> <br> Assignment group: ${task?.endpoint?.customproperty5}<br> <br> Title: Account or Entitlement Revoke<br> <br> WorkNotes: This ticket was created as part of the revocation performed from the ${campaign?.campaignName}<br> <br> Employee First Name: ${user?.firstname}<br> <br> Employee Last Name: ${user?.lastname}<br> <br> Employee Number / GlobalID: ${user?.username}<br> <br> Application Name: ${task?.endpoint?.displayName}<br> <br> Account Name: ${task?.accountName}<br> <br> Entitlement Name:${task?.entitlement_valueKey?.entitlement_value}<br> <br> Request Description:<br> <br> Request Comments: ${task?.comments}<br> </body> </html>

 

8 REPLIES 8

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @Knight,

Could you please check if task completeion email is been added at the endpoint.
PFA screenshot for reference,

sudeshjaiswal_0-1702618850253.png

Thanks.

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

Rajesh-R
Saviynt Employee
Saviynt Employee

@Knight -

I hope you are trying the Revoke Notifications under Campaign Configurations.

Could you try with the following configurations:

 

To:
${(task?.endpoint==262 || task?.endpoint==1108 || task?.endpoint==1106)?'redacted':'redacted'}

Cc:
${(task?.endpoint==262 || task?.endpoint==1108 || task?.endpoint==1106)?'redacted':'redacted'}

Body:

<!DOCTYPE html> <html> <head> <title></title> </head> <body> Caller: Saviynt<br> <br> Incident type: Request for Service<br> <br> Category: User Accounts<br> <br> Subcategory: Saviynt<br> <br> Detail: Modify Account<br> <br> BU Requesting Service: CITG - Corporate Information Technology Group<br> <br> Assignment group: ${task?.endpoint?.customproperty5}<br> <br> Title: Account or Entitlement Revoke<br> <br> WorkNotes: This ticket was created as part of the revocation performed from the ${campaign?.campaignName}<br> <br> Employee First Name: ${users?.firstname}<br> <br> Employee Last Name: ${users?.lastname}<br> <br> Employee Number / GlobalID: ${users?.username}<br> <br> Application Name: ${task?.endpoint?.displayName}<br> <br> Account Name: ${task?.accountName}<br> <br> Entitlement Name:${task?.entitlement_valueKey?.entitlement_value}<br> <br> Request Description:<br> <br> Request Comments: ${task?.comments}<br> </body> </html>

 


Thanks
Rajesh Ramalingam
Saviynt India

Hey @Rajesh-R

 

I have configured email template as you mentioned. still, revocation mails are not triggering.

rushikeshvartak
All-Star
All-Star

Where is this template attached ? Global config / endpoint level / wf level


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

sk
All-Star
All-Star

@Knight : Couple of issues

  • To get user details you need to use users object instead of user. Please replace all user attributes with users
  • As per attached logs I see an issue with your SMTP, Looks like your SMTP connection is failing please validate(javax.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.1 Relaying denied )

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

Knight
New Contributor
New Contributor

Hi @sk ,

1. We are using a email distribution list. We can't use users object there.

2. We don't have problem with our smtp connection. As other mails are triggering as expected.

 

thanks!

@Knight : I am talking about employee firstname, lastname and employee number details. Please use below body and see if that works

<!DOCTYPE html> <html> <head> <title></title> </head> <body> Caller: Saviynt<br> <br> Incident type: Request for Service<br> <br> Category: User Accounts<br> <br> Subcategory: Saviynt<br> <br> Detail: Modify Account<br> <br> BU Requesting Service: CITG - Corporate Information Technology Group<br> <br> Assignment group: ${task?.endpoint?.customproperty5}<br> <br> Title: Account or Entitlement Revoke<br> <br> WorkNotes: This ticket was created as part of the revocation performed from the ${campaign?.campaignName}<br> <br> Employee First Name: ${users?.firstname}<br> <br> Employee Last Name: ${users?.lastname}<br> <br> Employee Number / GlobalID: ${users?.username}<br> <br> Application Name: ${task?.endpoint?.displayName}<br> <br> Account Name: ${task?.accountName}<br> <br> Entitlement Name:${task?.entitlement_valueKey?.entitlement_value}<br> <br> Request Description:<br> <br> Request Comments: ${task?.comments}<br> </body> </html>

 


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

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Helllo @Knight,

Could you please try add some dummy template, at the below config under 
Create CampaignCreate Campaign-->Basic Campaign Notification-->Revoke Task Email Template
And check if the mail is getting triggered or not.

 

 

sudeshjaiswal_0-1704946603974.png

 
Thanks

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