Perform Bulk Action on Tasks
put
/bpm/api/4.0/tasks
Performs the action on multiple tasks based on the payload. The following actions are available and the actions depend on the application: APPROVE, REJECT, REASSIGN, DELEGATE, WITHDRAW, SUSPEND, RESUME, DELETE, PURGE and ESCALATE. Custom Actions depend on the task definition.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
action: object
action
-
comment: object
comment
-
comments: string
-
defaultActionForGroupVote: string
applicable only when routingType is Parallel
-
priority: integer
(int32)
-
routingAction: string
Only applicable for ADHOC_ROUTE. Accepts the custom action to be performed before routing the task.
-
routingType: string
allowed values are Simple,Sequential and Parallel
-
tasks: array
tasks
list of task numbers
-
voterPercentage: integer
applicable only when routingType is Parallel
Nested Schema : Link
Type:
Show Source
object
-
href(required): string
-
rel(required): string
Allowed Values:
[ "self", "cancel", "forceCancel", "hold", "release", "subscribe", "permissions", "executionStatus" ]
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : Collection
Type:
Show Source
object
-
count: integer
(int32)
-
hasMore: boolean
Default Value:
false
-
items: array
items
-
limit: integer
(int32)
-
links: array
links
-
offset: integer
(int32)
-
totalResult: boolean
Default Value:
false
-
userLink: object
Link
Nested Schema : Link
Type:
Show Source
object
-
href(required): string
-
rel(required): string
Allowed Values:
[ "self", "cancel", "forceCancel", "hold", "release", "subscribe", "permissions", "executionStatus" ]
400 Response
Bad request
401 Response
Unauthorized
404 Response
Task list not found
500 Response
Internal Server Error