Perform Action on Task

put

/bpm/api/4.0/tasks/{id}

Performs the action on a specific task identifier, 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, ACQUIRE, RELEASE, PUSHBACK, ERROR, ADHOC_ROUTE, INFO_REQUEST, INFO_SUBMIT, SKIP_CURRENT_ASSIGNMENT, SAVE and ESCALATE. Custom Actions depend on the task definition.

Request

Path Parameters
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : action
Type: object
Show Source
Nested Schema : comment
Type: object
Show Source
Nested Schema : assignees
Type: array
Show Source
Nested Schema : identity
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Success . In case of PURGE, a title specifying task id successfully purged will be returned.
Body ()
Root Schema : task
Type: object
Show Source
Nested Schema : actionList
Type: array
Show Source
Nested Schema : Collection
Type: object
Show Source
Nested Schema : attachments
Type: array
Show Source
Nested Schema : comments
Type: object
Show Source
Nested Schema : taskHistories
Type: object
Show Source
Nested Schema : payload
Type: object
Show Source
Nested Schema : permissions
Type: array
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : identity
Type: object
Show Source
Nested Schema : attachment
Type: object
Show Source
Nested Schema : docAttributes
Type: array
Show Source
Nested Schema : genericMap
Type: object
Show Source
Nested Schema : comment
Type: array
Show Source
Nested Schema : comment
Type: object
Show Source
Nested Schema : taskHistory
Type: array
Show Source
Nested Schema : taskHistory
Type: object
Show Source
Nested Schema : summaryFields
Type: array
Show Source

400 Response

The tasknumber is invalid.No action will be performed.

401 Response

Unauthorized

404 Response

Task not found.

409 Response

Conflict.

500 Response

Internal Server Error
Back to Top