GET /rest/bpm/htm/v1/task/actions?taskIDs={string}[&actions={string}]| Name | Value Type | Description |
|---|---|---|
| taskIDs | string | Comma-separated list of IDs of human tasks for which available actions should be returned.
|
| Name | Value Type | Description |
|---|---|---|
| actions | string | Comma-separated list of actions the caller is interested in, used as a filter for the response. If not specified then information about all possible actions is returned. See the task actions response description below for a list of possible values.
|
None
The default content-type is application/json.
{ "description": "Task Actions",
"type": "object",
"properties":
{ "identifier": {"type": "string"},
"tasks":
[
{ "tkiid": {"type": "string",
"description": "Task instance ID."
},
"actions": {"type": ["string"],
"description": "List of available actions for the task instance.",
"enum":
[
"ACTION_CALLTASK",
"ACTION_CANCELCLAIM",
"ACTION_CLAIM",
"ACTION_COMPLETE",
"ACTION_COMPLETEWITHFOLLOWONTASK",
"ACTION_CREATEFAULTMESSAGE",
"ACTION_CREATEINPUTMESSAGE",
"ACTION_CREATEMESSAGE",
"ACTION_CREATEOUTPUTMESSAGE",
"ACTION_CREATEWORKITEM",
"ACTION_DELETE",
"ACTION_DELETEWORKITEM",
"ACTION_GETCUSTOMPROPERTY",
"ACTION_GETDOCUMENTATION",
"ACTION_GETFAULTMESSAGE",
"ACTION_GETFAULTNAMES",
"ACTION_GETINPUTMESSAGE",
"ACTION_GETOUTPUTMESSAGE",
"ACTION_GETROLEINFO",
"ACTION_GETTASK",
"ACTION_GETUISETTINGS",
"ACTION_RESTARTTASK",
"ACTION_RESUME",
"ACTION_SETCUSTOMPROPERTY",
"ACTION_SETFAULTMESSAGE",
"ACTION_SETINPUTMESSAGE",
"ACTION_SETOUTPUTMESSAGE",
"ACTION_SETTASKREAD",
"ACTION_STARTTASK",
"ACTION_STARTTASKASSUBTASK",
"ACTION_SUSPEND",
"ACTION_SUSPENDWITHCANCELCLAIM",
"ACTION_TERMINATE",
"ACTION_TRANSFERTOWORKBASKET",
"ACTION_TRANSFERWORKITEM",
"ACTION_UPDATE",
"ACTION_UPDATEINACTIVETASK"
]
}
}
]
}
}
| Code | Description |
|---|---|
| 200 OK | Successful completion. The list of available actions is returned.
|
| 400 Bad Request | The parameters are not valid or they are missing. |
| 404 Not Found | The resource does not exist. |
| 406 Not Acceptable | The requested content type or content encoding is not supported. |
| 500 Internal Server Error | A severe problem has occurred. Programmer's details are provided. |
7.5
Parent topic: Task Actions Resource