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

Send email notification on pending task failure to end user

krecpond
New Contributor III
New Contributor III

We have an interface between Saviynt and another system that uses Saviynt APIs to create entitlements in AD via EIC. The requirement is to notify the requestor of the status of the entitlement creation on the target when the task completes. I am able to get emails on successful creation of the task. However, when the task fails (either due to connection failure or is manually discontinued via UI by an admin), the email notification does not come out.

Below is the email template content:

<br><br><span style='mso-ignore:vglayout'><img src="https://fedsso.company.com/assets/cmpn/images/cmpn_logo.png" v:shapes="Picture_x0020_1" width="200"></span><br><br> Dear ${user?.firstname} ${user?.lastname}, <br><br><span> <% if (task?.tasktype == 24 && task?.status == 3) print "Your access request to create entitlements is complete." else print "Your entitlement creation request failed." %> </span><br> <br>The following is the summary of the request(s).<br><span><br/>${entitlement} </span> <br><br><br><table style="height: 60px; width: 800px;"> <tbody style="background-color: #808080;"> <tr> <br><br> <td><span style="color: black;"><strong>Need Help?</strong> Please see our <a style="color: blue;" href="https://company.atlassian.net/wiki/spaces/IAMS/pages/675120633/Saviynt+-+How-To+User+Guides"> how-to guide </a>. If you still require assistance, open a Service Now request provided a detailed description of request. Please see our how-to guides before you contact <a style="color: blue;" href="mailto:accessSupport@company.com">accessSupport@company.com</a> </span></td> </tr> </tbody></table>

Can I get inputs on the email template to allow EIC to notify the requestor when the create entitlement task fails?

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

Use Task status api

https://documenter.getpostman.com/view/1797923/RWaLwo21?version=latest#766f6e3d-b59c-479f-b26c-a2333... 


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

krecpond
New Contributor III
New Contributor III

This method of calling the checkTaskStatus API is not useful because then the external system needs to constantly poll Saviynt for the task status. We would like for Saviynt to use its native capabilities to send the email notification on failure of tasks.

I don't think such facilities are available. 

You can create analytics report  for same & send notifications to user


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