Petals-SE-Activiti 0.9.0-SNAPSHOT

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

Changes (15)

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 ||
| {{Runtime}} {{ProcessInstances}} | {{RuntimeService}} {{ProcessInstancesService}} | To manage process instances |
| {{Task}} | {{TaskService}} | To manage tasks of process instances |

{color:red}*A completer avec Bertrand*{color}

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 "RuntimeService" "ProcessInstanceService"

The service "RuntimeService" "ProcessInstancesService" provides following operations
|| Operation name || Description || Matching Activity Java API ||
| startProcessInstanceById | Starts a new process instance in the latest version of the process definition with the given id and variables. | {{RuntimeService.startProcessInstanceById(String, Map<String,Object>)}} |
| startProcessInstanceByKey | Starts a new process instance in the latest version of the process definition with the given key and variables. | {{RuntimeService.startProcessInstanceByKey(String, Map<String,Object>)}} |
| {{getProcessInstances}} | Query process instances according to the given criteria. |

{color:red}*A completer avec Bertrand*{color}
h3. The operation "getProcessInstances"

The search criteria are given by the following parameters. Each criteria operates as a filter.

|| Parameter name || Description || Default value ||
| {{active}} | If "{{true}}", only select process instances which are active, which means that neither the process instance nor the corresponding process definition are suspended | {{true}} |
| {{process-definition-identifier}} | Process instances returned must match this process definition identifier. | No default value |
| {{process-instance-identifier}} | Only the process instance matching this identifier is returned. | No default value |

h2. The service "TaskService"

The service "TaskService" provides following operations
|| Operation name || Description || Matching Activity Java API ||
| complete | Called when the task is successfully executed, and the required task parameters are given by the end-user. | {{TaskService.complete(String, Map<String,Object>)}} |
| getTasks | Query tasks according to the given criteria | {{TaskService.createTaskQuery()}} |

{color:red}*A completer avec Bertrand*{color}

h1. Identity service integration