Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

How to set Task Threshold and send notification on task failure

yatishtiwari
Regular Contributor
Regular Contributor

Hi Team,

We have a couple of requirements from the customer.

1- We want to send a notification if the task threshold limit is reached.

I think a threshold limit can be set for each task type in Security System > Provisioning Threshold.

Is it correct? Do I need to set the limit in each security system, or is there a global config? and is this limit is applied only to tasks created using access request or to tasks created via birthright rules.

2- We want to send notification on task failure when all retries are exhausted. 

In the configuration we see that we can send notification on task creation, task completion, and task discontinue. But there is no support to send mail on Task Error (When all the retries are exhausted, task goes into Error status). How can we achieve this requirement.

Please provide your insight and best practices.

Thanks,

Yatish

3 REPLIES 3

rushikeshvartak
All-Star
All-Star

1- We want to send a notification if the task threshold limit is reached.

I think a threshold limit can be set for each task type in Security System > Provisioning Threshold.

Is it correct? Do I need to set the limit in each security system, or is there a global config? and is this limit is applied only to tasks created using access request or to tasks created via birthright rules.

This is applied for irrespective task source(Request/ Rules, etc) and you can send email notification using analytics. Threshold needs to be set on each endpoint default is 5000

rushikeshvartak_0-1707504741300.png

 

2- We want to send notification on task failure when all retries are exhausted. 

In the configuration we see that we can send notification on task creation, task completion, and task discontinue. But there is no support to send mail on Task Error (When all the retries are exhausted, task goes into Error status). How can we achieve this requirement.

Use analytics report, use Reopen tasks functionality.

Reopen Tasks

When Reopen Tasks is configured as an allowed action, it re-opens a closed task for re-execution, debugging or any other analysis. When you have exhausted the maximum number of retries for a task and the associated task is still not successfully processed, use this action to re-process those failed tasks.

The Analytics query must have the columns given below:
tasks - Stores taskkey of the task to be re-opened.

Sample query:

  • Run all V2

SQL
select taskkey as tasks, STATUS , provisioningtries, 'reopenTasks' as 'Default_Action_For_Analytics' from arstasks where status=4 and PROVISIONINGTRIES>1;
 
  • Run all V1

SQL
select taskkey as tasks, STATUS , provisioningtries, 'Reopen Tasks' as 'Default_Action_For_Analytics' from arstasks where status=4 and PROVISIONINGTRIES>1;
 

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

yatishtiwari
Regular Contributor
Regular Contributor

Thank you, @rushikeshvartak.

It surely helps. Kudos to you.

Please accept answer and close thread 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.