public interface UpdateExternalTaskRetriesBuilder extends UpdateExternalTaskRetriesSelectBuilder
Modifier and Type | Method and Description |
---|---|
void |
set(int retries)
Sets the retries for external tasks.
|
Batch |
setAsync(int retries)
Sets the retries for external tasks asynchronously as batch.
|
externalTaskIds, externalTaskIds, externalTaskQuery, historicProcessInstanceQuery, processInstanceIds, processInstanceIds, processInstanceQuery
void set(int retries)
null
message is created.
If the old value is 0 and the new value is greater than 0, an existing incident
is resolved.retries
- BadUserRequestException
- If no external tasks are found
If a external task id is set to nullAuthorizationException
- thrown if the current user does not possess any of the following permissions:
BadUserRequestException
- When the affected instances count exceeds the maximum results limit. A maximum results
limit can be specified with the process engine configuration property
queryMaxResultsLimit
(default Integer.MAX_VALUE
).
Please use the batch operation setAsync(int)
instead.Batch setAsync(int retries)
null
message is created.
If the old value is 0 and the new value is greater than 0, an existing incident
is resolved.retries
- BadUserRequestException
- If no external tasks are found or if a external task id is set to nullAuthorizationException
- if the user has no Permissions.CREATE
or
BatchPermissions.CREATE_BATCH_SET_EXTERNAL_TASK_RETRIES
permission on Resources.BATCH
.Copyright © 2021. All rights reserved.