Petals-SE-Activiti 0.5.0

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (6)

View Page History
The mode "integration" provides different services to interact directly with the BPMN 2.0 engine embedded in the SE Activiti. It goes back over the BPMN 2.0 engine API. Available services are:
|| Interface name || Service name || Description ||
| {{Task}} | {{TaskService}} | To manage tasks of process instances |

For this version of the SE Activiti, see [the WSDL of the service|https://github.com/petalslink/petals-se-activiti/blob/petals-se-activiti-0.5.0/src/main/resources/component.wsdl] and the Activiti Java API documentation to get more information.
{tip}The namespace of interface name and service name is {{http://petals.ow2.org/components/activiti/generic/1.0}}{tip}

h2. The service "TaskService"

The service "TaskService" provides following operations:
|| Operation name || Description || Matching Activity Java API ||
| getTasks | Query tasks according to the given criteria | {{TaskService.createTaskQuery()}} |

h3. The operation "getTasks"

The search criteria are given by the following parameters, each criteria operates as a filter:
|| Parameter name || Description || Default value ||
| {{active}} | If "{{true}}", only selects tasks which are active (ie. not suspended) | {{true}} |
| {{assignee}} | Only select tasks for which the given user is a candidate. | No default value |
| {{process-instance-identifier}} | Only select tasks for the given process instance identifier. | No default value |

The operation returns a list of tasks. Each task contains:
* {{process-definition-identifier}}: the process definition identifier of the process instance associated to the current task,
* {{process-instance-identifier}}: the process instance identifier of the current task,
* {{task-identifier}}: the current task identifier that you can retrieve in the process definition.

h1. Identity service integration