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 : artifacts
Type: array
Show Source
Nested Schema : history
Type: array
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : TaskStatus
Type: object
Show Source
Nested Schema : Artifact
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : parts
Type: array
Show Source
Nested Schema : TextPart
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : Message
Type: object
Show Source
Nested Schema : metadata
Type: object
Additional Properties Allowed: true
Nested Schema : parts
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