Is there an option to recover and resubmit a task automatically?
search cancel

Is there an option to recover and resubmit a task automatically?

book

Article ID: 44268

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

Is there a way to have a failed task automatically be resubmitted?

 

 

 

Environment

Release: Identity Manager 14.3, 14.4
Component:

Resolution

There is not a way to automatically resubmit a task on failure during normal runtime but we do offer several resubmission options as described in the documentation here:


Resubmit Stuck In-Progress Tasks on Server Restart

All the tasks that are stuck in your environment can be automatically resubmitted on server restart.

 

Follow these steps:

 

 

Log in to the Identity Manager User Console.Click Configurations
 
Configure Task Resubmission Policy
 
Under Task resubmission policy for server restart, configure the following parameters:
 
Select Automatically resubmit 'In Progress' tasks after server restart to automatically resubmit in-progress tasks after server restart.
 
Specify the age of tasks that you want to resubmit, in days and hours.
 
Specify the interval between the resubmission of tasks, in minutes and seconds.
 
Specify the number of tasks to be resubmitted.
 
Click 
Submit

 
The task resubmission policy is configured to automatically resubmit stuck in-progress tasks on server restart.

 

Resubmit Stuck In-Progress Tasks Manually

 

 

An administrator can manually resubmit tasks that are stuck in-progress state due to various reasons. The stuck in-progress tasks can be resubmitted immediately or at a scheduled time. The status of the resubmitted tasks can be viewed from View Submitted Tasks.

 

 

The following sections guide you to resubmit stuck in-progress tasks manually:

 

Pre-Configurations 

 

 

Consider configuring the following properties before resubmitting stuck in-progress tasks:

 

 

ThreadPoolSize
 
The ThreadPoolSize property lets you control the rate of flow of stuck in-progress tasks resubmission. Default value is 30. 
 
ResultPageLimit
 
The ResultPageLimit property determines the number of search results to be displayed per page. Default value is 50.
 
You can modify the value of these properties in the Configuration Properties tab of Resubmit Tasks admin task:
 
Log in to the CA Identity Manager User Console.
 
Navigate to Roles and Tasks

Admin Tasks

Modify Admin Tasks
 
Search and select Resubmit Tasks of System category.
 
In the Profile tab, click Configuration Properties

In the ThreadPoolSize / ResultPageLimit property field, enter a desired value. 
 
Click OK

Click Submit

 

Resubmit Stuck In-Progress Tasks Immediately
 
To resubmit in-progress tasks immediately, follow these steps: 

 

 

 

 

Log in to the Identity Manager User Console.Navigate to System, Task Run Time Management

Resubmit Tasks
Specify the search criteria to list stuck in-progress tasks that are pending for resubmission, and click Search

Select tasks that you want to resubmit and click Submit

 
Note:
In the list of searched tasks, click the pencil icon corresponding to a task to view its details (Task History, Identity Policy Violations, Included Events).
You can check the status of the resubmission by navigating to System

View Submitted Tasks

 

Resubmit Stuck In-Progress Tasks at Scheduled Interval 

 

 

To schedule stuck in-progress tasks for resubmission at a later time, follow these steps: 

 

 

Log in to the Identity Manager User Console. Add the Schedule tab to the admin task: 
Resubmit Tasks (of category System). 
 
Note:
By default, the Schedule tab will not appear in the Resubmit Tasks screen unlike in the previous releases. To schedule stuck in-progress tasks for resubmission at a later time, you must manually add the Schedule tab in the 
Resubmit Task (of category System) Admin Task. On upgrading to the current release, the resubmit task schedule configurations from previous releases are void.
 
Navigate to System, Task Run Time Management, Resubmit Tasks

Specify the search criteria to list stuck in-progress tasks that are pending for resubmission, and click Search

A list of tasks with status as In Progress are displayed.
 
Select tasks that you want to resubmit. Next, select Scheduled Execution and select a date and time to submit the selected stuck in-progress tasks.
 
Note: Depending on the tab controller you select, the look-and-feel of the screen varies. Submit the changes.
 
