ActivitiResource
Resource for integration of Activiti with the CMS. Usage of this resource requires the feature activiti_integration to be activated.
The following resources are applicable:
/activiti/processqueue
Mount Point: /CNPortletapp/rest/activiti/processqueue
GET
Get the entries in the process queue.
Parameters
| name | description | type | default |
|---|---|---|---|
| objtypes | For which object types to load the process queues, or an empty list to retrieve entries for all types (default). | query | |
| states | Only entries with one of these states will be returned or an empty list to retrieve entries of all states (default). | query | |
| sortby | The field to sort the results by, or an empty string to disable sorting. | query | |
| sortorder | Whether to sort ascending or descending (anything other than desc will be interpreted as asc | query | asc |
Response Body
| element: | processQueueResponse |
| media types: | */* application/xml application/json |
The list of entries in the process queues.
/activiti/status
Mount Point: /CNPortletapp/rest/activiti/status
GET
Get the activiti integration status
Response Body
| element: | genericResponse |
| media types: | */* application/xml application/json |
status
/activiti/task/{id}
Mount Point: /CNPortletapp/rest/activiti/task/{id}
The following operations are supported on this resource:
GET
Get the pages assigned to the given task
Parameters
| name | description | type | default |
|---|---|---|---|
| id | task ID | path |
Response Body
| element: | pageTaskListResponse |
| media types: | */* application/xml application/json |
response containing the assigned pages
POST
Assign a page to the given task
Parameters
| name | description | type | default |
|---|---|---|---|
| id | task ID | path |
Request Body
| element: | pageTask |
| media types: | */* application/xml application/json |
assigned page and event info
Response Body
| element: | genericResponse |
| media types: | */* application/xml application/json |
generic response
DELETE
Delete all assignments for a given task
Parameters
| name | description | type | default |
|---|---|---|---|
| id | task ID | path |
Response Body
| element: | genericResponse |
| media types: | */* application/xml application/json |
generic response