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: string (uri) href of the provided link
- rel: string relationship with the returned resourceExample:
self
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: string (uri) href of the provided link
- rel: string relationship with the returned resourceExample:
self
400 Response
Bad request
401 Response
Unauthorized
404 Response
Task list not found
500 Response
Internal Server Error