You can check the status of the resubmission by navigating to System, View Submitted Tasks 

 

 

Resubmit Pending Provisioning Events

The existing Resubmit Tasks feature is redesigned to simplify and improve the performance of pending tasks resubmission. The following amendments are made:

The performance limitation with 30-seconds delay between task resubmissions that existed in the previous releases is eliminated. With this change, the Resubmission Policy configuration of Resubmit Tasks
 is removed from the Identity Manager User Console. On upgrading to the current release, the Resubmission Policy configurations from previous releases are void.By default, the Schedule tab will not appear in the 
Resubmit Tasks screen unlike in the previous releases. To schedule provisioning events for resubmission at a later point of time, you must manually add the Schedule tab in the Resubmit Task
Admin Task. On upgrading to the current release, the resubmit task schedule configurations from previous releases are void.

 

 

An administrator can resubmit provisioning events that are pending for completion. The provisioning events can be resubmitted immediately or at a scheduled time. The status of the resubmitted events can be viewed from View Submitted Tasks.

 

 

Pre-ConfigurationsResubmit Pending Provisioning Events ImmediatelyResubmit Pending Provisioning Events at Scheduled Interval

 

 

 

Pre-Configurations

 

 

Consider configuring the following properties before resubmitting the pending provisioning events:

 

 

ThreadPoolSize
 
The ThreadPoolSize property lets you control the rate of flow of pending tasks resubmission. Default value is 30. 
 
 
ResultPageLimit
 
The ResultPageLimit property determines the number of search results to be displayed per page. Default value is 50.
 
 
You can modify the value of these properties in the Configuration Properties tab of Resubmit Tasks admin task:
 
Log in to the Identity Manager User Console.
 
Navigate to Roles and Tasks, Admin Tasks, Modify Admin Tasks
 
Search and select Resubmit Tasks of Endpoints category.
 
In the Profile tab, click Configuration Properties

 
In the ThreadPoolSize / ResultPageLimit property field, enter a desired value. 
 
Click OK.
 
Click Submit

 

Resubmit Pending Provisioning Events Immediately

 

 

To resubmit pending provisioning events immediately, follow these steps:

 

 

Log in to the Identity Manager User Console.Navigate to Endpoints, Manage Offline Endpoints, Resubmit Tasks
 
Specify the search criteria to list provisioning events that are pending for resubmission, and click Search

A list of provisioning events with status as Pending for Resubmission are displayed. You can perform any of the following actions:
 
Select the events that you want to resubmit and click Submit

Select the pencil icon corresponding to an event that you want to resubmit. All the task details (Task History, Identity Policy Violations, Included Events, Initiated Tasks, Prerequisite Tasks, and Subsequent Tasks) of the selected event are displayed. When you click 
Resubmit this Task, the task gets resubmitted.
 
If there are any events to be canceled, click Cancel Tasks.
 
You can check the status of the resubmission by navigating to System, View Submitted Tasks

 

Resubmit Pending Provisioning Events at Scheduled Interval
 
To schedule provisioning events for resubmission at a later time, follow these steps:

 

 

 

Log in to the Identity Manager User Console.

Add the Schedule tab to the admin task: 

Resubmit Tasks 

(of category Endpoints). 

 

 

 

Note: By default, the Schedule tab will not appear in the Resubmit Tasks screen unlike in the previous releases. To schedule provisioning events for resubmission at a later  time, you must manually add the Schedule tab in the Resubmit Task Admin Task. On upgrading to the current release, the resubmit task schedule configurations from previous releases are void.

Navigate to Endpoints, Manage Offline Endpoints, Resubmit Tasks

 

Specify the search criteria to list provisioning events that are pending for resubmission, and click Search

 

 

A list of provisioning events with status as Pending for Resubmission are displayed.

Select the events that you want to resubmit. 

Next, select Scheduled Execution and select a date and time to submit the selected pending events.

 

 

 

Note: Depending on the tab controller you select, the look-and-feel of the screen varies. Submit the changes. You can check the status of the resubmission by navigating to System, View Submitted Tasks