Details
-
Feature Request
-
Resolution: Won't Do
-
Major
-
None
-
None
-
None
-
False
-
False
-
0
-
0%
-
Undefined
-
---
-
---
Description
As part of conversation with cnicolai we concluded that it'll be interesting to provide some task management operations in a similar way we have for the processes.
These operations are intended for integrators, or applications like the task console, the kogito task assigning integration, etc., that needs to access the tasks in management mode.
e.g.
1) task transitioning as administrator
POST /management/tasks/
{processId}/instances/{processInstanceId}/tasks/{workitemId}/transition@QueryParam -> phase
@QueryParam -> user
Payload -> json representation of the task model
2) task information as administrator
GET /management/tasks/{processId}
/instances/
{processInstanceId}/tasks/
{workitemId}returns the json representation of the task model.
3) any other, maybe task schema operations, etc.
The task management operations are made available by including in the generated kogito services by including the process-management-addon. (or a separate task-management-addon in case it could make sense to have it splitted.)