05-23-2018 04:26 AM
Hi,
I use Eclipse with Activiti plugin.
This is my use-case :
The workflow starts with an incoming document. A first person (let's call him P1), member of group A , can select a person, (let's call him P2) member of group B to review document. P2 can either ends the workflow or sends back the document to P1.
If the document is sended back, P1 can either ends the workflow or select a person (let's call him P3), member of group C , to review the document. P3 can only ends the workflow.
But there is another possibility :
P3 can also handle another kind of incoming document. P3 can either ends the workflow or select P2 (or other group B member) to review the document. P2 can either ends the workflow or sends back the document to P3 and P3 ends the workflow.
I have a bpmn file that can handle only 2 groups. But i don't know how to update it in order to manage 3 groups with the use case above.
As there are 2 kinds of document so does it mean 2 start Event ?
And what is the difference between bpm_assigne and reviewAssignee ?
Thank you for your help
.
05-23-2018 05:19 AM
I see in java code that the workflow's ID is used to launch the workflow :
WorkflowDefinition workflowDefinition = workflowService.getDefinitionByName("activiti$activitiValidationDocumed");
...
workflowService.startWorkflow(workflowDefinition.getId(), workflowParameters);
Can i define two diagrams and choose the rigth one, depending the kind of document (ie the folder) ?
Explore our Alfresco products with the links below. Use labels to filter content by product module.