04-28-2016 05:41 AM
05-02-2016 02:32 AM
What happens to a process instance when the retry counter reaches zero?retries is set to 0. You can fetch jobs with no retries left.
is it possible to manually retry such a task (e.g. through an API call)?yes, e.g.
/**
* Forced synchronous execution of a job (eg. for administation or testing)
* The job will be executed, even if the process definition and/or the process instance
* is in suspended state.
*
* @param jobId id of the job to execute, cannot be null.
* @throws ActivitiObjectNotFoundException when there is no job with the given id.
*/
void executeJob(String jobId);
05-02-2016 02:43 AM
List<Job> failedJobs = managementService.createJobQuery()
.withException().noRetriesLeft()
.orderByJobDuedate().desc().list();
And then re-run those jobs with executeJob(). As the documentation says, this will run the job synchronously, in the thread that calls the executeJob() method.Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.