-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Simple user task * Timer event test * Remove timer boundary event * Simple Service Task * Review process * First release * First release Receive task * Rename * First relase Receive Event * First relase Call Activity * First relase Call Activity 2 * First relase Call Activity - simplify the scenario * First relase Conditional event * reformat * First release multi instances call activity * Change input mapping to a "real" expression * Debugging timer scenario * Multi instance call activity * Complex Call Activity * Merging inclusive Activity * Merging Parallel Activity * Move timer to 1 D * Variables test case * Multin instance user task * Multin instance service task * Multi instance service task * Split multinstance service task in 2 * Split multinstance use task in 2 * Rename * Rename the header * Rename the header * Add variable-files * Split variables in multiple test * Split test in two * Rename * Add synthesis * Update graph --------- Co-authored-by: Ingo Richtsmeier <ingo.richtsmeier@camunda.com>
- Loading branch information
1 parent
c3d3db9
commit df025ae
Showing
68 changed files
with
3,702 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Test migration | ||
|
||
Different Camunda 7 use case are describe in this folder. | ||
Status for the migration given and explained | ||
|
||
| Test | Status | Comment | | ||
|----------------------------------------|--------|---------------------| | ||
| simple-service-task | | | | ||
| simple-user-task | | | | ||
| complex-user-task | | | | ||
| merging-inclusive | | | | ||
| merging-parallel | | | | ||
| conditional-event | | | | ||
| timer-event | | | | ||
| conditional-event | | | | ||
| timer-event | | | | ||
| callactivity-complex | | | | ||
| callactivity-task | | | | ||
| multiinstances-callactivity | | | | ||
| multiinstances-service-task-loopcard | No | Not available in C8 | | ||
| multiinstances-service-task-collection | | | | ||
| multinstances-usertask -loopcard | No | Not available in C8 | | ||
| multinstances-usertask-collection | | | | ||
| parallel-user-task | | | | ||
| receive-event | | | | ||
| receive-task | | | | ||
| variables-simpletypes | | | | ||
| variables-Json | | | | ||
| variables-files | No | Not available in C8 | | ||
| history-boundary-event | | | | ||
| history-service-task | | | | ||
| history-timer-boundaryevent | | | | ||
| history-user-task | | | | ||
|
427 changes: 427 additions & 0 deletions
427
test-example-diagrams/src/main/resources/callactivity-complex/CallActivityComplex.bpmn
Large diffs are not rendered by default.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
...example-diagrams/src/main/resources/callactivity-complex/CallActivityComplex.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Call Activity Complex | ||
|
||
## Definition | ||
|
||
This process creates multiple task in a sub-sub-process, comming from different way. The migration should recreate all tasks with the correct parent | ||
|
||
automaticAcceptEurope=false | ||
listOfAccounts=["blue"] | ||
|
||
| Type | path | | ||
|----------------------|-------------------------------------------------------------------| | ||
| strait | Global Europe > Transfer World > Review | | ||
| via a different path | Global USA > Transfer USA > Review | | ||
| via a recursive path | Global USA > Global Canada > Transfer World > Review | | ||
|
||
3 tasks is waiting. | ||
|
||
To go to the instance, and have the previous execution, a second process instance, with | ||
automaticAcceptEurope=true | ||
listAccounts=["blue", "red", "green", "yellow"] | ||
and | ||
| Type | path | | ||
|----------------------|-------------------------------------------------------------------| | ||
| via a loop | path europe - Global Asia (3 instances) > Transfer World > Review | | ||
|
||
4 task is waiting for the review from Asia, 2 from USA | ||
|
||
|
||
|
||
|
||
## Expectation | ||
|
||
Two task in the Child, variables are present at the parent and at the child level | ||
|
||
## Diagram | ||
![alt text](CallActivityComplex.png "Call Activity Complex") | ||
|
||
## Follow up | ||
|
||
|
||
| Date | Who | Status | | ||
|--------------|-------|--------------| | ||
| Feb 24, 2023 | Pierre-Yves Monnet | Definition | |
Binary file added
BIN
+50.1 KB
...xample-diagrams/src/main/resources/callactivity-complex/CallActivityComplex.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions
55
...xample-diagrams/src/main/resources/callactivity-complex/CallActivityComplexAutomator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"name": "Call Activity Complex", | ||
"processId": "CallActivityComplexParent", | ||
"executions": [ | ||
{ | ||
"name": "basic call", | ||
"steps": [ | ||
{ | ||
"type": "STARTEVENT", | ||
"activityId": "Start_CallActivityComplex", | ||
"variables": { | ||
"amount": 1000, | ||
"companyAccount": "COMPANY-7HHD44F", | ||
"employeAccount": "EMPLOYEE-88833F", | ||
"employeeName": "Walter", | ||
"automaticAccept": false, | ||
"listAccounts": [ | ||
"blue" | ||
] | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "loop call", | ||
"steps": [ | ||
{ | ||
"type": "STARTEVENT", | ||
"activityId": "Start_CallActivityComplex", | ||
"variables": { | ||
"amount": 1000, | ||
"companyAccount": "COMPANY-7HHD44F", | ||
"employeAccount": "EMPLOYEE-88833F", | ||
"employeeName": "Walter", | ||
"automaticAcceptEurope": true | ||
} | ||
}, | ||
{ | ||
"type": "USERTASK", | ||
"delay": "PT0.1S", | ||
"waitingTime": "PT20S", | ||
"activityId": "Activity_DecideLevelSecretAndNumber", | ||
"variables": { | ||
"listAccounts": [ | ||
"blue", | ||
"red", | ||
"green", | ||
"yellow" | ||
] | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
169 changes: 169 additions & 0 deletions
169
test-example-diagrams/src/main/resources/callactivity-task/CallActivity.bpmn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1c11fw3" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.8.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.18.0"> | ||
<bpmn:collaboration id="parent"> | ||
<bpmn:participant id="Participant_0dl2a0j" name="Parent" processRef="CallActvityParent" /> | ||
<bpmn:participant id="Participant_1l802dq" name="Child" processRef="CallActvityChild" /> | ||
</bpmn:collaboration> | ||
<bpmn:process id="CallActvityParent" name="CallActvityParent" isExecutable="true"> | ||
<bpmn:startEvent id="Start_CallActivity" name="Start request"> | ||
<bpmn:outgoing>Flow_0clro87</bpmn:outgoing> | ||
</bpmn:startEvent> | ||
<bpmn:sequenceFlow id="Flow_0clro87" sourceRef="Start_CallActivity" targetRef="Activity_0il7un2" /> | ||
<bpmn:callActivity id="Activity_0il7un2" name="Review" calledElement="CallActvityChild"> | ||
<bpmn:extensionElements> | ||
<camunda:in source="amount" target="amountTransfer" /> | ||
<camunda:in source="companyAccount" target="accountFrom" /> | ||
<camunda:in source="employeAccount" target="accountTo" /> | ||
<camunda:out source="statusTransfer" target="statusTransferExpense" /> | ||
</bpmn:extensionElements> | ||
<bpmn:incoming>Flow_0clro87</bpmn:incoming> | ||
<bpmn:outgoing>Flow_0xmjrmo</bpmn:outgoing> | ||
</bpmn:callActivity> | ||
<bpmn:sequenceFlow id="Flow_0xmjrmo" sourceRef="Activity_0il7un2" targetRef="Event_0bpgroy" /> | ||
<bpmn:dataObjectReference id="DataObjectReference_0qu0ncw" name="amount" dataObjectRef="DataObject_17vksry" /> | ||
<bpmn:dataObject id="DataObject_17vksry" /> | ||
<bpmn:dataObjectReference id="DataObjectReference_1sj052z" name="companyAccount" dataObjectRef="DataObject_03luwmf" /> | ||
<bpmn:dataObject id="DataObject_03luwmf" /> | ||
<bpmn:dataObjectReference id="DataObjectReference_1b7agm1" name="employeAccount" dataObjectRef="DataObject_1qg00dg" /> | ||
<bpmn:dataObject id="DataObject_1qg00dg" /> | ||
<bpmn:endEvent id="Event_0bpgroy" name="End request"> | ||
<bpmn:incoming>Flow_0xmjrmo</bpmn:incoming> | ||
</bpmn:endEvent> | ||
</bpmn:process> | ||
<bpmn:process id="CallActvityChild" name="CallActvityChild" isExecutable="true"> | ||
<bpmn:parallelGateway id="Gateway_0728nlh"> | ||
<bpmn:incoming>Flow_10s1i0l</bpmn:incoming> | ||
<bpmn:outgoing>Flow_0gbpx5h</bpmn:outgoing> | ||
<bpmn:outgoing>Flow_0571gwx</bpmn:outgoing> | ||
</bpmn:parallelGateway> | ||
<bpmn:startEvent id="Event_1y4u8md" name="Start child"> | ||
<bpmn:outgoing>Flow_10s1i0l</bpmn:outgoing> | ||
</bpmn:startEvent> | ||
<bpmn:parallelGateway id="Gateway_0xd9o82"> | ||
<bpmn:incoming>Flow_16ih6xv</bpmn:incoming> | ||
<bpmn:incoming>Flow_0m3sk5g</bpmn:incoming> | ||
<bpmn:outgoing>Flow_043vv98</bpmn:outgoing> | ||
</bpmn:parallelGateway> | ||
<bpmn:userTask id="Activity_child_Review" name="Review"> | ||
<bpmn:incoming>Flow_0gbpx5h</bpmn:incoming> | ||
<bpmn:outgoing>Flow_16ih6xv</bpmn:outgoing> | ||
</bpmn:userTask> | ||
<bpmn:userTask id="Activity_child_validate" name="Validate"> | ||
<bpmn:incoming>Flow_0571gwx</bpmn:incoming> | ||
<bpmn:outgoing>Flow_0m3sk5g</bpmn:outgoing> | ||
</bpmn:userTask> | ||
<bpmn:endEvent id="Event_0o3oltq" name="End child"> | ||
<bpmn:incoming>Flow_043vv98</bpmn:incoming> | ||
</bpmn:endEvent> | ||
<bpmn:sequenceFlow id="Flow_10s1i0l" sourceRef="Event_1y4u8md" targetRef="Gateway_0728nlh" /> | ||
<bpmn:sequenceFlow id="Flow_0gbpx5h" sourceRef="Gateway_0728nlh" targetRef="Activity_child_Review" /> | ||
<bpmn:sequenceFlow id="Flow_0571gwx" sourceRef="Gateway_0728nlh" targetRef="Activity_child_validate" /> | ||
<bpmn:sequenceFlow id="Flow_16ih6xv" sourceRef="Activity_child_Review" targetRef="Gateway_0xd9o82" /> | ||
<bpmn:sequenceFlow id="Flow_0m3sk5g" sourceRef="Activity_child_validate" targetRef="Gateway_0xd9o82" /> | ||
<bpmn:sequenceFlow id="Flow_043vv98" sourceRef="Gateway_0xd9o82" targetRef="Event_0o3oltq" /> | ||
</bpmn:process> | ||
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | ||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="parent"> | ||
<bpmndi:BPMNShape id="Participant_0dl2a0j_di" bpmnElement="Participant_0dl2a0j" isHorizontal="true"> | ||
<dc:Bounds x="129" y="40" width="910" height="338" /> | ||
<bpmndi:BPMNLabel /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_CallActivity"> | ||
<dc:Bounds x="179" y="142" width="36" height="36" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="165" y="185" width="64" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Activity_1r726xf_di" bpmnElement="Activity_0il7un2"> | ||
<dc:Bounds x="480" y="120" width="100" height="80" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="DataObjectReference_0qu0ncw_di" bpmnElement="DataObjectReference_0qu0ncw"> | ||
<dc:Bounds x="212" y="45" width="36" height="50" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="212" y="102" width="38" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="DataObjectReference_1sj052z_di" bpmnElement="DataObjectReference_1sj052z"> | ||
<dc:Bounds x="262" y="65" width="36" height="50" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="237" y="122" width="86" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="DataObjectReference_1b7agm1_di" bpmnElement="DataObjectReference_1b7agm1"> | ||
<dc:Bounds x="332" y="85" width="36" height="50" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="309" y="142" width="83" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Event_0bpgroy_di" bpmnElement="Event_0bpgroy"> | ||
<dc:Bounds x="802" y="142" width="36" height="36" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="790" y="185" width="61" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_0clro87_di" bpmnElement="Flow_0clro87"> | ||
<di:waypoint x="215" y="160" /> | ||
<di:waypoint x="480" y="160" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_0xmjrmo_di" bpmnElement="Flow_0xmjrmo"> | ||
<di:waypoint x="580" y="160" /> | ||
<di:waypoint x="802" y="160" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNShape id="Participant_1l802dq_di" bpmnElement="Participant_1l802dq" isHorizontal="true"> | ||
<dc:Bounds x="129" y="410" width="719" height="250" /> | ||
<bpmndi:BPMNLabel /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Gateway_192zt6g_di" bpmnElement="Gateway_0728nlh"> | ||
<dc:Bounds x="235" y="485" width="50" height="50" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Event_1y4u8md_di" bpmnElement="Event_1y4u8md"> | ||
<dc:Bounds x="172" y="492" width="36" height="36" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="166" y="535" width="49" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Gateway_0e9z3p3_di" bpmnElement="Gateway_0xd9o82"> | ||
<dc:Bounds x="505" y="485" width="50" height="50" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Activity_0of7zcf_di" bpmnElement="Activity_child_Review"> | ||
<dc:Bounds x="330" y="470" width="100" height="80" /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Activity_161kx11_di" bpmnElement="Activity_child_validate"> | ||
<dc:Bounds x="330" y="570" width="100" height="80" /> | ||
<bpmndi:BPMNLabel /> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNShape id="Event_0o3oltq_di" bpmnElement="Event_0o3oltq"> | ||
<dc:Bounds x="652" y="492" width="36" height="36" /> | ||
<bpmndi:BPMNLabel> | ||
<dc:Bounds x="647" y="535" width="46" height="14" /> | ||
</bpmndi:BPMNLabel> | ||
</bpmndi:BPMNShape> | ||
<bpmndi:BPMNEdge id="Flow_10s1i0l_di" bpmnElement="Flow_10s1i0l"> | ||
<di:waypoint x="208" y="510" /> | ||
<di:waypoint x="235" y="510" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_0gbpx5h_di" bpmnElement="Flow_0gbpx5h"> | ||
<di:waypoint x="285" y="510" /> | ||
<di:waypoint x="330" y="510" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_0571gwx_di" bpmnElement="Flow_0571gwx"> | ||
<di:waypoint x="260" y="535" /> | ||
<di:waypoint x="260" y="610" /> | ||
<di:waypoint x="330" y="610" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_16ih6xv_di" bpmnElement="Flow_16ih6xv"> | ||
<di:waypoint x="430" y="510" /> | ||
<di:waypoint x="505" y="510" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_0m3sk5g_di" bpmnElement="Flow_0m3sk5g"> | ||
<di:waypoint x="430" y="610" /> | ||
<di:waypoint x="530" y="610" /> | ||
<di:waypoint x="530" y="535" /> | ||
</bpmndi:BPMNEdge> | ||
<bpmndi:BPMNEdge id="Flow_043vv98_di" bpmnElement="Flow_043vv98"> | ||
<di:waypoint x="555" y="510" /> | ||
<di:waypoint x="652" y="510" /> | ||
</bpmndi:BPMNEdge> | ||
</bpmndi:BPMNPlane> | ||
</bpmndi:BPMNDiagram> | ||
</bpmn:definitions> |
28 changes: 28 additions & 0 deletions
28
test-example-diagrams/src/main/resources/callactivity-task/CallActivity.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Call Activity | ||
|
||
## Definition | ||
Two process, a parent and a child. Parent has a call activity, and during the call, different variables are passed. | ||
|
||
| Parent variable | Type | Child variable | | ||
|-----------------|----------|-------------------| | ||
| amount | Double | amountTransfer | | ||
| companyAccount | String | accountFrom | | ||
| employeeAccount | String | accountTo | | ||
| employeeName | String | *not transfered* | | ||
|
||
|
||
|
||
|
||
## Expectation | ||
|
||
Two task in the Child, variables are present at the parent and at the child level | ||
|
||
## Diagram | ||
![alt text](CallActivity.png "Call Activity") | ||
|
||
## Follow up | ||
|
||
|
||
| Date | Who | Status | | ||
|--------------|-------|--------------| | ||
| Feb 16, 2023 | Pierre-Yves Monnet | Definition | |
Binary file added
BIN
+23.6 KB
test-example-diagrams/src/main/resources/callactivity-task/CallActivity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions
21
test-example-diagrams/src/main/resources/callactivity-task/CallActivityAutomator.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"name": "Call Activity", | ||
"processId": "CallActvityParent", | ||
"executions": [ | ||
{ | ||
"name": "Call Activity", | ||
"steps": [ | ||
{ | ||
"type": "STARTEVENT", | ||
"activityId": "Start_CallActivity", | ||
"variables": { | ||
"amount": 1000, | ||
"companyAccount": "COMPANY-7HHD44F", | ||
"employeAccount": "EMPLOYEE-88833F", | ||
"employeeName": "Walter" | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.