mirror of
https://github.com/sartography/sample-process-models.git
synced 2025-02-24 13:48:10 +00:00
added qa models to sample env
This commit is contained in:
parent
a7c453c3cf
commit
b85b2d457d
49
misc/qa/check-date-format/check-date-format.bpmn
Normal file
49
misc/qa/check-date-format/check-date-format.bpmn
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_ynixgwm" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Date - {{delivery_date}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:userTask id="Activity_0qpzdpu" name="Date Sample">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser></spiffworkflow:instructionsForEndUser>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="date-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="date-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_ynixgwm">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_048sh2g_di" bpmnElement="Activity_0qpzdpu">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
3
misc/qa/check-date-format/date-exampledata.json
Normal file
3
misc/qa/check-date-format/date-exampledata.json
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"delivery_date": "03-Jan-2024"
|
||||||
|
}
|
11
misc/qa/check-date-format/date-schema.json
Normal file
11
misc/qa/check-date-format/date-schema.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"title": "Date",
|
||||||
|
"description": "Create a date field with a date picker (delivery_date).",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"delivery_date": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Preferred Delivery Date"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
6
misc/qa/check-date-format/date-uischema.json
Normal file
6
misc/qa/check-date-format/date-uischema.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"delivery_date": {
|
||||||
|
"ui:widget": "date",
|
||||||
|
"ui:help": "Specify the preferred delivery date for this service/product"
|
||||||
|
}
|
||||||
|
}
|
9
misc/qa/check-date-format/process_model.json
Normal file
9
misc/qa/check-date-format/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Check Date Format",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "check-date-format.bpmn",
|
||||||
|
"primary_process_id": "Process_ynixgwm"
|
||||||
|
}
|
@ -0,0 +1,134 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Boundary_timerTest" name="Boundary Timer Cycle 1 hour" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_03cjfaf</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_03cjfaf" sourceRef="StartEvent_1" targetRef="Activity_0vgleas" />
|
||||||
|
<bpmn:manualTask id="Activity_1srzp3m" name="Manual Task 1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_05rihnz</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_06bd9o5</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_06bd9o5" sourceRef="Activity_1srzp3m" targetRef="Activity_10h1lpx" />
|
||||||
|
<bpmn:manualTask id="Activity_10h1lpx" name="Manual Task 2">
|
||||||
|
<bpmn:incoming>Flow_06bd9o5</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0m6u4vx</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:endEvent id="Event_1cwvfg5">
|
||||||
|
<bpmn:incoming>Flow_0m6u4vx</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0m6u4vx" sourceRef="Activity_10h1lpx" targetRef="Event_1cwvfg5" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1gocky9" sourceRef="Event_0qno7p0" targetRef="Event_0szrdsd" />
|
||||||
|
<bpmn:scriptTask id="Activity_0fl3nit" name="Get End Time">
|
||||||
|
<bpmn:incoming>Flow_0wbbohc</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1ewa0em</bpmn:outgoing>
|
||||||
|
<bpmn:script>end_time = round(time.time() * 1000)
|
||||||
|
|
||||||
|
try:
|
||||||
|
duration = round((end_time-start_time)/1000/60/60)
|
||||||
|
start_time = end_time
|
||||||
|
except:
|
||||||
|
duration = 0
|
||||||
|
start_time = end_time
|
||||||
|
|
||||||
|
</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:endEvent id="Event_1afuaij">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Duration: {{duration}} hours</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1ewa0em</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1ewa0em" sourceRef="Activity_0fl3nit" targetRef="Event_1afuaij" />
|
||||||
|
<bpmn:boundaryEvent id="Event_0qno7p0" name="Timer Boundary Cycle 1 hour" attachedToRef="Activity_1srzp3m">
|
||||||
|
<bpmn:outgoing>Flow_1gocky9</bpmn:outgoing>
|
||||||
|
<bpmn:timerEventDefinition id="TimerEventDefinition_0jaup7z">
|
||||||
|
<bpmn:timeCycle xsi:type="bpmn:tFormalExpression">"R6/PT2M"</bpmn:timeCycle>
|
||||||
|
</bpmn:timerEventDefinition>
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_05rihnz" sourceRef="Activity_0vgleas" targetRef="Activity_1srzp3m" />
|
||||||
|
<bpmn:scriptTask id="Activity_0vgleas" name="Get Start Time">
|
||||||
|
<bpmn:incoming>Flow_03cjfaf</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_05rihnz</bpmn:outgoing>
|
||||||
|
<bpmn:script>start_time = round(time.time() * 1000)
|
||||||
|
duration = 0</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_0szrdsd" name="Timer Triggered">
|
||||||
|
<bpmn:incoming>Flow_1gocky9</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0wbbohc</bpmn:outgoing>
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0wbbohc" sourceRef="Event_0szrdsd" targetRef="Activity_0fl3nit" />
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Boundary_timerTest">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="52" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1d3fcqh_di" bpmnElement="Activity_1srzp3m">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_17qqvkx_di" bpmnElement="Activity_10h1lpx">
|
||||||
|
<dc:Bounds x="430" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1cwvfg5_di" bpmnElement="Event_1cwvfg5">
|
||||||
|
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1c48tn3_di" bpmnElement="Activity_0fl3nit">
|
||||||
|
<dc:Bounds x="420" y="260" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1afuaij_di" bpmnElement="Event_1afuaij">
|
||||||
|
<dc:Bounds x="572" y="282" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_12ndrlg_di" bpmnElement="Activity_0vgleas">
|
||||||
|
<dc:Bounds x="130" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0szrdsd_di" bpmnElement="Event_0szrdsd">
|
||||||
|
<dc:Bounds x="342" y="282" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="323" y="325" width="77" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_13q1v2i_di" bpmnElement="Event_0qno7p0">
|
||||||
|
<dc:Bounds x="332" y="199" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="314" y="242" width="78" height="27" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_03cjfaf_di" bpmnElement="Flow_03cjfaf">
|
||||||
|
<di:waypoint x="88" y="177" />
|
||||||
|
<di:waypoint x="130" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_06bd9o5_di" bpmnElement="Flow_06bd9o5">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="430" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0m6u4vx_di" bpmnElement="Flow_0m6u4vx">
|
||||||
|
<di:waypoint x="530" y="177" />
|
||||||
|
<di:waypoint x="592" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1gocky9_di" bpmnElement="Flow_1gocky9">
|
||||||
|
<di:waypoint x="350" y="235" />
|
||||||
|
<di:waypoint x="350" y="285" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1ewa0em_di" bpmnElement="Flow_1ewa0em">
|
||||||
|
<di:waypoint x="520" y="300" />
|
||||||
|
<di:waypoint x="572" y="300" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_05rihnz_di" bpmnElement="Flow_05rihnz">
|
||||||
|
<di:waypoint x="230" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0wbbohc_di" bpmnElement="Flow_0wbbohc">
|
||||||
|
<di:waypoint x="378" y="300" />
|
||||||
|
<di:waypoint x="420" y="300" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Boundary cycle timer",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "boundary-cycle-timer.bpmn",
|
||||||
|
"primary_process_id": "Boundary_timerTest"
|
||||||
|
}
|
@ -0,0 +1,52 @@
|
|||||||
|
<?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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_call_activity_test_1_az94iwq" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_1w9hd2i" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:incoming>Flow_0yb35nr</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0yb35nr" sourceRef="Activity_1l3sfen" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1706dpg" sourceRef="Activity_1w9hd2i" targetRef="Activity_1l3sfen" />
|
||||||
|
<bpmn:manualTask id="Activity_1w9hd2i" name="Manual Task 1">
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1706dpg</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:callActivity id="Activity_1l3sfen" name="Call activity 1" calledElement="Process_simple_form_1_fgbpu4e">
|
||||||
|
<bpmn:incoming>Flow_1706dpg</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0yb35nr</bpmn:outgoing>
|
||||||
|
</bpmn:callActivity>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_call_activity_test_1_az94iwq">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="2" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0u7be9i_di" bpmnElement="Activity_1w9hd2i">
|
||||||
|
<dc:Bounds x="80" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1f490xu_di" bpmnElement="Activity_1l3sfen">
|
||||||
|
<dc:Bounds x="260" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="38" y="177" />
|
||||||
|
<di:waypoint x="80" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0yb35nr_di" bpmnElement="Flow_0yb35nr">
|
||||||
|
<di:waypoint x="360" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1706dpg_di" bpmnElement="Flow_1706dpg">
|
||||||
|
<di:waypoint x="180" y="177" />
|
||||||
|
<di:waypoint x="260" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Call Activity Test 1",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "call-activity-test-1.bpmn",
|
||||||
|
"primary_process_id": "Process_call_activity_test_1_az94iwq"
|
||||||
|
}
|
@ -0,0 +1,94 @@
|
|||||||
|
<?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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Process_fszvjmr" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1" name="Start">
|
||||||
|
<bpmn:outgoing>Flow_1oxhvnl</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1oxhvnl" sourceRef="StartEvent_1" targetRef="Activity_07t9kr7" />
|
||||||
|
<bpmn:userTask id="Activity_07t9kr7" name="User Task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="get-age-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="get-age-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1oxhvnl</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0d4a536</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:endEvent id="Event_1npxvnu" name="Age Under 18">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Age Under 18</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_08oszrq</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:endEvent id="Event_1xryfak" name="Age Over 18">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Age Over 18</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1e1m65w</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0d4a536" sourceRef="Activity_07t9kr7" targetRef="Activity_03gngrd" />
|
||||||
|
<bpmn:manualTask id="Activity_03gngrd" name="Manual Task">
|
||||||
|
<bpmn:incoming>Flow_0d4a536</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_08oszrq</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1e1m65w" sourceRef="Event_1oxyvr4" targetRef="Event_1xryfak" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_08oszrq" sourceRef="Activity_03gngrd" targetRef="Event_1npxvnu" />
|
||||||
|
<bpmn:boundaryEvent id="Event_1oxyvr4" attachedToRef="Activity_03gngrd">
|
||||||
|
<bpmn:outgoing>Flow_1e1m65w</bpmn:outgoing>
|
||||||
|
<bpmn:conditionalEventDefinition id="ConditionalEventDefinition_00hst1c">
|
||||||
|
<bpmn:condition>age>18</bpmn:condition>
|
||||||
|
</bpmn:conditionalEventDefinition>
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Process_fszvjmr">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="185" y="202" width="25" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1lmvmzd_di" bpmnElement="Activity_07t9kr7">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1npxvnu_di" bpmnElement="Event_1npxvnu">
|
||||||
|
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="578" y="202" width="67" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1ymr8l7_di" bpmnElement="Activity_03gngrd">
|
||||||
|
<dc:Bounds x="430" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1xryfak_di" bpmnElement="Event_1xryfak">
|
||||||
|
<dc:Bounds x="592" y="312" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="583" y="355" width="61" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0sszxdd_di" bpmnElement="Event_1oxyvr4">
|
||||||
|
<dc:Bounds x="462" y="199" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1oxhvnl_di" bpmnElement="Flow_1oxhvnl">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0d4a536_di" bpmnElement="Flow_0d4a536">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="430" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1e1m65w_di" bpmnElement="Flow_1e1m65w">
|
||||||
|
<di:waypoint x="480" y="235" />
|
||||||
|
<di:waypoint x="480" y="330" />
|
||||||
|
<di:waypoint x="592" y="330" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_08oszrq_di" bpmnElement="Flow_08oszrq">
|
||||||
|
<di:waypoint x="530" y="177" />
|
||||||
|
<di:waypoint x="592" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"title": "Get Age",
|
||||||
|
"description": "",
|
||||||
|
"properties": {
|
||||||
|
"age": {
|
||||||
|
"type": "number",
|
||||||
|
"title": "age"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": []
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"ui:order": [
|
||||||
|
"age"
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Conditional Boundary Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "conditional-boundary-event.bpmn",
|
||||||
|
"primary_process_id": "Test_Process_fszvjmr"
|
||||||
|
}
|
@ -0,0 +1,82 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_unit_test_call_activity_with_data_input_p1lxz2w" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0c9i0i9" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>a = {{a}}
|
||||||
|
b = {{b}}
|
||||||
|
c = {{c}}
|
||||||
|
DataObject1 = {{DataObject1}}
|
||||||
|
out_var = {{out_var }}
|
||||||
|
out_do = {{out_do }}
|
||||||
|
x = {{x}}
|
||||||
|
y = {{y }}
|
||||||
|
z = {{z}}
|
||||||
|
</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_08kl02t</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1rarzy3" sourceRef="Activity_0c9i0i9" targetRef="Activity_1eulh1n" />
|
||||||
|
<bpmn:scriptTask id="Activity_0c9i0i9" name="Set variables">
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1rarzy3</bpmn:outgoing>
|
||||||
|
<bpmn:script>a = 10
|
||||||
|
b = 20
|
||||||
|
c = 30
|
||||||
|
DataObject1 = 40</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_08kl02t" sourceRef="Activity_1nwte4g" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:callActivity id="Activity_1nwte4g" name="Call activity" calledElement="Process_61t2nai">
|
||||||
|
<bpmn:incoming>Flow_1le43z8</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_08kl02t</bpmn:outgoing>
|
||||||
|
</bpmn:callActivity>
|
||||||
|
<bpmn:dataObject id="DataObject1" name="DataObject1" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1le43z8" sourceRef="Activity_1eulh1n" targetRef="Activity_1nwte4g" />
|
||||||
|
<bpmn:manualTask id="Activity_1eulh1n" name="Manual Task">
|
||||||
|
<bpmn:incoming>Flow_1rarzy3</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1le43z8</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_unit_test_call_activity_with_data_input_p1lxz2w">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="12" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1c1mbom_di" bpmnElement="Activity_0c9i0i9">
|
||||||
|
<dc:Bounds x="100" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0r2eits_di" bpmnElement="Activity_1nwte4g">
|
||||||
|
<dc:Bounds x="430" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_083it92_di" bpmnElement="Activity_1eulh1n">
|
||||||
|
<dc:Bounds x="250" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="48" y="177" />
|
||||||
|
<di:waypoint x="100" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1rarzy3_di" bpmnElement="Flow_1rarzy3">
|
||||||
|
<di:waypoint x="200" y="177" />
|
||||||
|
<di:waypoint x="250" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_08kl02t_di" bpmnElement="Flow_08kl02t">
|
||||||
|
<di:waypoint x="530" y="177" />
|
||||||
|
<di:waypoint x="592" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1le43z8_di" bpmnElement="Flow_1le43z8">
|
||||||
|
<di:waypoint x="350" y="177" />
|
||||||
|
<di:waypoint x="430" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,87 @@
|
|||||||
|
<?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" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_61t2nai" name="Data Input Data Output" isExecutable="true">
|
||||||
|
<bpmn:ioSpecification>
|
||||||
|
<bpmn:dataInput id="c" name="c" />
|
||||||
|
<bpmn:dataOutput id="out_var" name="out_var" />
|
||||||
|
<bpmn:dataOutput id="out_var2" name="out_var2" />
|
||||||
|
<bpmn:inputSet>
|
||||||
|
<bpmn:dataInputRefs>c</bpmn:dataInputRefs>
|
||||||
|
</bpmn:inputSet>
|
||||||
|
<bpmn:outputSet>
|
||||||
|
<bpmn:dataOutputRefs>out_var</bpmn:dataOutputRefs>
|
||||||
|
<bpmn:dataOutputRefs>out_var2</bpmn:dataOutputRefs>
|
||||||
|
</bpmn:outputSet>
|
||||||
|
</bpmn:ioSpecification>
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_09hkd0k</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_09hkd0k" sourceRef="StartEvent_1" targetRef="Activity_085cxzd" />
|
||||||
|
<bpmn:endEvent id="Event_034r1cr">
|
||||||
|
<bpmn:incoming>Flow_1ify8am</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1ify8am" sourceRef="Activity_02td1aj" targetRef="Event_034r1cr" />
|
||||||
|
<bpmn:scriptTask id="Activity_02td1aj" name="Set out var">
|
||||||
|
<bpmn:incoming>Flow_1gmhpzp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1ify8am</bpmn:outgoing>
|
||||||
|
<bpmn:script>out_var = c
|
||||||
|
out_var2 = "Hello"
|
||||||
|
x = 1
|
||||||
|
y = 2
|
||||||
|
z = 3</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1gmhpzp" sourceRef="Activity_085cxzd" targetRef="Activity_02td1aj" />
|
||||||
|
<bpmn:manualTask id="Activity_085cxzd" name="Manual">
|
||||||
|
<bpmn:incoming>Flow_09hkd0k</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1gmhpzp</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_61t2nai">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="52" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_034r1cr_di" bpmnElement="Event_034r1cr">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0f899s0_di" bpmnElement="Activity_02td1aj">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0v5e7wu_di" bpmnElement="Activity_085cxzd">
|
||||||
|
<dc:Bounds x="110" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="DataInput-840727991-1DI" bpmnElement="c">
|
||||||
|
<dc:Bounds x="82" y="15" width="36" height="50" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="98" y="72" width="6" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="DataOutput-377783936-1DI" bpmnElement="out_var">
|
||||||
|
<dc:Bounds x="542" y="15" width="36" height="50" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="542" y="72" width="38" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="DataOutput-191437675-1DI" bpmnElement="out_var2">
|
||||||
|
<dc:Bounds x="702" y="15" width="36" height="50" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="699" y="72" width="43" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_09hkd0k_di" bpmnElement="Flow_09hkd0k">
|
||||||
|
<di:waypoint x="88" y="177" />
|
||||||
|
<di:waypoint x="110" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1ify8am_di" bpmnElement="Flow_1ify8am">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1gmhpzp_di" bpmnElement="Flow_1gmhpzp">
|
||||||
|
<di:waypoint x="210" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Data Input Output",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "data-input-output.bpmn",
|
||||||
|
"primary_process_id": "Process_unit_test_call_activity_with_data_input_p1lxz2w"
|
||||||
|
}
|
143
misc/qa/madhu-testing/data-object/data-object.bpmn
Normal file
143
misc/qa/madhu-testing/data-object/data-object.bpmn
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Data_Object" name="Unit Test Data Object" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_0g3wx86</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0g3wx86" sourceRef="StartEvent_1" targetRef="Activity_0zpx5lj" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1ktcieo" sourceRef="Activity_0nr77uq" targetRef="Activity_01jyc3c" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_12nn551" sourceRef="Activity_01jyc3c" targetRef="Activity_0k75ihn" />
|
||||||
|
<bpmn:endEvent id="Event_0182ql8">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>DataObjectA = {{DataObjectA}}
|
||||||
|
|
||||||
|
ReadDataObjectA = {{ReadDataObjectA}}
|
||||||
|
|
||||||
|
NonDataObjectVar= {{NonDataObjectVar}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1xasdk4</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1xwrfm9" sourceRef="Activity_0k75ihn" targetRef="Activity_0whpffk" />
|
||||||
|
<bpmn:scriptTask id="Activity_0nr77uq" name="Create DO">
|
||||||
|
<bpmn:incoming>Flow_0tuiw0m</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1ktcieo</bpmn:outgoing>
|
||||||
|
<bpmn:dataOutputAssociation id="DataOutputAssociation_1hhrr0y">
|
||||||
|
<bpmn:targetRef>DataObjectReference_19u7ict</bpmn:targetRef>
|
||||||
|
</bpmn:dataOutputAssociation>
|
||||||
|
<bpmn:script>DataObjectA = "Red (dataobject)"
|
||||||
|
NonDataObjectVar = "Blue (var)"</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:scriptTask id="Activity_0k75ihn" name="Access DO">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>DataObjectAVal = {{DataObjectA}}
|
||||||
|
|
||||||
|
ReadDataObjectA = {{ReadDataObjectA}}
|
||||||
|
|
||||||
|
NonDataObjectVar= {{NonDataObjectVar}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_12nn551</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1xwrfm9</bpmn:outgoing>
|
||||||
|
<bpmn:property id="Property_0ikcqpx" name="__targetRef_placeholder" />
|
||||||
|
<bpmn:dataInputAssociation id="DataInputAssociation_1qk5yyt">
|
||||||
|
<bpmn:sourceRef>DataObjectReference_19u7ict</bpmn:sourceRef>
|
||||||
|
<bpmn:targetRef>Property_0ikcqpx</bpmn:targetRef>
|
||||||
|
</bpmn:dataInputAssociation>
|
||||||
|
<bpmn:script>ReadDataObjectA = DataObjectA</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:dataObjectReference id="DataObjectReference_19u7ict" name="Data Object A" dataObjectRef="DataObjectA" />
|
||||||
|
<bpmn:dataObject id="DataObjectA" />
|
||||||
|
<bpmn:manualTask id="Activity_01jyc3c" name="Check DO">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>DataObjectAVal = {{DataObjectA}}
|
||||||
|
|
||||||
|
NonDataObjectVar = {{NonDataObjectVar}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1ktcieo</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12nn551</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:manualTask id="Activity_0whpffk" name="Check DO">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>DataObjectAVal = {{DataObjectA}}
|
||||||
|
|
||||||
|
ReadDataObjectA = {{ReadDataObjectA}}
|
||||||
|
|
||||||
|
NonDataObjectVar = {{NonDataObjectVar}}
|
||||||
|
|
||||||
|
*NOTE : When a Data Object inserts data, it also automatically removes it on completion of the Task. So it'll not be available in the next task*</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1xwrfm9</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1xasdk4</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1xasdk4" sourceRef="Activity_0whpffk" targetRef="Event_0182ql8" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0tuiw0m" sourceRef="Activity_0zpx5lj" targetRef="Activity_0nr77uq" />
|
||||||
|
<bpmn:manualTask id="Activity_0zpx5lj">
|
||||||
|
<bpmn:incoming>Flow_0g3wx86</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0tuiw0m</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Data_Object">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-268" y="152" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0182ql8_di" bpmnElement="Event_0182ql8">
|
||||||
|
<dc:Bounds x="602" y="152" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0dxki77_di" bpmnElement="Activity_0nr77uq">
|
||||||
|
<dc:Bounds x="-20" y="130" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0yf058g_di" bpmnElement="Activity_0k75ihn">
|
||||||
|
<dc:Bounds x="300" y="130" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="DataObjectReference_19u7ict_di" bpmnElement="DataObjectReference_19u7ict">
|
||||||
|
<dc:Bounds x="182" y="-25" width="36" height="50" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="165" y="-49" width="69" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0fm3dcu_di" bpmnElement="Activity_01jyc3c">
|
||||||
|
<dc:Bounds x="140" y="130" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="BPMNShape_001z6z5" bpmnElement="Activity_0whpffk">
|
||||||
|
<dc:Bounds x="450" y="130" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_05v24jf_di" bpmnElement="Activity_0zpx5lj">
|
||||||
|
<dc:Bounds x="-180" y="130" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0g3wx86_di" bpmnElement="Flow_0g3wx86">
|
||||||
|
<di:waypoint x="-232" y="170" />
|
||||||
|
<di:waypoint x="-180" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1ktcieo_di" bpmnElement="Flow_1ktcieo">
|
||||||
|
<di:waypoint x="80" y="170" />
|
||||||
|
<di:waypoint x="140" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12nn551_di" bpmnElement="Flow_12nn551">
|
||||||
|
<di:waypoint x="240" y="170" />
|
||||||
|
<di:waypoint x="300" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1xwrfm9_di" bpmnElement="Flow_1xwrfm9">
|
||||||
|
<di:waypoint x="400" y="170" />
|
||||||
|
<di:waypoint x="450" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1xasdk4_di" bpmnElement="Flow_1xasdk4">
|
||||||
|
<di:waypoint x="550" y="170" />
|
||||||
|
<di:waypoint x="602" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0tuiw0m_di" bpmnElement="Flow_0tuiw0m">
|
||||||
|
<di:waypoint x="-80" y="170" />
|
||||||
|
<di:waypoint x="-20" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="DataOutputAssociation_1hhrr0y_di" bpmnElement="DataOutputAssociation_1hhrr0y">
|
||||||
|
<di:waypoint x="70" y="130" />
|
||||||
|
<di:waypoint x="182" y="20" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="DataInputAssociation_1qk5yyt_di" bpmnElement="DataInputAssociation_1qk5yyt">
|
||||||
|
<di:waypoint x="218" y="25" />
|
||||||
|
<di:waypoint x="301" y="137" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
9
misc/qa/madhu-testing/data-object/process_model.json
Normal file
9
misc/qa/madhu-testing/data-object/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Data Object",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "data-object.bpmn",
|
||||||
|
"primary_process_id": "Test_Data_Object"
|
||||||
|
}
|
124
misc/qa/madhu-testing/error-end-event/error-end-event.bpmn
Normal file
124
misc/qa/madhu-testing/error-end-event/error-end-event.bpmn
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Error_End_Event" name="Error End Event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_18ukgzd</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:subProcess id="Activity_0n4e0tn">
|
||||||
|
<bpmn:incoming>Flow_18ukgzd</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1rr61kt</bpmn:outgoing>
|
||||||
|
<bpmn:startEvent id="Event_1gesdpq">
|
||||||
|
<bpmn:outgoing>Flow_096at9h</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_096at9h" sourceRef="Event_1gesdpq" targetRef="Manual_Task1" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_185dc20" sourceRef="Manual_Task1" targetRef="Event_10s3161" />
|
||||||
|
<bpmn:endEvent id="Event_10s3161">
|
||||||
|
<bpmn:incoming>Flow_185dc20</bpmn:incoming>
|
||||||
|
<bpmn:errorEventDefinition id="ErrorEventDefinition_0c29ucp" errorRef="Error1" />
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:manualTask id="Manual_Task1" name="Manual Task 1">
|
||||||
|
<bpmn:incoming>Flow_096at9h</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_185dc20</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:subProcess>
|
||||||
|
<bpmn:sequenceFlow id="Flow_18ukgzd" sourceRef="StartEvent_1" targetRef="Activity_0n4e0tn" />
|
||||||
|
<bpmn:endEvent id="Event_0viq88i" name="End">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1rr61kt</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1rr61kt" sourceRef="Activity_0n4e0tn" targetRef="Event_0viq88i" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0bozrpx" sourceRef="Event_0c5f8ir" targetRef="Manual_Task2" />
|
||||||
|
<bpmn:endEvent id="Event_0wpaj63" name="End Error End Event Path">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Error End Event Unit Test. {{msg1}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_157odr8</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_157odr8" sourceRef="Manual_Task2" targetRef="Event_0wpaj63" />
|
||||||
|
<bpmn:boundaryEvent id="Event_0c5f8ir" attachedToRef="Activity_0n4e0tn">
|
||||||
|
<bpmn:outgoing>Flow_0bozrpx</bpmn:outgoing>
|
||||||
|
<bpmn:errorEventDefinition id="ErrorEventDefinition_0s8xzf7" errorRef="Error1" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:manualTask id="Manual_Task2" name="Manual Task 2">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Payload : {{msg1}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0bozrpx</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_157odr8</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:error id="Error1" name="Error1" errorCode="Err1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:payloadExpression>{
|
||||||
|
"err_msg" : "error occured 11"
|
||||||
|
}</spiffworkflow:payloadExpression>
|
||||||
|
<spiffworkflow:variableName>msg1</spiffworkflow:variableName>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:error>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Error_End_Event">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-138" y="122" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0n4e0tn_di" bpmnElement="Activity_0n4e0tn" isExpanded="true">
|
||||||
|
<dc:Bounds x="-40" y="40" width="350" height="200" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1gesdpq_di" bpmnElement="Event_1gesdpq">
|
||||||
|
<dc:Bounds x="0" y="122" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1bfbpqi_di" bpmnElement="Event_10s3161">
|
||||||
|
<dc:Bounds x="252" y="122" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0hjewr3_di" bpmnElement="Manual_Task1">
|
||||||
|
<dc:Bounds x="90" y="100" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_096at9h_di" bpmnElement="Flow_096at9h">
|
||||||
|
<di:waypoint x="36" y="140" />
|
||||||
|
<di:waypoint x="90" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_185dc20_di" bpmnElement="Flow_185dc20">
|
||||||
|
<di:waypoint x="190" y="140" />
|
||||||
|
<di:waypoint x="252" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNShape id="Event_0viq88i_di" bpmnElement="Event_0viq88i">
|
||||||
|
<dc:Bounds x="372" y="122" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="380" y="165" width="20" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0wpaj63_di" bpmnElement="Event_0wpaj63">
|
||||||
|
<dc:Bounds x="372" y="302" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="355" y="345" width="70" height="27" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1cw077d_di" bpmnElement="Manual_Task2">
|
||||||
|
<dc:Bounds x="210" y="280" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_10oux6f_di" bpmnElement="Event_0c5f8ir">
|
||||||
|
<dc:Bounds x="122" y="222" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_18ukgzd_di" bpmnElement="Flow_18ukgzd">
|
||||||
|
<di:waypoint x="-102" y="140" />
|
||||||
|
<di:waypoint x="-40" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1rr61kt_di" bpmnElement="Flow_1rr61kt">
|
||||||
|
<di:waypoint x="310" y="140" />
|
||||||
|
<di:waypoint x="372" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0bozrpx_di" bpmnElement="Flow_0bozrpx">
|
||||||
|
<di:waypoint x="140" y="258" />
|
||||||
|
<di:waypoint x="140" y="320" />
|
||||||
|
<di:waypoint x="210" y="320" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_157odr8_di" bpmnElement="Flow_157odr8">
|
||||||
|
<di:waypoint x="310" y="320" />
|
||||||
|
<di:waypoint x="372" y="320" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
9
misc/qa/madhu-testing/error-end-event/process_model.json
Normal file
9
misc/qa/madhu-testing/error-end-event/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Error End Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "error-end-event.bpmn",
|
||||||
|
"primary_process_id": "Test_Error_End_Event"
|
||||||
|
}
|
@ -0,0 +1,272 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Process_u4aju4d" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_13cu1a9</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:subProcess id="Activity_1m98dsc">
|
||||||
|
<bpmn:incoming>Flow_13cu1a9</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1gd1445</bpmn:outgoing>
|
||||||
|
<bpmn:startEvent id="Event_0a6pzba">
|
||||||
|
<bpmn:outgoing>Flow_0744r03</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0744r03" sourceRef="Event_0a6pzba" targetRef="Activity_1mw85jp" />
|
||||||
|
<bpmn:userTask id="Activity_1mw85jp" name="Select Favorite Fruit">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="favorite-fruit-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="favorite-fruit-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0744r03</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_05t2ucr</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:exclusiveGateway id="Gateway_1a7kf2d" default="Flow_0ui9hzp">
|
||||||
|
<bpmn:incoming>Flow_05t2ucr</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1az2piy</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_0vjfxf1</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_0ui9hzp</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_18rgyr0</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
<bpmn:sequenceFlow id="Flow_05t2ucr" sourceRef="Activity_1mw85jp" targetRef="Gateway_1a7kf2d" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1az2piy" sourceRef="Gateway_1a7kf2d" targetRef="Event_11urc28">
|
||||||
|
<bpmn:conditionExpression>favoriteFruit=="Apples"</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0vjfxf1" sourceRef="Gateway_1a7kf2d" targetRef="Event_18t7avz">
|
||||||
|
<bpmn:conditionExpression>favoriteFruit=="Oranges"</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:endEvent id="Event_1v9c3q7">
|
||||||
|
<bpmn:incoming>Flow_1iqq5gq</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0ui9hzp" sourceRef="Gateway_1a7kf2d" targetRef="Activity_155thjy" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_18rgyr0" sourceRef="Gateway_1a7kf2d" targetRef="Event_0rq5np3">
|
||||||
|
<bpmn:conditionExpression>favoriteFruit=="Bananas"</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:endEvent id="Event_11urc28">
|
||||||
|
<bpmn:incoming>Flow_1az2piy</bpmn:incoming>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_0p40lqs" escalationRef="BuyApples" />
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:endEvent id="Event_18t7avz">
|
||||||
|
<bpmn:incoming>Flow_0vjfxf1</bpmn:incoming>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_1v1td1u" escalationRef="BuyOranges" />
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:endEvent id="Event_0rq5np3">
|
||||||
|
<bpmn:incoming>Flow_18rgyr0</bpmn:incoming>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_1x9wory" escalationRef="BuyBananas" />
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1iqq5gq" sourceRef="Activity_155thjy" targetRef="Event_1v9c3q7" />
|
||||||
|
<bpmn:manualTask id="Activity_155thjy" name="Buying Nothing">
|
||||||
|
<bpmn:incoming>Flow_0ui9hzp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1iqq5gq</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:subProcess>
|
||||||
|
<bpmn:sequenceFlow id="Flow_13cu1a9" sourceRef="StartEvent_1" targetRef="Activity_1m98dsc" />
|
||||||
|
<bpmn:endEvent id="Event_1i7xm2i">
|
||||||
|
<bpmn:incoming>Flow_1gd1445</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1gd1445" sourceRef="Activity_1m98dsc" targetRef="Event_1i7xm2i" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0mq0mxr" sourceRef="Event_1ugcbt4" targetRef="Activity_0lhmq8p" />
|
||||||
|
<bpmn:endEvent id="Event_0kl9ul5">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Escalation Boundary Event. Buying Bananas.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0mbzsdq</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0mbzsdq" sourceRef="Activity_0lhmq8p" targetRef="Event_0kl9ul5" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1hxqdoe" sourceRef="Event_0n2ph3o" targetRef="Activity_0ur8n7h" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1jqj1rb" sourceRef="Event_1t8y3cd" targetRef="Activity_1ofdx0w" />
|
||||||
|
<bpmn:endEvent id="Event_0khdsgu">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Escalation Boundary Event. Buying Oranges.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_11ry633</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_11ry633" sourceRef="Activity_0ur8n7h" targetRef="Event_0khdsgu" />
|
||||||
|
<bpmn:endEvent id="Event_1h4f5du">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Escalation Boundary Event. Buying Apples.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_16zvfsr</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_16zvfsr" sourceRef="Activity_1ofdx0w" targetRef="Event_1h4f5du" />
|
||||||
|
<bpmn:boundaryEvent id="Event_1t8y3cd" attachedToRef="Activity_1m98dsc">
|
||||||
|
<bpmn:outgoing>Flow_1jqj1rb</bpmn:outgoing>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_0muac54" escalationRef="BuyApples" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:boundaryEvent id="Event_1ugcbt4" attachedToRef="Activity_1m98dsc">
|
||||||
|
<bpmn:outgoing>Flow_0mq0mxr</bpmn:outgoing>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_1jsdytl" escalationRef="BuyBananas" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:manualTask id="Activity_0lhmq8p" name="Buying Bananas">
|
||||||
|
<bpmn:incoming>Flow_0mq0mxr</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0mbzsdq</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:manualTask id="Activity_0ur8n7h" name="Buying Oranges">
|
||||||
|
<bpmn:incoming>Flow_1hxqdoe</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_11ry633</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:manualTask id="Activity_1ofdx0w" name="Buying Apples">
|
||||||
|
<bpmn:incoming>Flow_1jqj1rb</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_16zvfsr</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:boundaryEvent id="Event_0n2ph3o" cancelActivity="false" attachedToRef="Activity_1m98dsc">
|
||||||
|
<bpmn:outgoing>Flow_1hxqdoe</bpmn:outgoing>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_04hvvpj" escalationRef="BuyOranges" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:escalation id="BuyApples" name="BuyApples" escalationCode="ESC_Apples">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:payloadExpression>{
|
||||||
|
"msg": "Buy Apples"
|
||||||
|
} </spiffworkflow:payloadExpression>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:escalation>
|
||||||
|
<bpmn:escalation id="BuyOranges" name="BuyOranges" escalationCode="ESC_Oranges">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:payloadExpression> {
|
||||||
|
"msg": "Buy Oranges"
|
||||||
|
} </spiffworkflow:payloadExpression>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:escalation>
|
||||||
|
<bpmn:escalation id="BuyBananas" name="BuyBananas" escalationCode="ESC_Bananas">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:payloadExpression> {
|
||||||
|
"msg": "Buy Bananas"
|
||||||
|
} </spiffworkflow:payloadExpression>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:escalation>
|
||||||
|
<bpmn:escalation id="Escalation_1" name="Escalation_1" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Process_u4aju4d">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-598" y="152" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1m98dsc_di" bpmnElement="Activity_1m98dsc" isExpanded="true">
|
||||||
|
<dc:Bounds x="-480" y="10" width="590" height="430" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0a6pzba_di" bpmnElement="Event_0a6pzba">
|
||||||
|
<dc:Bounds x="-440" y="152" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_129rly0_di" bpmnElement="Activity_1mw85jp">
|
||||||
|
<dc:Bounds x="-350" y="130" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_1a7kf2d_di" bpmnElement="Gateway_1a7kf2d" isMarkerVisible="true">
|
||||||
|
<dc:Bounds x="-195" y="145" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1v9c3q7_di" bpmnElement="Event_1v9c3q7">
|
||||||
|
<dc:Bounds x="42" y="52" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1v7gaf2_di" bpmnElement="Event_11urc28">
|
||||||
|
<dc:Bounds x="-88" y="152" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_13s3l8w_di" bpmnElement="Event_18t7avz">
|
||||||
|
<dc:Bounds x="-88" y="242" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_03jqrs4_di" bpmnElement="Event_0rq5np3">
|
||||||
|
<dc:Bounds x="-88" y="332" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1xlox85_di" bpmnElement="Activity_155thjy">
|
||||||
|
<dc:Bounds x="-110" y="30" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0744r03_di" bpmnElement="Flow_0744r03">
|
||||||
|
<di:waypoint x="-404" y="170" />
|
||||||
|
<di:waypoint x="-350" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_05t2ucr_di" bpmnElement="Flow_05t2ucr">
|
||||||
|
<di:waypoint x="-250" y="170" />
|
||||||
|
<di:waypoint x="-195" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1az2piy_di" bpmnElement="Flow_1az2piy">
|
||||||
|
<di:waypoint x="-145" y="170" />
|
||||||
|
<di:waypoint x="-88" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0vjfxf1_di" bpmnElement="Flow_0vjfxf1">
|
||||||
|
<di:waypoint x="-170" y="195" />
|
||||||
|
<di:waypoint x="-170" y="260" />
|
||||||
|
<di:waypoint x="-88" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0ui9hzp_di" bpmnElement="Flow_0ui9hzp">
|
||||||
|
<di:waypoint x="-170" y="145" />
|
||||||
|
<di:waypoint x="-170" y="70" />
|
||||||
|
<di:waypoint x="-110" y="70" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_18rgyr0_di" bpmnElement="Flow_18rgyr0">
|
||||||
|
<di:waypoint x="-170" y="195" />
|
||||||
|
<di:waypoint x="-170" y="350" />
|
||||||
|
<di:waypoint x="-88" y="350" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1iqq5gq_di" bpmnElement="Flow_1iqq5gq">
|
||||||
|
<di:waypoint x="-10" y="70" />
|
||||||
|
<di:waypoint x="42" y="70" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNShape id="Event_1i7xm2i_di" bpmnElement="Event_1i7xm2i">
|
||||||
|
<dc:Bounds x="212" y="152" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0kl9ul5_di" bpmnElement="Event_0kl9ul5">
|
||||||
|
<dc:Bounds x="192" y="502" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0khdsgu_di" bpmnElement="Event_0khdsgu">
|
||||||
|
<dc:Bounds x="192" y="602" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1h4f5du_di" bpmnElement="Event_1h4f5du">
|
||||||
|
<dc:Bounds x="192" y="702" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0xudd4r_di" bpmnElement="Activity_0lhmq8p">
|
||||||
|
<dc:Bounds x="10" y="480" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0uhswrl_di" bpmnElement="Activity_0ur8n7h">
|
||||||
|
<dc:Bounds x="10" y="580" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0n1u61a_di" bpmnElement="Activity_1ofdx0w">
|
||||||
|
<dc:Bounds x="10" y="680" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1xhto0o_di" bpmnElement="Event_0n2ph3o">
|
||||||
|
<dc:Bounds x="-218" y="422" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1cl6ggu_di" bpmnElement="Event_1ugcbt4">
|
||||||
|
<dc:Bounds x="-78" y="422" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0yrxgzi_di" bpmnElement="Event_1t8y3cd">
|
||||||
|
<dc:Bounds x="-368" y="422" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_13cu1a9_di" bpmnElement="Flow_13cu1a9">
|
||||||
|
<di:waypoint x="-562" y="170" />
|
||||||
|
<di:waypoint x="-480" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1gd1445_di" bpmnElement="Flow_1gd1445">
|
||||||
|
<di:waypoint x="110" y="170" />
|
||||||
|
<di:waypoint x="212" y="170" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0mq0mxr_di" bpmnElement="Flow_0mq0mxr">
|
||||||
|
<di:waypoint x="-60" y="458" />
|
||||||
|
<di:waypoint x="-60" y="520" />
|
||||||
|
<di:waypoint x="10" y="520" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0mbzsdq_di" bpmnElement="Flow_0mbzsdq">
|
||||||
|
<di:waypoint x="110" y="520" />
|
||||||
|
<di:waypoint x="192" y="520" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1hxqdoe_di" bpmnElement="Flow_1hxqdoe">
|
||||||
|
<di:waypoint x="-200" y="458" />
|
||||||
|
<di:waypoint x="-200" y="620" />
|
||||||
|
<di:waypoint x="10" y="620" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1jqj1rb_di" bpmnElement="Flow_1jqj1rb">
|
||||||
|
<di:waypoint x="-350" y="458" />
|
||||||
|
<di:waypoint x="-350" y="720" />
|
||||||
|
<di:waypoint x="10" y="720" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_11ry633_di" bpmnElement="Flow_11ry633">
|
||||||
|
<di:waypoint x="110" y="620" />
|
||||||
|
<di:waypoint x="192" y="620" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_16zvfsr_di" bpmnElement="Flow_16zvfsr">
|
||||||
|
<di:waypoint x="110" y="720" />
|
||||||
|
<di:waypoint x="192" y="720" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"title": "Favorite Fruit",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"favoriteFruit": {
|
||||||
|
"title": "Select your favorite fruit",
|
||||||
|
"type": "string",
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"const": "None",
|
||||||
|
"title": "None from the list"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "Apples",
|
||||||
|
"title": "Apples"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "Oranges",
|
||||||
|
"title": "Oranges"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "Bananas",
|
||||||
|
"title": "Bananas"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
{}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Escalation Boundary Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "escalation-boundary-event.bpmn",
|
||||||
|
"primary_process_id": "Test_Process_u4aju4d"
|
||||||
|
}
|
@ -0,0 +1,171 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="test_escalation_end_event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1" name="Start">
|
||||||
|
<bpmn:outgoing>Flow_0567tda</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0567tda" sourceRef="StartEvent_1" targetRef="Activity_0sntzq9" />
|
||||||
|
<bpmn:endEvent id="Event_1ri20ev" name="End">
|
||||||
|
<bpmn:incoming>Flow_0mc1eik</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0mc1eik" sourceRef="Activity_0sntzq9" targetRef="Event_1ri20ev" />
|
||||||
|
<bpmn:subProcess id="Activity_0sntzq9">
|
||||||
|
<bpmn:incoming>Flow_0567tda</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0mc1eik</bpmn:outgoing>
|
||||||
|
<bpmn:startEvent id="Event_0xty0qw" name="Sub Process Start">
|
||||||
|
<bpmn:outgoing>Flow_1l5kuke</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1l5kuke" sourceRef="Event_0xty0qw" targetRef="Activity_05nouqi" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0nwa1gk" sourceRef="Activity_05nouqi" targetRef="Gateway_0pz2w2x" />
|
||||||
|
<bpmn:endEvent id="Event_17ib11n" name="Escalation End Event">
|
||||||
|
<bpmn:incoming>Flow_0dyf4zo</bpmn:incoming>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_122wccj" escalationRef="order_food" />
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:userTask id="Activity_05nouqi" name="Hungry?">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="hungry-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="hungry-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1l5kuke</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0nwa1gk</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:exclusiveGateway id="Gateway_0pz2w2x" default="Flow_1ln2lc8">
|
||||||
|
<bpmn:incoming>Flow_0nwa1gk</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0dyf4zo</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_1ln2lc8</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0dyf4zo" sourceRef="Gateway_0pz2w2x" targetRef="Event_17ib11n">
|
||||||
|
<bpmn:conditionExpression>hungry</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:endEvent id="Event_09rvva4">
|
||||||
|
<bpmn:incoming>Flow_1ln2lc8</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1ln2lc8" sourceRef="Gateway_0pz2w2x" targetRef="Event_09rvva4" />
|
||||||
|
</bpmn:subProcess>
|
||||||
|
<bpmn:boundaryEvent id="Event_1o75m0c" attachedToRef="Activity_0sntzq9">
|
||||||
|
<bpmn:outgoing>Flow_1mro8ct</bpmn:outgoing>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_0ps5cd0" escalationRef="order_food" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1mro8ct" sourceRef="Event_1o75m0c" targetRef="Activity_10i11ya" />
|
||||||
|
<bpmn:manualTask id="Activity_10i11ya" name="Ordering Food">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Message: {{escl.msg}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1mro8ct</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_08cr4zz</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:endEvent id="Event_0g8jbuy" name="Escalation Path End">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Escalation End Event. Escalation Path End.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_08cr4zz</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_08cr4zz" sourceRef="Activity_10i11ya" targetRef="Event_0g8jbuy" />
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:escalation id="order_food" name="order_food" escalationCode="ESC">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:variableName>escl</spiffworkflow:variableName>
|
||||||
|
<spiffworkflow:payloadExpression>{
|
||||||
|
"msg": "Order Food"
|
||||||
|
}</spiffworkflow:payloadExpression>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:escalation>
|
||||||
|
<bpmn:escalation id="Escalation_1" name="Escalation_1" escalationCode="ESC">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:variableName>escl</spiffworkflow:variableName>
|
||||||
|
<spiffworkflow:payloadExpression>{
|
||||||
|
"msg": "Order Food 11111111"
|
||||||
|
}</spiffworkflow:payloadExpression>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:escalation>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="test_escalation_end_event">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-8" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="-2" y="285" width="24" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1ri20ev_di" bpmnElement="Event_1ri20ev">
|
||||||
|
<dc:Bounds x="892" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="900" y="285" width="20" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1oefzal_di" bpmnElement="Activity_0sntzq9" isExpanded="true">
|
||||||
|
<dc:Bounds x="160" y="110" width="658" height="340" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0xty0qw_di" bpmnElement="Event_0xty0qw">
|
||||||
|
<dc:Bounds x="262" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="237" y="285" width="89" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1ajeqne_di" bpmnElement="Event_17ib11n">
|
||||||
|
<dc:Bounds x="692" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="675" y="285" width="74" height="27" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0gn1b1u_di" bpmnElement="Activity_05nouqi">
|
||||||
|
<dc:Bounds x="360" y="220" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_0pz2w2x_di" bpmnElement="Gateway_0pz2w2x" isMarkerVisible="true">
|
||||||
|
<dc:Bounds x="555" y="235" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_09rvva4_di" bpmnElement="Event_09rvva4">
|
||||||
|
<dc:Bounds x="692" y="352" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1l5kuke_di" bpmnElement="Flow_1l5kuke">
|
||||||
|
<di:waypoint x="298" y="260" />
|
||||||
|
<di:waypoint x="360" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0nwa1gk_di" bpmnElement="Flow_0nwa1gk">
|
||||||
|
<di:waypoint x="460" y="260" />
|
||||||
|
<di:waypoint x="555" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0dyf4zo_di" bpmnElement="Flow_0dyf4zo">
|
||||||
|
<di:waypoint x="605" y="260" />
|
||||||
|
<di:waypoint x="692" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1ln2lc8_di" bpmnElement="Flow_1ln2lc8">
|
||||||
|
<di:waypoint x="580" y="285" />
|
||||||
|
<di:waypoint x="580" y="370" />
|
||||||
|
<di:waypoint x="692" y="370" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1svej5a_di" bpmnElement="Activity_10i11ya">
|
||||||
|
<dc:Bounds x="630" y="520" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0g8jbuy_di" bpmnElement="Event_0g8jbuy">
|
||||||
|
<dc:Bounds x="782" y="542" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="763" y="585" width="77" height="27" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0jlrow5_di" bpmnElement="Event_1o75m0c">
|
||||||
|
<dc:Bounds x="542" y="432" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0567tda_di" bpmnElement="Flow_0567tda">
|
||||||
|
<di:waypoint x="28" y="260" />
|
||||||
|
<di:waypoint x="160" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0mc1eik_di" bpmnElement="Flow_0mc1eik">
|
||||||
|
<di:waypoint x="818" y="260" />
|
||||||
|
<di:waypoint x="892" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1mro8ct_di" bpmnElement="Flow_1mro8ct">
|
||||||
|
<di:waypoint x="560" y="468" />
|
||||||
|
<di:waypoint x="560" y="560" />
|
||||||
|
<di:waypoint x="630" y="560" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_08cr4zz_di" bpmnElement="Flow_08cr4zz">
|
||||||
|
<di:waypoint x="730" y="560" />
|
||||||
|
<di:waypoint x="782" y="560" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"title": "Are You Hungry",
|
||||||
|
"properties": {
|
||||||
|
"hungry": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "Hungry?",
|
||||||
|
"default": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
{}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Escalation End Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "escalation-end-event.bpmn",
|
||||||
|
"primary_process_id": "test_escalation_end_event"
|
||||||
|
}
|
@ -0,0 +1,159 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_escalation_intermediate_throw_event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1" name="Start">
|
||||||
|
<bpmn:outgoing>Flow_0567tda</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0567tda" sourceRef="StartEvent_1" targetRef="Activity_0sntzq9" />
|
||||||
|
<bpmn:endEvent id="Event_1ri20ev" name="End">
|
||||||
|
<bpmn:incoming>Flow_0mc1eik</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0mc1eik" sourceRef="Activity_0sntzq9" targetRef="Event_1ri20ev" />
|
||||||
|
<bpmn:subProcess id="Activity_0sntzq9">
|
||||||
|
<bpmn:incoming>Flow_0567tda</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0mc1eik</bpmn:outgoing>
|
||||||
|
<bpmn:startEvent id="Event_0xty0qw" name="Sub Process Start">
|
||||||
|
<bpmn:outgoing>Flow_1l5kuke</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1l5kuke" sourceRef="Event_0xty0qw" targetRef="Activity_05nouqi" />
|
||||||
|
<bpmn:manualTask id="Activity_05nouqi" name="Manual Task 1">
|
||||||
|
<bpmn:incoming>Flow_1l5kuke</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1pon694</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:endEvent id="Event_1v43be5" name="Sub Process End">
|
||||||
|
<bpmn:incoming>Flow_1l7in8z</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1pon694" sourceRef="Activity_05nouqi" targetRef="Event_1980am8" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_003d9c7" sourceRef="Event_1980am8" targetRef="Activity_0e40q4u" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1l7in8z" sourceRef="Activity_0e40q4u" targetRef="Event_1v43be5" />
|
||||||
|
<bpmn:manualTask id="Activity_0e40q4u" name="Manual Task 2">
|
||||||
|
<bpmn:incoming>Flow_003d9c7</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1l7in8z</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_1980am8" name="Escalation Throw Event">
|
||||||
|
<bpmn:incoming>Flow_1pon694</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_003d9c7</bpmn:outgoing>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_0tgbpgx" escalationRef="ThrowEscalation" />
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
</bpmn:subProcess>
|
||||||
|
<bpmn:boundaryEvent id="Event_1o75m0c" attachedToRef="Activity_0sntzq9">
|
||||||
|
<bpmn:outgoing>Flow_1mro8ct</bpmn:outgoing>
|
||||||
|
<bpmn:escalationEventDefinition id="EscalationEventDefinition_0ps5cd0" escalationRef="ThrowEscalation" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1mro8ct" sourceRef="Event_1o75m0c" targetRef="Activity_10i11ya" />
|
||||||
|
<bpmn:manualTask id="Activity_10i11ya" name="Manual Task 3">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Message: {{escl.msg}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1mro8ct</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_08cr4zz</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:endEvent id="Event_0g8jbuy" name="Escalation Path End">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Escalation Intermediate Throw Event. Escalation Path End.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_08cr4zz</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_08cr4zz" sourceRef="Activity_10i11ya" targetRef="Event_0g8jbuy" />
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:escalation id="ThrowEscalation" name="ThrowEscalation" escalationCode="ESC">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:payloadExpression>{
|
||||||
|
"msg":"Escalation Thrown"
|
||||||
|
}</spiffworkflow:payloadExpression>
|
||||||
|
<spiffworkflow:variableName>escl</spiffworkflow:variableName>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:escalation>
|
||||||
|
<bpmn:escalation id="Escalation_1" name="Escalation_1" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_escalation_intermediate_throw_event">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="52" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="58" y="285" width="24" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1ri20ev_di" bpmnElement="Event_1ri20ev">
|
||||||
|
<dc:Bounds x="772" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="780" y="285" width="20" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1oefzal_di" bpmnElement="Activity_0sntzq9" isExpanded="true">
|
||||||
|
<dc:Bounds x="160" y="110" width="530" height="300" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0xty0qw_di" bpmnElement="Event_0xty0qw">
|
||||||
|
<dc:Bounds x="192" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="167" y="285" width="89" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_09d4hs7_di" bpmnElement="Activity_05nouqi">
|
||||||
|
<dc:Bounds x="270" y="220" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1v43be5_di" bpmnElement="Event_1v43be5">
|
||||||
|
<dc:Bounds x="612" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="588" y="285" width="85" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_00gocue_di" bpmnElement="Activity_0e40q4u">
|
||||||
|
<dc:Bounds x="480" y="220" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_18uitmk_di" bpmnElement="Event_1980am8">
|
||||||
|
<dc:Bounds x="412" y="242" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="388" y="285" width="86" height="27" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1l5kuke_di" bpmnElement="Flow_1l5kuke">
|
||||||
|
<di:waypoint x="228" y="260" />
|
||||||
|
<di:waypoint x="270" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1pon694_di" bpmnElement="Flow_1pon694">
|
||||||
|
<di:waypoint x="370" y="260" />
|
||||||
|
<di:waypoint x="412" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_003d9c7_di" bpmnElement="Flow_003d9c7">
|
||||||
|
<di:waypoint x="448" y="260" />
|
||||||
|
<di:waypoint x="480" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1l7in8z_di" bpmnElement="Flow_1l7in8z">
|
||||||
|
<di:waypoint x="580" y="260" />
|
||||||
|
<di:waypoint x="612" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1svej5a_di" bpmnElement="Activity_10i11ya">
|
||||||
|
<dc:Bounds x="590" y="450" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0g8jbuy_di" bpmnElement="Event_0g8jbuy">
|
||||||
|
<dc:Bounds x="772" y="472" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="753" y="515" width="77" height="27" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0jlrow5_di" bpmnElement="Event_1o75m0c">
|
||||||
|
<dc:Bounds x="502" y="392" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0567tda_di" bpmnElement="Flow_0567tda">
|
||||||
|
<di:waypoint x="88" y="260" />
|
||||||
|
<di:waypoint x="160" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0mc1eik_di" bpmnElement="Flow_0mc1eik">
|
||||||
|
<di:waypoint x="690" y="260" />
|
||||||
|
<di:waypoint x="772" y="260" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1mro8ct_di" bpmnElement="Flow_1mro8ct">
|
||||||
|
<di:waypoint x="520" y="428" />
|
||||||
|
<di:waypoint x="520" y="490" />
|
||||||
|
<di:waypoint x="590" y="490" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_08cr4zz_di" bpmnElement="Flow_08cr4zz">
|
||||||
|
<di:waypoint x="690" y="490" />
|
||||||
|
<di:waypoint x="772" y="490" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Escalation Intermediate Throw Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "escalation-intermediate-throw-event.bpmn",
|
||||||
|
"primary_process_id": "Test_escalation_intermediate_throw_event"
|
||||||
|
}
|
113
misc/qa/madhu-testing/exclusive-gateway/exclusive-gateway.bpmn
Normal file
113
misc/qa/madhu-testing/exclusive-gateway/exclusive-gateway.bpmn
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Unit_Test_Exclusive_GatewayTest" name="Unit Test Exclusive Gateway" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_0vnkhc5</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0vnkhc5" sourceRef="StartEvent_1" targetRef="Activity_11tnazj" />
|
||||||
|
<bpmn:exclusiveGateway id="Gateway_04kw2o4" name="Exclusive Gateway">
|
||||||
|
<bpmn:incoming>Flow_15ioe1e</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0ejbl6k</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_1hua65s</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1vfbldw" sourceRef="Activity_11tnazj" targetRef="Activity_1f2u77e" />
|
||||||
|
<bpmn:endEvent id="Event_0767czo">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Exclusive Gateway Unit Test. Variable value greater or equal to 10.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_038sht1</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0ejbl6k" name="x >= 5" sourceRef="Gateway_04kw2o4" targetRef="Activity_06rdp90">
|
||||||
|
<bpmn:conditionExpression>x >= 5</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:endEvent id="Event_08nh8ex">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Exclusive Gateway Unit Test. Variable value less than 10.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1hua65s</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1hua65s" name="x < 5" sourceRef="Gateway_04kw2o4" targetRef="Event_08nh8ex">
|
||||||
|
<bpmn:conditionExpression>x < 5</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:scriptTask id="Activity_11tnazj" name="Script Task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0vnkhc5</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1vfbldw</bpmn:outgoing>
|
||||||
|
<bpmn:script>x = 5</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_038sht1" sourceRef="Activity_06rdp90" targetRef="Event_0767czo" />
|
||||||
|
<bpmn:manualTask id="Activity_06rdp90" name="Manual Task">
|
||||||
|
<bpmn:incoming>Flow_0ejbl6k</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_038sht1</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_15ioe1e" sourceRef="Activity_1f2u77e" targetRef="Gateway_04kw2o4" />
|
||||||
|
<bpmn:manualTask id="Activity_1f2u77e" name="Manual 1">
|
||||||
|
<bpmn:incoming>Flow_1vfbldw</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_15ioe1e</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Exclusive_GatewayTest">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="42" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_04kw2o4_di" bpmnElement="Gateway_04kw2o4" isMarkerVisible="true">
|
||||||
|
<dc:Bounds x="425" y="152" width="50" height="50" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="428" y="122" width="47" height="27" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0767czo_di" bpmnElement="Event_0767czo">
|
||||||
|
<dc:Bounds x="832" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_07us4yo_di" bpmnElement="Activity_11tnazj">
|
||||||
|
<dc:Bounds x="110" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0lbmncq_di" bpmnElement="Activity_06rdp90">
|
||||||
|
<dc:Bounds x="520" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_16n6n7r_di" bpmnElement="Activity_1f2u77e">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_08nh8ex_di" bpmnElement="Event_08nh8ex">
|
||||||
|
<dc:Bounds x="832" y="272" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0vnkhc5_di" bpmnElement="Flow_0vnkhc5">
|
||||||
|
<di:waypoint x="78" y="177" />
|
||||||
|
<di:waypoint x="110" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1vfbldw_di" bpmnElement="Flow_1vfbldw">
|
||||||
|
<di:waypoint x="210" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0ejbl6k_di" bpmnElement="Flow_0ejbl6k">
|
||||||
|
<di:waypoint x="475" y="177" />
|
||||||
|
<di:waypoint x="520" y="177" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="475" y="193" width="30" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1hua65s_di" bpmnElement="Flow_1hua65s">
|
||||||
|
<di:waypoint x="450" y="202" />
|
||||||
|
<di:waypoint x="450" y="290" />
|
||||||
|
<di:waypoint x="832" y="290" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="672" y="303" width="24" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_038sht1_di" bpmnElement="Flow_038sht1">
|
||||||
|
<di:waypoint x="620" y="177" />
|
||||||
|
<di:waypoint x="832" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_15ioe1e_di" bpmnElement="Flow_15ioe1e">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="425" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Exclusive Gateway",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "exclusive-gateway.bpmn",
|
||||||
|
"primary_process_id": "Unit_Test_Exclusive_GatewayTest"
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"test_case_for_process_instance_1676": {
|
||||||
|
"expected_output_json": {
|
||||||
|
"x": 5
|
||||||
|
},
|
||||||
|
"tasks": {}
|
||||||
|
}
|
||||||
|
}
|
73
misc/qa/madhu-testing/guest-user-task/guest-user-task.bpmn
Normal file
73
misc/qa/madhu-testing/guest-user-task/guest-user-task.bpmn
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_guest_user_task_dxf9zqh" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:incoming>Flow_0m9wu53</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_0xaaio7" />
|
||||||
|
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
|
||||||
|
|
||||||
|
* **Script Task** - write a short snippet of python code to update some data
|
||||||
|
* **User Task** - generate a form that collects information from a user
|
||||||
|
* **Service Task** - communicate with an external API to fetch or update some data.
|
||||||
|
|
||||||
|
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0m9wu53" sourceRef="Activity_0xaaio7" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:userTask id="Activity_0xaaio7" name="User Task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="user-form1-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="user-form1-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
<spiffworkflow:allowGuest>false</spiffworkflow:allowGuest>
|
||||||
|
<spiffworkflow:guestConfirmation />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0m9wu53</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_guest_user_task_dxf9zqh">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="632" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_19thq2s_di" bpmnElement="Activity_0xaaio7">
|
||||||
|
<dc:Bounds x="440" y="140" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="405" y="177" />
|
||||||
|
<di:waypoint x="405" y="180" />
|
||||||
|
<di:waypoint x="440" y="180" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0m9wu53_di" bpmnElement="Flow_0m9wu53">
|
||||||
|
<di:waypoint x="540" y="180" />
|
||||||
|
<di:waypoint x="586" y="180" />
|
||||||
|
<di:waypoint x="586" y="177" />
|
||||||
|
<di:waypoint x="632" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
9
misc/qa/madhu-testing/guest-user-task/process_model.json
Normal file
9
misc/qa/madhu-testing/guest-user-task/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Guest User Task",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "guest-user-task.bpmn",
|
||||||
|
"primary_process_id": "Process_guest_user_task_dxf9zqh"
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"userName": "Chuck",
|
||||||
|
"user": "Chuck",
|
||||||
|
"firstName": "Chuck"
|
||||||
|
}
|
15
misc/qa/madhu-testing/guest-user-task/user-form1-schema.json
Normal file
15
misc/qa/madhu-testing/guest-user-task/user-form1-schema.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"title": "Text Field",
|
||||||
|
"description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"userName"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"userName": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "First name",
|
||||||
|
"default": "Chuck"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"userName": {
|
||||||
|
"ui:autofocus": true,
|
||||||
|
"ui:emptyValue": "",
|
||||||
|
"ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required",
|
||||||
|
"ui:autocomplete": "family-name",
|
||||||
|
"ui:enableMarkdownInDescription": true,
|
||||||
|
"ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)."
|
||||||
|
}
|
||||||
|
}
|
157
misc/qa/madhu-testing/inclusive-gateway/inclusive-gateway.bpmn
Normal file
157
misc/qa/madhu-testing/inclusive-gateway/inclusive-gateway.bpmn
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Inclusive_GatewayTest" name="Inclusive_Gateway" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_0qzg0zr</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0qzg0zr" sourceRef="StartEvent_1" targetRef="Activity_1jceb3u" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1xgaug3" sourceRef="Activity_1jceb3u" targetRef="Gateway_180xi2q" />
|
||||||
|
<bpmn:inclusiveGateway id="Gateway_180xi2q" default="Flow_0udmoqg">
|
||||||
|
<bpmn:incoming>Flow_1xgaug3</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1hkg0in</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_052rnqc</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_1h1avxg</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_0udmoqg</bpmn:outgoing>
|
||||||
|
</bpmn:inclusiveGateway>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1hkg0in" sourceRef="Gateway_180xi2q" targetRef="Activity_00qb2xz">
|
||||||
|
<bpmn:conditionExpression>rail_travel</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="Flow_052rnqc" sourceRef="Gateway_180xi2q" targetRef="Activity_1wb9knn">
|
||||||
|
<bpmn:conditionExpression>road_travel</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1h1avxg" sourceRef="Gateway_180xi2q" targetRef="Activity_1hjo5em">
|
||||||
|
<bpmn:conditionExpression>air_travel</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0wdr3zo" sourceRef="Activity_1hjo5em" targetRef="Gateway_19ln4kl" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1kgv54n" sourceRef="Activity_1wb9knn" targetRef="Gateway_19ln4kl" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1pymbvk" sourceRef="Activity_00qb2xz" targetRef="Gateway_19ln4kl" />
|
||||||
|
<bpmn:endEvent id="Event_1oedqz6">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Inclusive Gateway Test</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0692wcc</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0692wcc" sourceRef="Gateway_19ln4kl" targetRef="Event_1oedqz6" />
|
||||||
|
<bpmn:inclusiveGateway id="Gateway_19ln4kl">
|
||||||
|
<bpmn:incoming>Flow_0wdr3zo</bpmn:incoming>
|
||||||
|
<bpmn:incoming>Flow_1kgv54n</bpmn:incoming>
|
||||||
|
<bpmn:incoming>Flow_1pymbvk</bpmn:incoming>
|
||||||
|
<bpmn:incoming>Flow_04yclqe</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0692wcc</bpmn:outgoing>
|
||||||
|
</bpmn:inclusiveGateway>
|
||||||
|
<bpmn:userTask id="Activity_1jceb3u" name="Get Travel Information">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="travel-information-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="travel-information-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0qzg0zr</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1xgaug3</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:manualTask id="Activity_1hjo5em" name="Book Flight">
|
||||||
|
<bpmn:incoming>Flow_1h1avxg</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0wdr3zo</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:manualTask id="Activity_00qb2xz" name="Book Train">
|
||||||
|
<bpmn:incoming>Flow_1hkg0in</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1pymbvk</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:manualTask id="Activity_1wb9knn" name="Book Car">
|
||||||
|
<bpmn:incoming>Flow_052rnqc</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1kgv54n</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:manualTask id="Activity_1jnhmh0" name="Other">
|
||||||
|
<bpmn:incoming>Flow_0udmoqg</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_04yclqe</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0udmoqg" sourceRef="Gateway_180xi2q" targetRef="Activity_1jnhmh0" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_04yclqe" sourceRef="Activity_1jnhmh0" targetRef="Gateway_19ln4kl" />
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Inclusive_GatewayTest">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-78" y="122" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_03zs1d7_di" bpmnElement="Gateway_180xi2q">
|
||||||
|
<dc:Bounds x="165" y="115" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1oedqz6_di" bpmnElement="Event_1oedqz6">
|
||||||
|
<dc:Bounds x="622" y="122" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_1lus1tu_di" bpmnElement="Gateway_19ln4kl">
|
||||||
|
<dc:Bounds x="455" y="115" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0rpxruk_di" bpmnElement="Activity_1jceb3u">
|
||||||
|
<dc:Bounds x="10" y="100" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0aeenc2_di" bpmnElement="Activity_1hjo5em">
|
||||||
|
<dc:Bounds x="280" y="-40" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0r9ezoc_di" bpmnElement="Activity_00qb2xz">
|
||||||
|
<dc:Bounds x="280" y="100" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1qb32sr_di" bpmnElement="Activity_1wb9knn">
|
||||||
|
<dc:Bounds x="280" y="250" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_068ldqs_di" bpmnElement="Activity_1jnhmh0">
|
||||||
|
<dc:Bounds x="280" y="380" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0qzg0zr_di" bpmnElement="Flow_0qzg0zr">
|
||||||
|
<di:waypoint x="-42" y="140" />
|
||||||
|
<di:waypoint x="10" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1xgaug3_di" bpmnElement="Flow_1xgaug3">
|
||||||
|
<di:waypoint x="110" y="140" />
|
||||||
|
<di:waypoint x="165" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1hkg0in_di" bpmnElement="Flow_1hkg0in">
|
||||||
|
<di:waypoint x="215" y="140" />
|
||||||
|
<di:waypoint x="280" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_052rnqc_di" bpmnElement="Flow_052rnqc">
|
||||||
|
<di:waypoint x="190" y="165" />
|
||||||
|
<di:waypoint x="190" y="290" />
|
||||||
|
<di:waypoint x="280" y="290" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1h1avxg_di" bpmnElement="Flow_1h1avxg">
|
||||||
|
<di:waypoint x="190" y="115" />
|
||||||
|
<di:waypoint x="190" y="0" />
|
||||||
|
<di:waypoint x="280" y="0" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0wdr3zo_di" bpmnElement="Flow_0wdr3zo">
|
||||||
|
<di:waypoint x="380" y="0" />
|
||||||
|
<di:waypoint x="480" y="0" />
|
||||||
|
<di:waypoint x="480" y="115" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1kgv54n_di" bpmnElement="Flow_1kgv54n">
|
||||||
|
<di:waypoint x="380" y="290" />
|
||||||
|
<di:waypoint x="480" y="290" />
|
||||||
|
<di:waypoint x="480" y="165" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1pymbvk_di" bpmnElement="Flow_1pymbvk">
|
||||||
|
<di:waypoint x="380" y="140" />
|
||||||
|
<di:waypoint x="455" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0692wcc_di" bpmnElement="Flow_0692wcc">
|
||||||
|
<di:waypoint x="505" y="140" />
|
||||||
|
<di:waypoint x="622" y="140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0udmoqg_di" bpmnElement="Flow_0udmoqg">
|
||||||
|
<di:waypoint x="190" y="165" />
|
||||||
|
<di:waypoint x="190" y="420" />
|
||||||
|
<di:waypoint x="280" y="420" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_04yclqe_di" bpmnElement="Flow_04yclqe">
|
||||||
|
<di:waypoint x="380" y="420" />
|
||||||
|
<di:waypoint x="480" y="420" />
|
||||||
|
<di:waypoint x="480" y="165" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Inclusive Gateway",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "inclusive-gateway.bpmn",
|
||||||
|
"primary_process_id": "Inclusive_GatewayTest"
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
{}
|
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"title": "Travel Information",
|
||||||
|
"description": "Tell us about your travel information. Journey includes,",
|
||||||
|
"properties": {
|
||||||
|
"air_travel": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "Air Travel",
|
||||||
|
"default" : false
|
||||||
|
},
|
||||||
|
"rail_travel": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "Rail Travel",
|
||||||
|
"default" : false
|
||||||
|
},
|
||||||
|
"road_travel": {
|
||||||
|
"type": "boolean",
|
||||||
|
"title": "Road Travel",
|
||||||
|
"default" : false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": []
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
{}
|
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"itemId": "Chuck",
|
||||||
|
"itemName": "Chuck",
|
||||||
|
"item": "Chuck",
|
||||||
|
"firstName": "Chuck"
|
||||||
|
}
|
21
misc/qa/madhu-testing/lane-test-1/get-item-info-schema.json
Normal file
21
misc/qa/madhu-testing/lane-test-1/get-item-info-schema.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"title": "Text Field",
|
||||||
|
"description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"itemId",
|
||||||
|
"itemName"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"itemId": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Item name",
|
||||||
|
"default": "1"
|
||||||
|
},
|
||||||
|
"itemName": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Item name",
|
||||||
|
"default": "Item 1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"firstName": {
|
||||||
|
"ui:autofocus": true,
|
||||||
|
"ui:emptyValue": "",
|
||||||
|
"ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required",
|
||||||
|
"ui:autocomplete": "family-name",
|
||||||
|
"ui:enableMarkdownInDescription": true,
|
||||||
|
"ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)."
|
||||||
|
}
|
||||||
|
}
|
263
misc/qa/madhu-testing/lane-test-1/lane-test-1.bpmn
Normal file
263
misc/qa/madhu-testing/lane-test-1/lane-test-1.bpmn
Normal file
@ -0,0 +1,263 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:collaboration id="Collaboration_FormAndLane">
|
||||||
|
<bpmn:participant id="Participant_1df0bwy" name="Item" processRef="Test_Process_io42599" />
|
||||||
|
</bpmn:collaboration>
|
||||||
|
<bpmn:process id="Test_Process_io42599" isExecutable="true">
|
||||||
|
<bpmn:laneSet id="LaneSet_06wu5sq">
|
||||||
|
<bpmn:lane id="Lane_Reviewer" name="Reviewer">
|
||||||
|
<bpmn:flowNodeRef>Activity_GetMoreData</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Gateway_1chm5qn</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Event_09rkmlh</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Event_0t6257a</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Activity_Review</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Event_12mvls1</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Event_0er19np</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Gateway_1y0gjbb</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Gateway_1v7vc1z</bpmn:flowNodeRef>
|
||||||
|
</bpmn:lane>
|
||||||
|
<bpmn:lane id="Lane_Initiator">
|
||||||
|
<bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Activity_GetData</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Activity_GetReviewers</bpmn:flowNodeRef>
|
||||||
|
<bpmn:flowNodeRef>Gateway_0l5x84t</bpmn:flowNodeRef>
|
||||||
|
</bpmn:lane>
|
||||||
|
</bpmn:laneSet>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0c8hg1n" sourceRef="Activity_GetData" targetRef="Activity_GetMoreData" />
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_1msk5h9</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:userTask id="Activity_GetData" name="Get Data">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="get-item-info-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="get-item-info-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
<spiffworkflow:preScript>current_user = get_current_user()['username']</spiffworkflow:preScript>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1loqmjv</bpmn:incoming>
|
||||||
|
<bpmn:incoming>Flow_0rydrx7</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0c8hg1n</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:scriptTask id="Activity_GetReviewers" name="Get Reviewers">
|
||||||
|
<bpmn:incoming>Flow_1msk5h9</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1loqmjv</bpmn:outgoing>
|
||||||
|
<bpmn:script>lane_owners = {"Reviewer": ["core.contributor@status.im", "madhurya@sartography.com"]}</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1msk5h9" sourceRef="StartEvent_1" targetRef="Activity_GetReviewers" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1loqmjv" sourceRef="Activity_GetReviewers" targetRef="Activity_GetData" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1xtmg0t" sourceRef="Activity_GetMoreData" targetRef="Activity_Review" />
|
||||||
|
<bpmn:manualTask id="Activity_GetMoreData" name="Show Data">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="get_more_data_form.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
<spiffworkflow:preScript>data = {"item_id": itemId, "item_desc": itemName}</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:instructionsForEndUser>User entered data : {{data}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0c8hg1n</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1xtmg0t</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:exclusiveGateway id="Gateway_1chm5qn" default="Flow_0l3zw86">
|
||||||
|
<bpmn:incoming>Flow_10rvmdc</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1efovhl</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_19tmelr</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_0l3zw86</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
<bpmn:sequenceFlow id="Flow_10rvmdc" sourceRef="Activity_Review" targetRef="Gateway_1chm5qn" />
|
||||||
|
<bpmn:endEvent id="Event_09rkmlh">
|
||||||
|
<bpmn:incoming>Flow_0q4r19g</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1efovhl" sourceRef="Gateway_1chm5qn" targetRef="Event_0t6257a">
|
||||||
|
<bpmn:conditionExpression>approval == "Approve"</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_0t6257a" name="Approve">
|
||||||
|
<bpmn:incoming>Flow_1efovhl</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_05xruvm</bpmn:outgoing>
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_19tmelr" sourceRef="Gateway_1chm5qn" targetRef="Event_0er19np">
|
||||||
|
<bpmn:conditionExpression>approval == "Reject"</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:userTask id="Activity_Review" name="Review">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>## Approve
|
||||||
|
### Data
|
||||||
|
{{ data }}</spiffworkflow:instructionsForEndUser>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="review-form-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="review-form-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1xtmg0t</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_10rvmdc</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_12mvls1" name="Need More Info">
|
||||||
|
<bpmn:incoming>Flow_0l3zw86</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12ty548</bpmn:outgoing>
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0l3zw86" sourceRef="Gateway_1chm5qn" targetRef="Event_12mvls1" />
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_0er19np" name="Reject">
|
||||||
|
<bpmn:incoming>Flow_19tmelr</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0zg89xt</bpmn:outgoing>
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_05xruvm" sourceRef="Event_0t6257a" targetRef="Gateway_1y0gjbb" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0zg89xt" sourceRef="Event_0er19np" targetRef="Gateway_1y0gjbb" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_12ty548" sourceRef="Event_12mvls1" targetRef="Gateway_1y0gjbb" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1ohb8ht" sourceRef="Gateway_1y0gjbb" targetRef="Gateway_1v7vc1z" />
|
||||||
|
<bpmn:exclusiveGateway id="Gateway_1y0gjbb">
|
||||||
|
<bpmn:incoming>Flow_05xruvm</bpmn:incoming>
|
||||||
|
<bpmn:incoming>Flow_0zg89xt</bpmn:incoming>
|
||||||
|
<bpmn:incoming>Flow_12ty548</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1ohb8ht</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
<bpmn:exclusiveGateway id="Gateway_1v7vc1z" default="Flow_0q4r19g">
|
||||||
|
<bpmn:incoming>Flow_1ohb8ht</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_042vla2</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_0q4r19g</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
<bpmn:exclusiveGateway id="Gateway_0l5x84t">
|
||||||
|
<bpmn:incoming>Flow_042vla2</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0rydrx7</bpmn:outgoing>
|
||||||
|
</bpmn:exclusiveGateway>
|
||||||
|
<bpmn:sequenceFlow id="Flow_042vla2" sourceRef="Gateway_1v7vc1z" targetRef="Gateway_0l5x84t">
|
||||||
|
<bpmn:conditionExpression>approval == "Needmoreinfo"</bpmn:conditionExpression>
|
||||||
|
</bpmn:sequenceFlow>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0rydrx7" sourceRef="Gateway_0l5x84t" targetRef="Activity_GetData" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0q4r19g" sourceRef="Gateway_1v7vc1z" targetRef="Event_09rkmlh" />
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_FormAndLane">
|
||||||
|
<bpmndi:BPMNShape id="Participant_1df0bwy_di" bpmnElement="Participant_1df0bwy" isHorizontal="true">
|
||||||
|
<dc:Bounds x="139" y="66" width="1311" height="462" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Lane_1vcali6_di" bpmnElement="Lane_Initiator" isHorizontal="true">
|
||||||
|
<dc:Bounds x="169" y="66" width="1281" height="188" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Lane_10r7fce_di" bpmnElement="Lane_Reviewer" isHorizontal="true">
|
||||||
|
<dc:Bounds x="169" y="254" width="1281" height="274" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="189" y="142" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1r64ucz_di" bpmnElement="Activity_GetData">
|
||||||
|
<dc:Bounds x="440" y="120" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_07hx4o8_di" bpmnElement="Activity_GetReviewers">
|
||||||
|
<dc:Bounds x="280" y="120" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_16xsdrr_di" bpmnElement="Activity_GetMoreData">
|
||||||
|
<dc:Bounds x="440" y="300" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_1chm5qn_di" bpmnElement="Gateway_1chm5qn" isMarkerVisible="true">
|
||||||
|
<dc:Bounds x="795" y="315" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_09rkmlh_di" bpmnElement="Event_09rkmlh">
|
||||||
|
<dc:Bounds x="1362" y="322" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0t6257a_di" bpmnElement="Event_0t6257a">
|
||||||
|
<dc:Bounds x="972" y="282" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="972" y="325" width="40" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0bf7hpx_di" bpmnElement="Activity_Review">
|
||||||
|
<dc:Bounds x="610" y="300" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_12mvls1_di" bpmnElement="Event_12mvls1">
|
||||||
|
<dc:Bounds x="972" y="432" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="953" y="475" width="76" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0er19np_di" bpmnElement="Event_0er19np">
|
||||||
|
<dc:Bounds x="972" y="362" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="974" y="405" width="33" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_1y0gjbb_di" bpmnElement="Gateway_1y0gjbb" isMarkerVisible="true">
|
||||||
|
<dc:Bounds x="1075" y="335" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_1v7vc1z_di" bpmnElement="Gateway_1v7vc1z" isMarkerVisible="true">
|
||||||
|
<dc:Bounds x="1195" y="335" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_0l5x84t_di" bpmnElement="Gateway_0l5x84t" isMarkerVisible="true">
|
||||||
|
<dc:Bounds x="625" y="135" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0c8hg1n_di" bpmnElement="Flow_0c8hg1n">
|
||||||
|
<di:waypoint x="490" y="200" />
|
||||||
|
<di:waypoint x="490" y="300" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1msk5h9_di" bpmnElement="Flow_1msk5h9">
|
||||||
|
<di:waypoint x="225" y="160" />
|
||||||
|
<di:waypoint x="280" y="160" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1loqmjv_di" bpmnElement="Flow_1loqmjv">
|
||||||
|
<di:waypoint x="380" y="160" />
|
||||||
|
<di:waypoint x="440" y="160" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1xtmg0t_di" bpmnElement="Flow_1xtmg0t">
|
||||||
|
<di:waypoint x="540" y="340" />
|
||||||
|
<di:waypoint x="610" y="340" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_10rvmdc_di" bpmnElement="Flow_10rvmdc">
|
||||||
|
<di:waypoint x="710" y="340" />
|
||||||
|
<di:waypoint x="795" y="340" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1efovhl_di" bpmnElement="Flow_1efovhl">
|
||||||
|
<di:waypoint x="820" y="315" />
|
||||||
|
<di:waypoint x="820" y="300" />
|
||||||
|
<di:waypoint x="972" y="300" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_19tmelr_di" bpmnElement="Flow_19tmelr">
|
||||||
|
<di:waypoint x="820" y="365" />
|
||||||
|
<di:waypoint x="820" y="380" />
|
||||||
|
<di:waypoint x="972" y="380" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0l3zw86_di" bpmnElement="Flow_0l3zw86">
|
||||||
|
<di:waypoint x="820" y="365" />
|
||||||
|
<di:waypoint x="820" y="450" />
|
||||||
|
<di:waypoint x="972" y="450" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_05xruvm_di" bpmnElement="Flow_05xruvm">
|
||||||
|
<di:waypoint x="1008" y="300" />
|
||||||
|
<di:waypoint x="1100" y="300" />
|
||||||
|
<di:waypoint x="1100" y="335" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0zg89xt_di" bpmnElement="Flow_0zg89xt">
|
||||||
|
<di:waypoint x="1008" y="380" />
|
||||||
|
<di:waypoint x="1042" y="380" />
|
||||||
|
<di:waypoint x="1042" y="360" />
|
||||||
|
<di:waypoint x="1075" y="360" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12ty548_di" bpmnElement="Flow_12ty548">
|
||||||
|
<di:waypoint x="1008" y="450" />
|
||||||
|
<di:waypoint x="1100" y="450" />
|
||||||
|
<di:waypoint x="1100" y="385" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1ohb8ht_di" bpmnElement="Flow_1ohb8ht">
|
||||||
|
<di:waypoint x="1125" y="360" />
|
||||||
|
<di:waypoint x="1195" y="360" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_042vla2_di" bpmnElement="Flow_042vla2">
|
||||||
|
<di:waypoint x="1220" y="335" />
|
||||||
|
<di:waypoint x="1220" y="160" />
|
||||||
|
<di:waypoint x="675" y="160" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0rydrx7_di" bpmnElement="Flow_0rydrx7">
|
||||||
|
<di:waypoint x="625" y="160" />
|
||||||
|
<di:waypoint x="540" y="160" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0q4r19g_di" bpmnElement="Flow_0q4r19g">
|
||||||
|
<di:waypoint x="1245" y="360" />
|
||||||
|
<di:waypoint x="1304" y="360" />
|
||||||
|
<di:waypoint x="1304" y="340" />
|
||||||
|
<di:waypoint x="1362" y="340" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
9
misc/qa/madhu-testing/lane-test-1/process_model.json
Normal file
9
misc/qa/madhu-testing/lane-test-1/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Lane Test 1",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "lane-test-1.bpmn",
|
||||||
|
"primary_process_id": "Test_Process_io42599"
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"multipleChoicesList": []
|
||||||
|
}
|
27
misc/qa/madhu-testing/lane-test-1/review-form-schema.json
Normal file
27
misc/qa/madhu-testing/lane-test-1/review-form-schema.json
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{
|
||||||
|
"title": "A Simple Form to test Radio Buttons",
|
||||||
|
"description": "Simple Radio button",
|
||||||
|
"properties": {
|
||||||
|
"approval": {
|
||||||
|
"title": "Review",
|
||||||
|
"type": "string",
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"const": "Approve",
|
||||||
|
"title": "Approve"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "Reject",
|
||||||
|
"title": "Reject"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "Needmoreinfo",
|
||||||
|
"title": "Need more info"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"schoolyear"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"approval": {
|
||||||
|
"ui:widget": "radio",
|
||||||
|
"ui:options": {
|
||||||
|
"inline": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,82 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Ttest_message_boundary_event_q4wgnyt" name="Unit Test Message Boundary Event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="Event_0zpxy99">
|
||||||
|
<bpmn:outgoing>Flow_1nvk3kj</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1nvk3kj" sourceRef="Event_0zpxy99" targetRef="Activity_1mbxsgq" />
|
||||||
|
<bpmn:endEvent id="Event_00tu4ne">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0spr5lh</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0spr5lh" sourceRef="Activity_1mbxsgq" targetRef="Event_00tu4ne" />
|
||||||
|
<bpmn:manualTask id="Activity_1mbxsgq" name="Manual Task 1">
|
||||||
|
<bpmn:incoming>Flow_1nvk3kj</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0spr5lh</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1xvoq87" sourceRef="Event_02nsbtm" targetRef="Activity_15aulyx" />
|
||||||
|
<bpmn:endEvent id="Event_0rl5szr">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Message Boundary Event.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0qe8647</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0qe8647" sourceRef="Activity_15aulyx" targetRef="Event_0rl5szr" />
|
||||||
|
<bpmn:manualTask id="Activity_15aulyx" name="Manual Task 2">
|
||||||
|
<bpmn:incoming>Flow_1xvoq87</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0qe8647</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:boundaryEvent id="Event_02nsbtm" attachedToRef="Activity_1mbxsgq" spiffworkflow:isMatchingCorrelation="false">
|
||||||
|
<bpmn:outgoing>Flow_1xvoq87</bpmn:outgoing>
|
||||||
|
<bpmn:messageEventDefinition id="MessageEventDefinition_1iky1lu" messageRef="NewPrePostScriptMsg">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:messageVariable>msgPayload</spiffworkflow:messageVariable>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:messageEventDefinition>
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:message id="NewPrePostScriptMsg" name="NewPrePostScriptMsg" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Ttest_message_boundary_event_q4wgnyt">
|
||||||
|
<bpmndi:BPMNShape id="Event_0zpxy99_di" bpmnElement="Event_0zpxy99">
|
||||||
|
<dc:Bounds x="-268" y="-158" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_00tu4ne_di" bpmnElement="Event_00tu4ne">
|
||||||
|
<dc:Bounds x="-28" y="-158" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_09lml1r_di" bpmnElement="Activity_1mbxsgq">
|
||||||
|
<dc:Bounds x="-180" y="-180" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0rl5szr_di" bpmnElement="Event_0rl5szr">
|
||||||
|
<dc:Bounds x="122" y="-38" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_17axavw_di" bpmnElement="Activity_15aulyx">
|
||||||
|
<dc:Bounds x="-30" y="-60" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0z6d670_di" bpmnElement="Event_02nsbtm">
|
||||||
|
<dc:Bounds x="-118" y="-118" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1nvk3kj_di" bpmnElement="Flow_1nvk3kj">
|
||||||
|
<di:waypoint x="-232" y="-140" />
|
||||||
|
<di:waypoint x="-180" y="-140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0spr5lh_di" bpmnElement="Flow_0spr5lh">
|
||||||
|
<di:waypoint x="-80" y="-140" />
|
||||||
|
<di:waypoint x="-28" y="-140" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1xvoq87_di" bpmnElement="Flow_1xvoq87">
|
||||||
|
<di:waypoint x="-100" y="-82" />
|
||||||
|
<di:waypoint x="-100" y="-20" />
|
||||||
|
<di:waypoint x="-30" y="-20" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0qe8647_di" bpmnElement="Flow_0qe8647">
|
||||||
|
<di:waypoint x="70" y="-20" />
|
||||||
|
<di:waypoint x="122" y="-20" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Message Boundary Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "message-boundary-event.bpmn",
|
||||||
|
"primary_process_id": "Ttest_message_boundary_event_q4wgnyt"
|
||||||
|
}
|
@ -0,0 +1,49 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_message_end_event_fdf" name="Unit Test Message End Event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="Event_0gz0u3n">
|
||||||
|
<bpmn:outgoing>Flow_0j0zfxl</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0j0zfxl" sourceRef="Event_0gz0u3n" targetRef="Activity_1ch3rod" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0abf2ll" sourceRef="Activity_1ch3rod" targetRef="Event_1570p4l" />
|
||||||
|
<bpmn:manualTask id="Activity_1ch3rod" name="Manual Task">
|
||||||
|
<bpmn:incoming>Flow_0j0zfxl</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0abf2ll</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:endEvent id="Event_1570p4l">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Message End Event. Message Sent.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0abf2ll</bpmn:incoming>
|
||||||
|
<bpmn:messageEventDefinition id="MessageEventDefinition_0vn5aly" messageRef="NewPrePostScriptMsg">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:messagePayload>{"brand":"Toyota1", "model":"Yaris1"}</spiffworkflow:messagePayload>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:messageEventDefinition>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:message id="NewPrePostScriptMsg" name="NewPrePostScriptMsg" />
|
||||||
|
<bpmn:correlationKey id="CorrelationKey_0yr32mf" name="MainCorrelationKey" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_message_end_event_fdf">
|
||||||
|
<bpmndi:BPMNShape id="Event_0gz0u3n_di" bpmnElement="Event_0gz0u3n">
|
||||||
|
<dc:Bounds x="-168" y="-38" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1qfbkl9_di" bpmnElement="Activity_1ch3rod">
|
||||||
|
<dc:Bounds x="-80" y="-60" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1dtdzsr_di" bpmnElement="Event_1570p4l">
|
||||||
|
<dc:Bounds x="72" y="-38" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0j0zfxl_di" bpmnElement="Flow_0j0zfxl">
|
||||||
|
<di:waypoint x="-132" y="-20" />
|
||||||
|
<di:waypoint x="-80" y="-20" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0abf2ll_di" bpmnElement="Flow_0abf2ll">
|
||||||
|
<di:waypoint x="20" y="-20" />
|
||||||
|
<di:waypoint x="72" y="-20" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Message End Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "message-end-event.bpmn",
|
||||||
|
"primary_process_id": "Test_message_end_event_fdf"
|
||||||
|
}
|
@ -0,0 +1,83 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_message_intermediate_catch_event_w0oq9h3" name="Message Intermediate Catch Event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_122hll8" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Message Intermediate Catch Event.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
|
||||||
|
|
||||||
|
* **Script Task** - write a short snippet of python code to update some data
|
||||||
|
* **User Task** - generate a form that collects information from a user
|
||||||
|
* **Service Task** - communicate with an external API to fetch or update some data.
|
||||||
|
|
||||||
|
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0tdx3ui</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0tdx3ui" sourceRef="Event_17kles7" targetRef="Activity_0qpzdpu" />
|
||||||
|
<bpmn:intermediateCatchEvent id="Event_17kles7">
|
||||||
|
<bpmn:incoming>Flow_0kkgl7x</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0tdx3ui</bpmn:outgoing>
|
||||||
|
<bpmn:messageEventDefinition id="MessageEventDefinition_1xk3c59" messageRef="NewPrePostScriptMsg">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:messageVariable>payloadVar</spiffworkflow:messageVariable>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:messageEventDefinition>
|
||||||
|
</bpmn:intermediateCatchEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0kkgl7x" sourceRef="Activity_122hll8" targetRef="Event_17kles7" />
|
||||||
|
<bpmn:manualTask id="Activity_122hll8" name="Manual 1">
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0kkgl7x</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:message id="NewPrePostScriptMsg" name="NewPrePostScriptMsg" />
|
||||||
|
<bpmn:correlationKey id="CorrelationKey_19567i9" name="MainCorrelationKey" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_message_intermediate_catch_event_w0oq9h3">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-58" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1ki3hva_di" bpmnElement="Event_17kles7">
|
||||||
|
<dc:Bounds x="172" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1d8mrbs_di" bpmnElement="Activity_122hll8">
|
||||||
|
<dc:Bounds x="20" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="-22" y="177" />
|
||||||
|
<di:waypoint x="20" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0tdx3ui_di" bpmnElement="Flow_0tdx3ui">
|
||||||
|
<di:waypoint x="208" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0kkgl7x_di" bpmnElement="Flow_0kkgl7x">
|
||||||
|
<di:waypoint x="120" y="177" />
|
||||||
|
<di:waypoint x="172" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Message Intermediate Catch Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "message-intermediate-catch-event.bpmn",
|
||||||
|
"primary_process_id": "Test_message_intermediate_catch_event_w0oq9h3"
|
||||||
|
}
|
@ -0,0 +1,70 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_message_intermediate_throw_event_c2xz7hx" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Message Intermediate Throw Event.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_14puy5c</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Event_0ab0rv1" />
|
||||||
|
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
|
||||||
|
|
||||||
|
* **Script Task** - write a short snippet of python code to update some data
|
||||||
|
* **User Task** - generate a form that collects information from a user
|
||||||
|
* **Service Task** - communicate with an external API to fetch or update some data.
|
||||||
|
|
||||||
|
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_14puy5c" sourceRef="Event_0ab0rv1" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_0ab0rv1">
|
||||||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_14puy5c</bpmn:outgoing>
|
||||||
|
<bpmn:messageEventDefinition id="MessageEventDefinition_04iatty" messageRef="NewPrePostScriptMsg">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:messagePayload>{"country":"Australia", "capital":"Canberra"}</spiffworkflow:messagePayload>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:messageEventDefinition>
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:message id="NewPrePostScriptMsg" name="NewPrePostScriptMsg" />
|
||||||
|
<bpmn:correlationKey id="CorrelationKey_0g7kc2e" name="MainCorrelationKey" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_message_intermediate_throw_event_c2xz7hx">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="562" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1pzqsn2_di" bpmnElement="Event_0ab0rv1">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_14puy5c_di" bpmnElement="Flow_14puy5c">
|
||||||
|
<di:waypoint x="468" y="177" />
|
||||||
|
<di:waypoint x="562" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Message Intermediate Throw Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "message-intermediate-throw-event.bpmn",
|
||||||
|
"primary_process_id": "Test_message_intermediate_throw_event_c2xz7hx"
|
||||||
|
}
|
@ -0,0 +1,53 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_message_start_event_5arl359" name="Unit Test Message Start Event" isExecutable="true">
|
||||||
|
<bpmn:sequenceFlow id="Flow_15lqjs8" sourceRef="Event_1fov5uo" targetRef="Activity_1bms5gz" />
|
||||||
|
<bpmn:endEvent id="Event_0ircwi6">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Unit Test Message Start Event.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1u6n4bh</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1u6n4bh" sourceRef="Activity_1bms5gz" targetRef="Event_0ircwi6" />
|
||||||
|
<bpmn:manualTask id="Activity_1bms5gz" name="Manual Task">
|
||||||
|
<bpmn:incoming>Flow_15lqjs8</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1u6n4bh</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:startEvent id="Event_1fov5uo" spiffworkflow:isMatchingCorrelation="false">
|
||||||
|
<bpmn:outgoing>Flow_15lqjs8</bpmn:outgoing>
|
||||||
|
<bpmn:messageEventDefinition id="MessageEventDefinition_01ncppj" messageRef="UnitTestMessage2">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:messageVariable>msgPayload</spiffworkflow:messageVariable>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:messageEventDefinition>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:message id="UnitTestMessage2" name="UnitTestMessage2" />
|
||||||
|
<bpmn:correlationProperty id="VehicleModel" name="VehicleModel">
|
||||||
|
<bpmn:correlationPropertyRetrievalExpression messageRef="UnitTestMessage2">
|
||||||
|
<bpmn:formalExpression>model</bpmn:formalExpression>
|
||||||
|
</bpmn:correlationPropertyRetrievalExpression>
|
||||||
|
</bpmn:correlationProperty>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_message_start_event_5arl359">
|
||||||
|
<bpmndi:BPMNShape id="Event_0ircwi6_di" bpmnElement="Event_0ircwi6">
|
||||||
|
<dc:Bounds x="52" y="-28" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0fyl1md_di" bpmnElement="Activity_1bms5gz">
|
||||||
|
<dc:Bounds x="-100" y="-50" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_03nxzoi_di" bpmnElement="Event_1fov5uo">
|
||||||
|
<dc:Bounds x="-188" y="-28" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_15lqjs8_di" bpmnElement="Flow_15lqjs8">
|
||||||
|
<di:waypoint x="-152" y="-10" />
|
||||||
|
<di:waypoint x="-100" y="-10" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1u6n4bh_di" bpmnElement="Flow_1u6n4bh">
|
||||||
|
<di:waypoint x="0" y="-10" />
|
||||||
|
<di:waypoint x="52" y="-10" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Message Start Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "message-start-event.bpmn",
|
||||||
|
"primary_process_id": "Test_message_start_event_5arl359"
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"firstName": "Chuck"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"title": "My Name",
|
||||||
|
"description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"firstName"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"firstName": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "First name",
|
||||||
|
"default": "Madhu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"firstName": {
|
||||||
|
"ui:autofocus": true,
|
||||||
|
"ui:emptyValue": "",
|
||||||
|
"ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required",
|
||||||
|
"ui:autocomplete": "family-name",
|
||||||
|
"ui:enableMarkdownInDescription": true,
|
||||||
|
"ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)."
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,85 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Multi_Instance_user_task_input_collection" name="MI User Task Input Collection" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_11sx51y</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_11sx51y" sourceRef="StartEvent_1" targetRef="Activity_0o22jvu" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1sci8ro" sourceRef="Activity_0o22jvu" targetRef="Activity_0wovgpj" />
|
||||||
|
<bpmn:endEvent id="Event_0uplx1r">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End MI Parallel User Task Input Collection Unit Test. </spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_100pgsz</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_100pgsz" sourceRef="Activity_0y1unxh" targetRef="Event_0uplx1r" />
|
||||||
|
<bpmn:scriptTask id="Activity_0o22jvu" name="Initializing Script Task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_11sx51y</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1sci8ro</bpmn:outgoing>
|
||||||
|
<bpmn:script>mylist = ["apple", "banana", "cherry"]</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:userTask id="Activity_0y1unxh" name="Parallel Multi Instance User Task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>mylist = ["apple", "banana2"]</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript />
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="get-user-name-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="get-user-name-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1qayeoj</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_100pgsz</bpmn:outgoing>
|
||||||
|
<bpmn:multiInstanceLoopCharacteristics>
|
||||||
|
<bpmn:loopDataInputRef>mylist</bpmn:loopDataInputRef>
|
||||||
|
<bpmn:loopDataOutputRef>z</bpmn:loopDataOutputRef>
|
||||||
|
<bpmn:inputDataItem id="c" name="c" />
|
||||||
|
<bpmn:outputDataItem id="firstName" name="firstName" />
|
||||||
|
</bpmn:multiInstanceLoopCharacteristics>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1qayeoj" sourceRef="Activity_0wovgpj" targetRef="Activity_0y1unxh" />
|
||||||
|
<bpmn:manualTask id="Activity_0wovgpj">
|
||||||
|
<bpmn:incoming>Flow_1sci8ro</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1qayeoj</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Multi_Instance_user_task_input_collection">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-8" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0uplx1r_di" bpmnElement="Event_0uplx1r">
|
||||||
|
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_06yqodz_di" bpmnElement="Activity_0o22jvu">
|
||||||
|
<dc:Bounds x="90" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_08bt1kn_di" bpmnElement="Activity_0y1unxh">
|
||||||
|
<dc:Bounds x="430" y="137" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1u4394u_di" bpmnElement="Activity_0wovgpj">
|
||||||
|
<dc:Bounds x="250" y="137" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_11sx51y_di" bpmnElement="Flow_11sx51y">
|
||||||
|
<di:waypoint x="28" y="177" />
|
||||||
|
<di:waypoint x="90" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1sci8ro_di" bpmnElement="Flow_1sci8ro">
|
||||||
|
<di:waypoint x="190" y="177" />
|
||||||
|
<di:waypoint x="250" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_100pgsz_di" bpmnElement="Flow_100pgsz">
|
||||||
|
<di:waypoint x="530" y="177" />
|
||||||
|
<di:waypoint x="592" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1qayeoj_di" bpmnElement="Flow_1qayeoj">
|
||||||
|
<di:waypoint x="350" y="177" />
|
||||||
|
<di:waypoint x="430" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,68 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Multi_Instance_parallel_manual_task_input_collection" name="MI Manual Task Parallel Input Collection" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_11sx51y</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_11sx51y" sourceRef="StartEvent_1" targetRef="Activity_0o22jvu" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1sci8ro" sourceRef="Activity_0o22jvu" targetRef="Activity_0y1unxh" />
|
||||||
|
<bpmn:endEvent id="Event_0uplx1r">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End MI Parallel Manual Task Input Collection Unit Test. </spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_100pgsz</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_100pgsz" sourceRef="Activity_0y1unxh" targetRef="Event_0uplx1r" />
|
||||||
|
<bpmn:scriptTask id="Activity_0o22jvu" name="Initializing Script Task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_11sx51y</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1sci8ro</bpmn:outgoing>
|
||||||
|
<bpmn:script>mylist = ["apple", "banana", "cherry"]</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:manualTask id="Activity_0y1unxh" name="Parallel Multi Instance Manual Task" spiffworkflow:isOutputSynced="false">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript />
|
||||||
|
<spiffworkflow:postScript />
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1sci8ro</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_100pgsz</bpmn:outgoing>
|
||||||
|
<bpmn:multiInstanceLoopCharacteristics isSequential="true">
|
||||||
|
<bpmn:loopDataInputRef>mylist</bpmn:loopDataInputRef>
|
||||||
|
<bpmn:loopDataOutputRef>z</bpmn:loopDataOutputRef>
|
||||||
|
</bpmn:multiInstanceLoopCharacteristics>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Multi_Instance_parallel_manual_task_input_collection">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0uplx1r_di" bpmnElement="Event_0uplx1r">
|
||||||
|
<dc:Bounds x="592" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_06yqodz_di" bpmnElement="Activity_0o22jvu">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1ygjg19_di" bpmnElement="Activity_0y1unxh">
|
||||||
|
<dc:Bounds x="430" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_11sx51y_di" bpmnElement="Flow_11sx51y">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1sci8ro_di" bpmnElement="Flow_1sci8ro">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="430" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_100pgsz_di" bpmnElement="Flow_100pgsz">
|
||||||
|
<di:waypoint x="530" y="177" />
|
||||||
|
<di:waypoint x="592" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Multi Instance Input Collection",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "multi-instance-input-collection-user-task.bpmn",
|
||||||
|
"primary_process_id": "Test_Multi_Instance_user_task_input_collection"
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"firstName": "Chuck"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"title": "Text Field",
|
||||||
|
"description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"firstName"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"firstName": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "First name",
|
||||||
|
"default": "Madhu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"firstName": {
|
||||||
|
"ui:autofocus": true,
|
||||||
|
"ui:emptyValue": "",
|
||||||
|
"ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required",
|
||||||
|
"ui:autocomplete": "family-name",
|
||||||
|
"ui:enableMarkdownInDescription": true,
|
||||||
|
"ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)."
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Multi_Instance_Parallel_Script_Task_Loop_Cardinality" name="Unit Test Multi Instance Parallel Script Task Loop Cardinality" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_0rgk2c3</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0rgk2c3" sourceRef="StartEvent_1" targetRef="Activity_088ghob" />
|
||||||
|
<bpmn:endEvent id="Event_1rztaln">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Multi Instance Parallel Script Task Unit Test. Output Collection: {{z}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1m83e8x</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1m83e8x" sourceRef="Activity_1b8ii73" targetRef="Event_1rztaln" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1w5pa4y" sourceRef="Activity_088ghob" targetRef="Activity_1b8ii73" />
|
||||||
|
<bpmn:manualTask id="Activity_088ghob">
|
||||||
|
<bpmn:incoming>Flow_0rgk2c3</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1w5pa4y</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:manualTask id="Activity_1b8ii73" name="Parallel Multi Instance">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1w5pa4y</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1m83e8x</bpmn:outgoing>
|
||||||
|
<bpmn:multiInstanceLoopCharacteristics>
|
||||||
|
<bpmn:loopCardinality xsi:type="bpmn:tFormalExpression">5</bpmn:loopCardinality>
|
||||||
|
<bpmn:inputDataItem name="x" />
|
||||||
|
<bpmn:outputDataItem name="y" />
|
||||||
|
</bpmn:multiInstanceLoopCharacteristics>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Multi_Instance_Parallel_Script_Task_Loop_Cardinality">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-38" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1rztaln_di" bpmnElement="Event_1rztaln">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0z0ddnn_di" bpmnElement="Activity_088ghob">
|
||||||
|
<dc:Bounds x="60" y="137" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0jhne2s_di" bpmnElement="Activity_1b8ii73">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0rgk2c3_di" bpmnElement="Flow_0rgk2c3">
|
||||||
|
<di:waypoint x="-2" y="177" />
|
||||||
|
<di:waypoint x="60" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1m83e8x_di" bpmnElement="Flow_1m83e8x">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1w5pa4y_di" bpmnElement="Flow_1w5pa4y">
|
||||||
|
<di:waypoint x="160" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,51 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_eccuiin" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_03w3did</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_03w3did" sourceRef="StartEvent_1" targetRef="Activity_19lxzgo" />
|
||||||
|
<bpmn:endEvent id="Event_05xi0ck">
|
||||||
|
<bpmn:incoming>Flow_0w1y2sw</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0w1y2sw" sourceRef="Activity_19lxzgo" targetRef="Event_05xi0ck" />
|
||||||
|
<bpmn:userTask id="Activity_19lxzgo" name="Get Name">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="get-user-name-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="get-user-name-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Your name: {{firstName}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
<spiffworkflow:preScript>x = 1</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript>y = 2</spiffworkflow:postScript>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_03w3did</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0w1y2sw</bpmn:outgoing>
|
||||||
|
<bpmn:multiInstanceLoopCharacteristics>
|
||||||
|
<bpmn:loopCardinality xsi:type="bpmn:tFormalExpression">3</bpmn:loopCardinality>
|
||||||
|
</bpmn:multiInstanceLoopCharacteristics>
|
||||||
|
</bpmn:userTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_eccuiin">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_05xi0ck_di" bpmnElement="Event_05xi0ck">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1huh5k0_di" bpmnElement="Activity_19lxzgo">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_03w3did_di" bpmnElement="Flow_03w3did">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0w1y2sw_di" bpmnElement="Flow_0w1y2sw">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Multi Instance Loop Cardinality",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "multi-instance-loop-cardinality.bpmn",
|
||||||
|
"primary_process_id": "Test_Multi_Instance_Parallel_Script_Task_Loop_Cardinality"
|
||||||
|
}
|
127
misc/qa/madhu-testing/parallel-gateway/parallel-gateway.bpmn
Normal file
127
misc/qa/madhu-testing/parallel-gateway/parallel-gateway.bpmn
Normal file
@ -0,0 +1,127 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Unit_Test_Parallel_GatewayTest" name="Unit Test Parallel Gateway" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_016iejh</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_016iejh" sourceRef="StartEvent_1" targetRef="Gateway_1rhwukq" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0z3u9bl" sourceRef="Gateway_1rhwukq" targetRef="Activity_03mw0fp" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_00zqcnr" sourceRef="Gateway_1rhwukq" targetRef="Activity_1rtysed" />
|
||||||
|
<bpmn:parallelGateway id="Gateway_1rhwukq" name="Parallel Gateway">
|
||||||
|
<bpmn:incoming>Flow_016iejh</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0z3u9bl</bpmn:outgoing>
|
||||||
|
<bpmn:outgoing>Flow_00zqcnr</bpmn:outgoing>
|
||||||
|
</bpmn:parallelGateway>
|
||||||
|
<bpmn:scriptTask id="Activity_03mw0fp" name="y = 1">
|
||||||
|
<bpmn:incoming>Flow_0z3u9bl</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0c31sox</bpmn:outgoing>
|
||||||
|
<bpmn:script>y = 1</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:scriptTask id="Activity_1rtysed" name="z = 2">
|
||||||
|
<bpmn:incoming>Flow_00zqcnr</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1dozwiq</bpmn:outgoing>
|
||||||
|
<bpmn:script>z = 2
|
||||||
|
exp_details1 = {
|
||||||
|
"requestor_work_email" : "core.contributor@status.im",
|
||||||
|
"core_contributor_legal" : "Test - Core Contributor",
|
||||||
|
"requestor_auth_username" : "core.contributor@status.im" }</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0c31sox" sourceRef="Activity_03mw0fp" targetRef="Activity_04ntktc" />
|
||||||
|
<bpmn:parallelGateway id="Gateway_1n4p8kw">
|
||||||
|
<bpmn:incoming>Flow_1dozwiq</bpmn:incoming>
|
||||||
|
<bpmn:incoming>Flow_14g2nmu</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0cvwqe3</bpmn:outgoing>
|
||||||
|
</bpmn:parallelGateway>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1dozwiq" sourceRef="Activity_1rtysed" targetRef="Gateway_1n4p8kw" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0cvwqe3" sourceRef="Gateway_1n4p8kw" targetRef="Activity_1lmf7i7" />
|
||||||
|
<bpmn:scriptTask id="Activity_1lmf7i7" name="x = y + z">
|
||||||
|
<bpmn:incoming>Flow_0cvwqe3</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1i6o00e</bpmn:outgoing>
|
||||||
|
<bpmn:script>x = y + z</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:endEvent id="Event_07w924i">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Parallel Gateway Unit Test. Result x = {{x}}.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1i6o00e</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1i6o00e" sourceRef="Activity_1lmf7i7" targetRef="Event_07w924i" />
|
||||||
|
<bpmn:manualTask id="Activity_04ntktc" name="Manual Task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:postScript>y = 10</spiffworkflow:postScript>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0c31sox</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_14g2nmu</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_14g2nmu" sourceRef="Activity_04ntktc" targetRef="Gateway_1n4p8kw" />
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Unit_Test_Parallel_GatewayTest">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="332" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_10tgwiv_di" bpmnElement="Gateway_1rhwukq">
|
||||||
|
<dc:Bounds x="425" y="152" width="50" height="50" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="410" y="122" width="84" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0wui64y_di" bpmnElement="Activity_03mw0fp">
|
||||||
|
<dc:Bounds x="530" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0b2p378_di" bpmnElement="Activity_1rtysed">
|
||||||
|
<dc:Bounds x="530" y="250" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Gateway_0g6874c_di" bpmnElement="Gateway_1n4p8kw">
|
||||||
|
<dc:Bounds x="815" y="152" width="50" height="50" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_15tpmbi_di" bpmnElement="Activity_1lmf7i7">
|
||||||
|
<dc:Bounds x="930" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_07w924i_di" bpmnElement="Event_07w924i">
|
||||||
|
<dc:Bounds x="1152" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0tqjae5_di" bpmnElement="Activity_04ntktc">
|
||||||
|
<dc:Bounds x="670" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_016iejh_di" bpmnElement="Flow_016iejh">
|
||||||
|
<di:waypoint x="368" y="177" />
|
||||||
|
<di:waypoint x="425" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0z3u9bl_di" bpmnElement="Flow_0z3u9bl">
|
||||||
|
<di:waypoint x="475" y="177" />
|
||||||
|
<di:waypoint x="530" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_00zqcnr_di" bpmnElement="Flow_00zqcnr">
|
||||||
|
<di:waypoint x="450" y="202" />
|
||||||
|
<di:waypoint x="450" y="290" />
|
||||||
|
<di:waypoint x="530" y="290" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0c31sox_di" bpmnElement="Flow_0c31sox">
|
||||||
|
<di:waypoint x="630" y="177" />
|
||||||
|
<di:waypoint x="670" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1dozwiq_di" bpmnElement="Flow_1dozwiq">
|
||||||
|
<di:waypoint x="630" y="290" />
|
||||||
|
<di:waypoint x="840" y="290" />
|
||||||
|
<di:waypoint x="840" y="202" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0cvwqe3_di" bpmnElement="Flow_0cvwqe3">
|
||||||
|
<di:waypoint x="865" y="177" />
|
||||||
|
<di:waypoint x="930" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1i6o00e_di" bpmnElement="Flow_1i6o00e">
|
||||||
|
<di:waypoint x="1030" y="177" />
|
||||||
|
<di:waypoint x="1152" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_14g2nmu_di" bpmnElement="Flow_14g2nmu">
|
||||||
|
<di:waypoint x="770" y="177" />
|
||||||
|
<di:waypoint x="815" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Parallel Gateway",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "parallel-gateway.bpmn",
|
||||||
|
"primary_process_id": "Unit_Test_Parallel_GatewayTest"
|
||||||
|
}
|
21
misc/qa/madhu-testing/process_group.json
Normal file
21
misc/qa/madhu-testing/process_group.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"correlation_keys": null,
|
||||||
|
"correlation_properties": null,
|
||||||
|
"data_store_specifications": {},
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Madhu Testing",
|
||||||
|
"messages": {
|
||||||
|
"NewPrePostScriptMsg": {
|
||||||
|
"correlation_properties": {},
|
||||||
|
"schema": {}
|
||||||
|
},
|
||||||
|
"PrePostScriptMsg": {
|
||||||
|
"correlation_properties": {},
|
||||||
|
"schema": {}
|
||||||
|
},
|
||||||
|
"UnitTest_msg3": {
|
||||||
|
"correlation_properties": {},
|
||||||
|
"schema": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Signal Boundary Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "signal-boundary-event.bpmn",
|
||||||
|
"primary_process_id": "Test_Signal_Boundary_Event"
|
||||||
|
}
|
@ -0,0 +1,122 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Signal_Boundary_Event" name="Unit Test Signal Boundary Event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_0l8amjn</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0l8amjn" sourceRef="StartEvent_1" targetRef="Activity_0jlwg2o" />
|
||||||
|
<bpmn:manualTask id="Activity_1ytfcnp" name="Place Order">
|
||||||
|
<bpmn:incoming>Flow_1rdc3ol</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1cz0gav</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1cz0gav" sourceRef="Activity_1ytfcnp" targetRef="Activity_1c3ddd6" />
|
||||||
|
<bpmn:endEvent id="Event_01ddydx">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Order Completed</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0183tpu</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0183tpu" sourceRef="Activity_1c3ddd6" targetRef="Event_01ddydx" />
|
||||||
|
<bpmn:manualTask id="Activity_1c3ddd6" name="Complete Payment">
|
||||||
|
<bpmn:incoming>Flow_1cz0gav</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0183tpu</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:boundaryEvent id="Event_04hzxc9" attachedToRef="Activity_1ytfcnp">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:signalButtonLabel>Cancel Order</spiffworkflow:signalButtonLabel>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:outgoing>Flow_1q8gqf3</bpmn:outgoing>
|
||||||
|
<bpmn:signalEventDefinition id="SignalEventDefinition_0dsq9k1" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:endEvent id="Event_0sxtqvz">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Order Cancelled</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1q8gqf3</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1q8gqf3" sourceRef="Event_04hzxc9" targetRef="Event_0sxtqvz" />
|
||||||
|
<bpmn:boundaryEvent id="Event_0w307pt" attachedToRef="Activity_1ytfcnp">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:signalButtonLabel>Signal Button</spiffworkflow:signalButtonLabel>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:outgoing>Flow_09qbasb</bpmn:outgoing>
|
||||||
|
<bpmn:signalEventDefinition id="SignalEventDefinition_09r41ic" signalRef="Signal_1" />
|
||||||
|
</bpmn:boundaryEvent>
|
||||||
|
<bpmn:endEvent id="Event_1btpc3t">
|
||||||
|
<bpmn:incoming>Flow_09qbasb</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_09qbasb" sourceRef="Event_0w307pt" targetRef="Event_1btpc3t" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1rdc3ol" sourceRef="Activity_0jlwg2o" targetRef="Activity_1ytfcnp" />
|
||||||
|
<bpmn:manualTask id="Activity_0jlwg2o">
|
||||||
|
<bpmn:incoming>Flow_0l8amjn</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1rdc3ol</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:signal id="cancel_order" name="cancel_order" />
|
||||||
|
<bpmn:signal id="Signal_1" name="Signal_1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:variableName>Signal1</spiffworkflow:variableName>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
</bpmn:signal>
|
||||||
|
<bpmn:signal id="Signal_2" name="Signal_2" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Signal_Boundary_Event">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-278" y="132" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1sjqlzv_di" bpmnElement="Activity_1ytfcnp">
|
||||||
|
<dc:Bounds x="-10" y="110" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_01ddydx_di" bpmnElement="Event_01ddydx">
|
||||||
|
<dc:Bounds x="312" y="132" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0onvofr_di" bpmnElement="Activity_1c3ddd6">
|
||||||
|
<dc:Bounds x="150" y="110" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0sxtqvz_di" bpmnElement="Event_0sxtqvz">
|
||||||
|
<dc:Bounds x="182" y="252" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1btpc3t_di" bpmnElement="Event_1btpc3t">
|
||||||
|
<dc:Bounds x="82" y="252" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_00np856_di" bpmnElement="Activity_0jlwg2o">
|
||||||
|
<dc:Bounds x="-210" y="110" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0sej0dp_di" bpmnElement="Event_0w307pt">
|
||||||
|
<dc:Bounds x="-8" y="172" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0mbeaxn_di" bpmnElement="Event_04hzxc9">
|
||||||
|
<dc:Bounds x="42" y="172" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0l8amjn_di" bpmnElement="Flow_0l8amjn">
|
||||||
|
<di:waypoint x="-242" y="150" />
|
||||||
|
<di:waypoint x="-210" y="150" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1cz0gav_di" bpmnElement="Flow_1cz0gav">
|
||||||
|
<di:waypoint x="90" y="150" />
|
||||||
|
<di:waypoint x="150" y="150" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0183tpu_di" bpmnElement="Flow_0183tpu">
|
||||||
|
<di:waypoint x="250" y="150" />
|
||||||
|
<di:waypoint x="312" y="150" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1q8gqf3_di" bpmnElement="Flow_1q8gqf3">
|
||||||
|
<di:waypoint x="60" y="208" />
|
||||||
|
<di:waypoint x="60" y="240" />
|
||||||
|
<di:waypoint x="200" y="240" />
|
||||||
|
<di:waypoint x="200" y="252" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_09qbasb_di" bpmnElement="Flow_09qbasb">
|
||||||
|
<di:waypoint x="10" y="208" />
|
||||||
|
<di:waypoint x="10" y="270" />
|
||||||
|
<di:waypoint x="82" y="270" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1rdc3ol_di" bpmnElement="Flow_1rdc3ol">
|
||||||
|
<di:waypoint x="-110" y="150" />
|
||||||
|
<di:waypoint x="-10" y="150" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"firstName": "Chuck"
|
||||||
|
}
|
15
misc/qa/madhu-testing/simple-form-1/get-name-schema.json
Normal file
15
misc/qa/madhu-testing/simple-form-1/get-name-schema.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"title": "User Name",
|
||||||
|
"description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"firstName"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"firstName": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "User name",
|
||||||
|
"default": "Madhu"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
10
misc/qa/madhu-testing/simple-form-1/get-name-uischema.json
Normal file
10
misc/qa/madhu-testing/simple-form-1/get-name-uischema.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"firstName": {
|
||||||
|
"ui:autofocus": true,
|
||||||
|
"ui:emptyValue": "",
|
||||||
|
"ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required",
|
||||||
|
"ui:autocomplete": "family-name",
|
||||||
|
"ui:enableMarkdownInDescription": true,
|
||||||
|
"ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)."
|
||||||
|
}
|
||||||
|
}
|
9
misc/qa/madhu-testing/simple-form-1/process_model.json
Normal file
9
misc/qa/madhu-testing/simple-form-1/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Simple Form 1",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "simple-form-1.bpmn",
|
||||||
|
"primary_process_id": "Process_simple_form_1_fgbpu4e"
|
||||||
|
}
|
67
misc/qa/madhu-testing/simple-form-1/simple-form-1.bpmn
Normal file
67
misc/qa/madhu-testing/simple-form-1/simple-form-1.bpmn
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_simple_form_1_fgbpu4e" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_0qpzdpu" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:incoming>Flow_1ca7drr</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_1ys3g89" />
|
||||||
|
<bpmn:manualTask id="Activity_0qpzdpu" name="Manual task 1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Manual Task Instructions</spiffworkflow:instructionsForEndUser>
|
||||||
|
<spiffworkflow:preScript>a = 5</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript>b = 6</spiffworkflow:postScript>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1ca7drr" sourceRef="Activity_1ys3g89" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:userTask id="Activity_1ys3g89" name="User Task 2">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="get-name-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="get-name-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
<spiffworkflow:preScript>a =50</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript>b = a</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:instructionsForEndUser>b = {{b}}
|
||||||
|
My name - {{firstName}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1ca7drr</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_simple_form_1_fgbpu4e">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="662" y="162" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_024ae93_di" bpmnElement="Activity_1ys3g89">
|
||||||
|
<dc:Bounds x="440" y="140" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="215" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="440" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1ca7drr_di" bpmnElement="Flow_1ca7drr">
|
||||||
|
<di:waypoint x="540" y="180" />
|
||||||
|
<di:waypoint x="662" y="180" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
9
misc/qa/madhu-testing/test-model-1/process_model.json
Normal file
9
misc/qa/madhu-testing/test-model-1/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Test Model 1",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "test-model-1.bpmn",
|
||||||
|
"primary_process_id": "Process_test_model_1_qsn2xzd"
|
||||||
|
}
|
73
misc/qa/madhu-testing/test-model-1/test-model-1.bpmn
Normal file
73
misc/qa/madhu-testing/test-model-1/test-model-1.bpmn
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_test_model_1_qsn2xzd" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_17db3yp</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_17db3yp" sourceRef="StartEvent_1" targetRef="Activity_1ddd6al" />
|
||||||
|
<bpmn:endEvent id="EndEvent_1">
|
||||||
|
<bpmn:incoming>Flow_114t4am</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pkbxb" sourceRef="Activity_0qpzdpu" targetRef="Activity_125j9jf" />
|
||||||
|
<bpmn:manualTask id="Activity_0qpzdpu" name="Example manual task">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>This is an example **Manual Task**. A **Manual Task** is designed to allow someone to complete a task outside of the system and then report back that it is complete. You can click the *Continue* button to proceed. When you are done running this process, you can edit the **Process Model** to include a:
|
||||||
|
|
||||||
|
* **Script Task** - write a short snippet of python code to update some data
|
||||||
|
* **User Task** - generate a form that collects information from a user
|
||||||
|
* **Service Task** - communicate with an external API to fetch or update some data.
|
||||||
|
|
||||||
|
You can also change the text you are reading here by updating the *Instructions* on this example manual task.</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0oh3wxx</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_12pkbxb</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0oh3wxx" sourceRef="Activity_1ddd6al" targetRef="Activity_0qpzdpu" />
|
||||||
|
<bpmn:scriptTask id="Activity_1ddd6al">
|
||||||
|
<bpmn:incoming>Flow_17db3yp</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0oh3wxx</bpmn:outgoing>
|
||||||
|
<bpmn:script>a = 5</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_114t4am" sourceRef="Activity_125j9jf" targetRef="EndEvent_1" />
|
||||||
|
<bpmn:manualTask id="Activity_125j9jf">
|
||||||
|
<bpmn:incoming>Flow_12pkbxb</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_114t4am</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_test_model_1_qsn2xzd">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-58" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_14za570_di" bpmnElement="EndEvent_1">
|
||||||
|
<dc:Bounds x="862" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0zqotmb_di" bpmnElement="Activity_0qpzdpu">
|
||||||
|
<dc:Bounds x="270" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1rf6wqu_di" bpmnElement="Activity_1ddd6al">
|
||||||
|
<dc:Bounds x="40" y="137" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1sjtrui_di" bpmnElement="Activity_125j9jf">
|
||||||
|
<dc:Bounds x="500" y="137" width="100" height="80" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_17db3yp_di" bpmnElement="Flow_17db3yp">
|
||||||
|
<di:waypoint x="-22" y="177" />
|
||||||
|
<di:waypoint x="40" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pkbxb_di" bpmnElement="Flow_12pkbxb">
|
||||||
|
<di:waypoint x="370" y="177" />
|
||||||
|
<di:waypoint x="500" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0oh3wxx_di" bpmnElement="Flow_0oh3wxx">
|
||||||
|
<di:waypoint x="140" y="177" />
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_114t4am_di" bpmnElement="Flow_114t4am">
|
||||||
|
<di:waypoint x="600" y="177" />
|
||||||
|
<di:waypoint x="862" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"country": "US"
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"title": "User Country",
|
||||||
|
"description": "A simple text field that is required, has a default value, sets a placeholder, includes a description. (field name will be 'firstname')",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"country"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"country": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Country",
|
||||||
|
"default": "UK"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"country": {
|
||||||
|
"ui:autofocus": true,
|
||||||
|
"ui:emptyValue": "",
|
||||||
|
"ui:placeholder": "ui:emptyValue causes this field to always be valid despite being required",
|
||||||
|
"ui:autocomplete": "family-name",
|
||||||
|
"ui:enableMarkdownInDescription": true,
|
||||||
|
"ui:description": "Make text **bold** or *italic*. Take a look at other options [here](https://probablyup.com/markdown-to-jsx/)."
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"title": "Get Name form",
|
||||||
|
"description": "Form to gather Name.",
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"name"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"title": "Name"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Test Pre Scripts Post Scripts for Tasks",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "test-pre-scripts-post-scripts-for-tasks.bpmn",
|
||||||
|
"primary_process_id": "Process_test_pre_scripts_post_scripts_for_tasks_mg2fcs0"
|
||||||
|
}
|
@ -0,0 +1,576 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Process_test_pre_scripts_post_scripts_for_tasks_mg2fcs0" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_12pit63</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_12pit63" sourceRef="StartEvent_1" targetRef="Activity_19voh92" />
|
||||||
|
<bpmn:userTask id="Activity_1ko63ab" name="User Task 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>User Task Var 1 = {{user_task_1}} ,
|
||||||
|
User Task Var 2 = {{user_task_2}},
|
||||||
|
User Task Var 3 = {{user_task_3}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
del(user_task_1)
|
||||||
|
del(user_task_3)
|
||||||
|
</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:preScript>user_task_1 = 1
|
||||||
|
user_task_2 = 2
|
||||||
|
user_task_3 = 3
|
||||||
|
user_task_4 = 4</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:properties>
|
||||||
|
<spiffworkflow:property name="formJsonSchemaFilename" value="get-user-country-schema.json" />
|
||||||
|
<spiffworkflow:property name="formUiSchemaFilename" value="get-user-country-uischema.json" />
|
||||||
|
</spiffworkflow:properties>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1x55wz3</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0rx4171</bpmn:outgoing>
|
||||||
|
</bpmn:userTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0rx4171" sourceRef="Activity_1ko63ab" targetRef="Activity_1aa2xu6" />
|
||||||
|
<bpmn:manualTask id="Activity_1aa2xu6" name="Show User Task Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>My Country is {{country}},
|
||||||
|
User Task Var 1 = {{user_task_1}},
|
||||||
|
User Task Var 2 = {{user_task_2}},
|
||||||
|
User Task Var 3 = {{user_task_3}},
|
||||||
|
User Task Var 4 = {{user_task_4}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0rx4171</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0t5wjjo</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0t5wjjo" sourceRef="Activity_1aa2xu6" targetRef="Activity_1nk76nr" />
|
||||||
|
<bpmn:manualTask id="Activity_1nk76nr" name="Manual Task 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>manual_task_1 = 10
|
||||||
|
manual_task_2 = 20
|
||||||
|
manual_task_3 = 30
|
||||||
|
manual_task_4 = 40
|
||||||
|
manual_task_5 = 0</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
del(manual_task_1)
|
||||||
|
del(user_task_4)
|
||||||
|
manual_task_5 = manual_task_2 + manual_task_4 </spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:instructionsForEndUser>***Hello *this is the manual task showing it's ~~instructions~~.
|
||||||
|
**
|
||||||
|
Manual_task_1 = {{manual_task_1}},
|
||||||
|
Manual_task_2 = {{manual_task_2}},
|
||||||
|
Manual_task_3 = {{manual_task_3}},
|
||||||
|
Manual_task_4 = {{manual_task_4}}
|
||||||
|
Manual_task_5 = {{manual_task_5}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0t5wjjo</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0kty908</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0kty908" sourceRef="Activity_1nk76nr" targetRef="Activity_1724gg7" />
|
||||||
|
<bpmn:manualTask id="Activity_1724gg7" name="Show Manual Task Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Manual Task var 1 = {{manual_task_1}},
|
||||||
|
Manual Task var 2 = {{manual_task_2}},
|
||||||
|
Manual Task var 3 = {{manual_task_3}},
|
||||||
|
Manual Task var 4 = {{manual_task_4}},
|
||||||
|
Manual Task var 5 = {{manual_task_5}},</spiffworkflow:instructionsForEndUser>
|
||||||
|
<spiffworkflow:allowGuest>false</spiffworkflow:allowGuest>
|
||||||
|
<spiffworkflow:guestConfirmation />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0kty908</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0is9d8n</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0is9d8n" sourceRef="Activity_1724gg7" targetRef="Activity_1cmc6ij" />
|
||||||
|
<bpmn:serviceTask id="Activity_1cmc6ij" name="Service Task 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>service_task_1 = 50
|
||||||
|
service_task_2 = 100</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
del(service_task_1)
|
||||||
|
</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:instructionsForEndUser>My Name is {{name}},
|
||||||
|
User Task Var 1 = {{user_task_1}},
|
||||||
|
User Task Var 2 = {{user_task_2}},
|
||||||
|
User Task Var 3 = {{user_task_3}},
|
||||||
|
Manual_task_1 = {{manual_task_1}},
|
||||||
|
Manual_task_2 = {{manual_task_2}},
|
||||||
|
Manual_task_3 = {{manual_task_3}},
|
||||||
|
Service_task_1 = {{service_task_1}},
|
||||||
|
Service_task_2 = {{service_task_2}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
<spiffworkflow:serviceTaskOperator id="http/GetRequestV2" resultVariable="git_resp">
|
||||||
|
<spiffworkflow:parameters>
|
||||||
|
<spiffworkflow:parameter id="url" type="str" value=""https://api.github.com/user"" />
|
||||||
|
<spiffworkflow:parameter id="headers" type="any" value="{ "Authorization": "Bearer SPIFF_SECRET:github_oauth" }" />
|
||||||
|
<spiffworkflow:parameter id="params" type="any" />
|
||||||
|
<spiffworkflow:parameter id="basic_auth_username" type="str" />
|
||||||
|
<spiffworkflow:parameter id="basic_auth_password" type="str" />
|
||||||
|
<spiffworkflow:parameter id="attempts" type="int" value="2" />
|
||||||
|
</spiffworkflow:parameters>
|
||||||
|
</spiffworkflow:serviceTaskOperator>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0is9d8n</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0ghbvoe</bpmn:outgoing>
|
||||||
|
</bpmn:serviceTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0ghbvoe" sourceRef="Activity_1cmc6ij" targetRef="Activity_18wlmcj" />
|
||||||
|
<bpmn:manualTask id="Activity_18wlmcj" name="Show service Task Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Service Task var 1 = {{service_task_1}},
|
||||||
|
Service Task var 2 = {{service_task_2}},
|
||||||
|
Manual Task var 4 = {{manual_task_4}},
|
||||||
|
Manual Task var 5 = {{manual_task_5}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0ghbvoe</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0asdpkl</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0asdpkl" sourceRef="Activity_18wlmcj" targetRef="Activity_1gu179k" />
|
||||||
|
<bpmn:businessRuleTask id="Activity_1gu179k" name="Business Rule Task 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>businessrule_task_1 = 12
|
||||||
|
businessrule_task_2 = 24
|
||||||
|
businessrule_task_3 = 10
|
||||||
|
businessRuleTaskId = businessrule_task_1</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
businessrule_task_3 = businessrule_task_1 + businessrule_task_2
|
||||||
|
del(businessrule_task_2)
|
||||||
|
del(manual_task_3)
|
||||||
|
</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:calledDecisionId>decision_UserRoleDecision</spiffworkflow:calledDecisionId>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0asdpkl</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1hzsoui</bpmn:outgoing>
|
||||||
|
</bpmn:businessRuleTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1hzsoui" sourceRef="Activity_1gu179k" targetRef="Activity_1abcuai" />
|
||||||
|
<bpmn:manualTask id="Activity_1abcuai" name="Show BR Task Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Business Rule Task 1 = {{businessrule_task_1}},
|
||||||
|
Business Rule Task 2 = {{businessrule_task_2}},
|
||||||
|
Business Rule Task 3 = {{businessrule_task_3}},
|
||||||
|
User Name = {{test_name}},
|
||||||
|
User Role = {{test_role}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1hzsoui</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0lv8c94</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0lv8c94" sourceRef="Activity_1abcuai" targetRef="Activity_0uw8p7i" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0c3kbws" sourceRef="Activity_0uw8p7i" targetRef="Activity_1xl1vnt" />
|
||||||
|
<bpmn:manualTask id="Activity_1xl1vnt" name="Show Send Task Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Send Task var 1 = {{send_task_1}},
|
||||||
|
Send Task var 2 = {{send_task_2}},
|
||||||
|
Send Task var 3 = {{send_task_3}},
|
||||||
|
payload = {{payload1}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0c3kbws</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0zbzkxg</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0zbzkxg" sourceRef="Activity_1xl1vnt" targetRef="Activity_0y4kkn9" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_1an8bg3" sourceRef="Activity_0y4kkn9" targetRef="Activity_0atjlml" />
|
||||||
|
<bpmn:manualTask id="Activity_0atjlml" name="Show ReceiveTask Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Receive Task var 1 = {{receive_task_1}},
|
||||||
|
Receive Task var 2 = {{receive_task_2}},
|
||||||
|
Receive Task var 3 = {{receive_task_3}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1an8bg3</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0s5vj9x</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0s5vj9x" sourceRef="Activity_0atjlml" targetRef="Activity_07grwzj" />
|
||||||
|
<bpmn:callActivity id="Activity_07grwzj" name="Call Activity 4" calledElement="Process_simple_form_1_fgbpu4e">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>call_activity_1 = 100
|
||||||
|
call_activity_2 = 200
|
||||||
|
call_activity_4 = "Hi"</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
del(call_activity_1)
|
||||||
|
call_activity_3 = "Hellooo"
|
||||||
|
</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:instructionsForEndUser>My FirstName is : {{firstName}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0s5vj9x</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1hywrcq</bpmn:outgoing>
|
||||||
|
</bpmn:callActivity>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1hywrcq" sourceRef="Activity_07grwzj" targetRef="Activity_0yvvb2l" />
|
||||||
|
<bpmn:manualTask id="Activity_0yvvb2l" name="Show Call Activity Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>My New Name = {{firstName}},
|
||||||
|
Call Activity var 1 = {{call_activity_1}},
|
||||||
|
Call Activity var 2 = {{call_activity_2}},
|
||||||
|
Call Activity var 3 = {{call_activity_3}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1hywrcq</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_082ftez</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_082ftez" sourceRef="Activity_0yvvb2l" targetRef="Activity_0tw18gv" />
|
||||||
|
<bpmn:subProcess id="Activity_0tw18gv" name="Sub process Collapased 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>collapsed_subprocess_activity_1 = 44
|
||||||
|
collapsed_subprocess_activity_2 = 55
|
||||||
|
collapsed_subprocess_activity_3 = 33</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
del(collapsed_subprocess_activity_2)
|
||||||
|
collapsed_subprocess_activity_4 = 44</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:instructionsForEndUser>This is a Collapsed sub process</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_082ftez</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_170ycko</bpmn:outgoing>
|
||||||
|
<bpmn:startEvent id="Event_0xqdq0e">
|
||||||
|
<bpmn:outgoing>Flow_19vu277</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_19vu277" sourceRef="Event_0xqdq0e" targetRef="Activity_1l7z1sl" />
|
||||||
|
<bpmn:endEvent id="Event_00mqtfq">
|
||||||
|
<bpmn:incoming>Flow_0ij6o2b</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0ij6o2b" sourceRef="Activity_1l7z1sl" targetRef="Event_00mqtfq" />
|
||||||
|
<bpmn:manualTask id="Activity_1l7z1sl" name="Show Message 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Hi from Collapsed Sub process with Collapsed subprocess var 1 = {{collapsed_subprocess_activity_1}},
|
||||||
|
Collapsed subprocess var 2 = {{collapsed_subprocess_activity_2}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_19vu277</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0ij6o2b</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:subProcess>
|
||||||
|
<bpmn:sequenceFlow id="Flow_170ycko" sourceRef="Activity_0tw18gv" targetRef="Activity_01e995n" />
|
||||||
|
<bpmn:manualTask id="Activity_01e995n" name="Show Collapsed sub process Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Collapsed subprocess var 1 = {{collapsed_subprocess_activity_1}},
|
||||||
|
Collapsed subprocess var 2 = {{collapsed_subprocess_activity_2}},
|
||||||
|
Collapsed subprocess var 3 = {{collapsed_subprocess_activity_3}},
|
||||||
|
Collapsed subprocess var 4 = {{collapsed_subprocess_activity_4}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_170ycko</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1evk14h</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1evk14h" sourceRef="Activity_01e995n" targetRef="Activity_1iogzej" />
|
||||||
|
<bpmn:subProcess id="Activity_1iogzej" name="Expanded Sub process 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>expanded_subprocess_activity_1 = 7
|
||||||
|
expanded_subprocess_activity_2 = 8
|
||||||
|
expanded_subprocess_activity_3 = 3</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
expanded_subprocess_activity_3 = expanded_subprocess_activity_1 + expanded_subprocess_activity_2
|
||||||
|
del(expanded_subprocess_activity_1)</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:instructionsForEndUser>This is an expanded sub process</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1evk14h</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0beubtn</bpmn:outgoing>
|
||||||
|
<bpmn:startEvent id="Event_05j3k5i">
|
||||||
|
<bpmn:outgoing>Flow_1n7zz5j</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1n7zz5j" sourceRef="Event_05j3k5i" targetRef="Activity_02l6kma" />
|
||||||
|
<bpmn:manualTask id="Activity_02l6kma" name="Show Message 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Hello from Expanded Sub process with Expanded subprocess var 1 = {{expanded_subprocess_activity_1}},
|
||||||
|
Expanded subprocess var 2 = {{expanded_subprocess_activity_2}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1n7zz5j</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_136pl6u</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:endEvent id="Event_1dl71im">
|
||||||
|
<bpmn:incoming>Flow_136pl6u</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_136pl6u" sourceRef="Activity_02l6kma" targetRef="Event_1dl71im" />
|
||||||
|
</bpmn:subProcess>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0beubtn" sourceRef="Activity_1iogzej" targetRef="Activity_052k826" />
|
||||||
|
<bpmn:endEvent id="Event_1cpmclq">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>End Pre-Script Post-Script Test.
|
||||||
|
My New Name is {{name}},
|
||||||
|
User Task Var 1 = {{user_task_1}},
|
||||||
|
User Task Var 2 = {{user_task_2}},
|
||||||
|
User Task Var 3 = {{user_task_3}},
|
||||||
|
Manual Task var 1 = {{manual_task_1}},
|
||||||
|
Manual Task var 2 = {{manual_task_2}},
|
||||||
|
Manual Task var 3 = {{manual_task_3}},
|
||||||
|
Service Task var 1 = {{service_task_1}},
|
||||||
|
Service Task var 2 = {{service_task_2}}
|
||||||
|
Business Rule Task 1 = {{businessrule_task_1}},
|
||||||
|
Business Rule Task 2 = {{businessrule_task_2}},
|
||||||
|
Business Rule Task Id = {{businessRuleTaskId}},
|
||||||
|
User Name = {{test_name}},
|
||||||
|
User Role = {{test_role}},
|
||||||
|
Send Task var 1 = {{send_task_1}},
|
||||||
|
Send Task var 2 = {{send_task_2}},
|
||||||
|
payload = {{payload}},
|
||||||
|
Receive Task var 1 = {{receive_task_1}},
|
||||||
|
Receive Task var 2 = {{receive_task_2}},
|
||||||
|
Call Activity var 1 = {{call_activity_1}},
|
||||||
|
Call Activity var 2 = {{call_activity_2}},
|
||||||
|
Collapsed subprocess var 1 = {{collapsed_subprocess_activity_1}},
|
||||||
|
Collapsed subprocess var 2 = {{collapsed_subprocess_activity_2}},
|
||||||
|
Expanded subprocess var 1 = {{expanded_subprocess_activity_1}},
|
||||||
|
Expanded subprocess var 2 = {{expanded_subprocess_activity_2}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_02y9dpv</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_02y9dpv" sourceRef="Activity_052k826" targetRef="Event_1cpmclq" />
|
||||||
|
<bpmn:manualTask id="Activity_052k826" name="Show expanded sub process Data 4">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Expanded subprocess var 1 = {{expanded_subprocess_activity_1}},
|
||||||
|
Expanded subprocess var 2 = {{expanded_subprocess_activity_2}},
|
||||||
|
Expanded subprocess var 2 = {{expanded_subprocess_activity_3}},
|
||||||
|
Expanded subprocess var 2 = {{expanded_subprocess_activity_4}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0beubtn</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_02y9dpv</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:receiveTask id="Activity_0y4kkn9" name="Receive Task 4" messageRef="NewPrePostScriptMsg">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>receive_task_1 = 11
|
||||||
|
receive_task_2 = 22
|
||||||
|
receive_task_3 = 0</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
receive_task_3 = receive_task_1 * receive_task_2
|
||||||
|
del(receive_task_1)</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:messageVariable>payloadMsg</spiffworkflow:messageVariable>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0zbzkxg</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1an8bg3</bpmn:outgoing>
|
||||||
|
</bpmn:receiveTask>
|
||||||
|
<bpmn:sendTask id="Activity_0uw8p7i" name="Send Task 4" messageRef="NewPrePostScriptMsg">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:preScript>send_task_1 = 11
|
||||||
|
send_task_2 = 22
|
||||||
|
payload1 = {"name":"Harry", "age":50}</spiffworkflow:preScript>
|
||||||
|
<spiffworkflow:postScript># Delete Unneeded Variable
|
||||||
|
send_task_3 = send_task_1 + send_task_2
|
||||||
|
del(send_task_1)</spiffworkflow:postScript>
|
||||||
|
<spiffworkflow:messagePayload>payload1</spiffworkflow:messagePayload>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0lv8c94</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0c3kbws</bpmn:outgoing>
|
||||||
|
</bpmn:sendTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1x55wz3" sourceRef="Activity_0a914ll" targetRef="Activity_1ko63ab" />
|
||||||
|
<bpmn:scriptTask id="Activity_0a914ll" name="Script Task 1">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>a : {{a}}
|
||||||
|
b - {{b}}
|
||||||
|
c - {{c}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_0dy0c8r</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1x55wz3</bpmn:outgoing>
|
||||||
|
<bpmn:script>a = 5
|
||||||
|
b = 6
|
||||||
|
c = a * b</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0dy0c8r" sourceRef="Activity_19voh92" targetRef="Activity_0a914ll" />
|
||||||
|
<bpmn:manualTask id="Activity_19voh92" name="Manual task">
|
||||||
|
<bpmn:incoming>Flow_12pit63</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0dy0c8r</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmn:message id="NewPrePostScriptMsg" name="NewPrePostScriptMsg" />
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_test_pre_scripts_post_scripts_for_tasks_mg2fcs0">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-8" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_17rhhf1_di" bpmnElement="Activity_1ko63ab">
|
||||||
|
<dc:Bounds x="300" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1wnvwkg_di" bpmnElement="Activity_1aa2xu6">
|
||||||
|
<dc:Bounds x="440" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0fsrb8u_di" bpmnElement="Activity_1nk76nr">
|
||||||
|
<dc:Bounds x="610" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0wfvi2h_di" bpmnElement="Activity_1724gg7">
|
||||||
|
<dc:Bounds x="780" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1u6i1xs_di" bpmnElement="Activity_1cmc6ij">
|
||||||
|
<dc:Bounds x="950" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0bmtds3_di" bpmnElement="Activity_18wlmcj">
|
||||||
|
<dc:Bounds x="1120" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0kxl98n_di" bpmnElement="Activity_1gu179k">
|
||||||
|
<dc:Bounds x="1120" y="330" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1t1vnmb_di" bpmnElement="Activity_1abcuai">
|
||||||
|
<dc:Bounds x="950" y="330" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0mm8knu_di" bpmnElement="Activity_1xl1vnt">
|
||||||
|
<dc:Bounds x="620" y="330" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0ye08nd_di" bpmnElement="Activity_0atjlml">
|
||||||
|
<dc:Bounds x="340" y="330" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_05swzae_di" bpmnElement="Activity_07grwzj">
|
||||||
|
<dc:Bounds x="180" y="330" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1po4ot1_di" bpmnElement="Activity_0yvvb2l">
|
||||||
|
<dc:Bounds x="180" y="500" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0q35qe1_di" bpmnElement="Activity_0tw18gv">
|
||||||
|
<dc:Bounds x="330" y="500" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_035rb82_di" bpmnElement="Activity_01e995n">
|
||||||
|
<dc:Bounds x="480" y="500" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1e0i0vz_di" bpmnElement="Activity_1iogzej" isExpanded="true">
|
||||||
|
<dc:Bounds x="720" y="440" width="350" height="200" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_05j3k5i_di" bpmnElement="Event_05j3k5i">
|
||||||
|
<dc:Bounds x="760.3333333333334" y="522" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_04881cq_di" bpmnElement="Activity_02l6kma">
|
||||||
|
<dc:Bounds x="850" y="500" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_1dl71im_di" bpmnElement="Event_1dl71im">
|
||||||
|
<dc:Bounds x="1012" y="522" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1n7zz5j_di" bpmnElement="Flow_1n7zz5j">
|
||||||
|
<di:waypoint x="796" y="540" />
|
||||||
|
<di:waypoint x="850" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_136pl6u_di" bpmnElement="Flow_136pl6u">
|
||||||
|
<di:waypoint x="950" y="540" />
|
||||||
|
<di:waypoint x="1012" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNShape id="Event_1cpmclq_di" bpmnElement="Event_1cpmclq">
|
||||||
|
<dc:Bounds x="1312" y="522" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0vrnyop_di" bpmnElement="Activity_052k826">
|
||||||
|
<dc:Bounds x="1160" y="500" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_0w5hazz_di" bpmnElement="Activity_0y4kkn9">
|
||||||
|
<dc:Bounds x="480" y="330" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1oc7bex_di" bpmnElement="Activity_0uw8p7i">
|
||||||
|
<dc:Bounds x="780" y="330" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1bbkc1w_di" bpmnElement="Activity_0a914ll">
|
||||||
|
<dc:Bounds x="170" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1d2tlag_di" bpmnElement="Activity_19voh92">
|
||||||
|
<dc:Bounds x="40" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_12pit63_di" bpmnElement="Flow_12pit63">
|
||||||
|
<di:waypoint x="10" y="159" />
|
||||||
|
<di:waypoint x="10" y="117" />
|
||||||
|
<di:waypoint x="90" y="117" />
|
||||||
|
<di:waypoint x="90" y="137" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0rx4171_di" bpmnElement="Flow_0rx4171">
|
||||||
|
<di:waypoint x="400" y="177" />
|
||||||
|
<di:waypoint x="440" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0t5wjjo_di" bpmnElement="Flow_0t5wjjo">
|
||||||
|
<di:waypoint x="540" y="177" />
|
||||||
|
<di:waypoint x="610" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0kty908_di" bpmnElement="Flow_0kty908">
|
||||||
|
<di:waypoint x="710" y="177" />
|
||||||
|
<di:waypoint x="780" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0is9d8n_di" bpmnElement="Flow_0is9d8n">
|
||||||
|
<di:waypoint x="880" y="177" />
|
||||||
|
<di:waypoint x="950" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0ghbvoe_di" bpmnElement="Flow_0ghbvoe">
|
||||||
|
<di:waypoint x="1050" y="177" />
|
||||||
|
<di:waypoint x="1120" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0asdpkl_di" bpmnElement="Flow_0asdpkl">
|
||||||
|
<di:waypoint x="1170" y="217" />
|
||||||
|
<di:waypoint x="1170" y="330" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1hzsoui_di" bpmnElement="Flow_1hzsoui">
|
||||||
|
<di:waypoint x="1120" y="370" />
|
||||||
|
<di:waypoint x="1050" y="370" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0lv8c94_di" bpmnElement="Flow_0lv8c94">
|
||||||
|
<di:waypoint x="950" y="370" />
|
||||||
|
<di:waypoint x="880" y="370" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0c3kbws_di" bpmnElement="Flow_0c3kbws">
|
||||||
|
<di:waypoint x="780" y="370" />
|
||||||
|
<di:waypoint x="720" y="370" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0zbzkxg_di" bpmnElement="Flow_0zbzkxg">
|
||||||
|
<di:waypoint x="620" y="370" />
|
||||||
|
<di:waypoint x="580" y="370" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1an8bg3_di" bpmnElement="Flow_1an8bg3">
|
||||||
|
<di:waypoint x="480" y="370" />
|
||||||
|
<di:waypoint x="440" y="370" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0s5vj9x_di" bpmnElement="Flow_0s5vj9x">
|
||||||
|
<di:waypoint x="340" y="370" />
|
||||||
|
<di:waypoint x="280" y="370" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1hywrcq_di" bpmnElement="Flow_1hywrcq">
|
||||||
|
<di:waypoint x="280" y="370" />
|
||||||
|
<di:waypoint x="310" y="370" />
|
||||||
|
<di:waypoint x="310" y="540" />
|
||||||
|
<di:waypoint x="280" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_082ftez_di" bpmnElement="Flow_082ftez">
|
||||||
|
<di:waypoint x="280" y="540" />
|
||||||
|
<di:waypoint x="330" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_170ycko_di" bpmnElement="Flow_170ycko">
|
||||||
|
<di:waypoint x="430" y="540" />
|
||||||
|
<di:waypoint x="480" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1evk14h_di" bpmnElement="Flow_1evk14h">
|
||||||
|
<di:waypoint x="580" y="540" />
|
||||||
|
<di:waypoint x="720" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0beubtn_di" bpmnElement="Flow_0beubtn">
|
||||||
|
<di:waypoint x="1070" y="540" />
|
||||||
|
<di:waypoint x="1160" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_02y9dpv_di" bpmnElement="Flow_02y9dpv">
|
||||||
|
<di:waypoint x="1260" y="540" />
|
||||||
|
<di:waypoint x="1312" y="540" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1x55wz3_di" bpmnElement="Flow_1x55wz3">
|
||||||
|
<di:waypoint x="270" y="177" />
|
||||||
|
<di:waypoint x="300" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0dy0c8r_di" bpmnElement="Flow_0dy0c8r">
|
||||||
|
<di:waypoint x="140" y="177" />
|
||||||
|
<di:waypoint x="170" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1usjwzx">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_0yht31w" bpmnElement="Activity_0tw18gv">
|
||||||
|
<bpmndi:BPMNShape id="Event_0xqdq0e_di" bpmnElement="Event_0xqdq0e">
|
||||||
|
<dc:Bounds x="342" y="212" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_00mqtfq_di" bpmnElement="Event_00mqtfq">
|
||||||
|
<dc:Bounds x="582" y="212" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1cwwkrh_di" bpmnElement="Activity_1l7z1sl">
|
||||||
|
<dc:Bounds x="430" y="190" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_19vu277_di" bpmnElement="Flow_19vu277">
|
||||||
|
<di:waypoint x="378" y="230" />
|
||||||
|
<di:waypoint x="430" y="230" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0ij6o2b_di" bpmnElement="Flow_0ij6o2b">
|
||||||
|
<di:waypoint x="530" y="230" />
|
||||||
|
<di:waypoint x="582" y="230" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
@ -0,0 +1,43 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
|
||||||
|
<decision id="decision_UserRoleDecision" name="UserRoleDecision">
|
||||||
|
<decisionTable id="decisionTable_2">
|
||||||
|
<input id="input_1" label="ID">
|
||||||
|
<inputExpression id="inputExpression_1" typeRef="number">
|
||||||
|
<text>businessRuleTaskId</text>
|
||||||
|
</inputExpression>
|
||||||
|
</input>
|
||||||
|
<output id="output_1" label="Name" name="test_name" typeRef="string" />
|
||||||
|
<output id="OutputClause_049kh0e" label="Role" name="test_role" typeRef="string" />
|
||||||
|
<rule id="DecisionRule_0zs1sk9">
|
||||||
|
<inputEntry id="UnaryTests_1h0gxhn">
|
||||||
|
<text>12</text>
|
||||||
|
</inputEntry>
|
||||||
|
<outputEntry id="LiteralExpression_0hgsu0i">
|
||||||
|
<text>"TOM"</text>
|
||||||
|
</outputEntry>
|
||||||
|
<outputEntry id="LiteralExpression_0xu3lfm">
|
||||||
|
<text>"QALead"</text>
|
||||||
|
</outputEntry>
|
||||||
|
</rule>
|
||||||
|
<rule id="DecisionRule_12umyi2">
|
||||||
|
<inputEntry id="UnaryTests_1wovi0i">
|
||||||
|
<text>24</text>
|
||||||
|
</inputEntry>
|
||||||
|
<outputEntry id="LiteralExpression_13ywo9a">
|
||||||
|
<text>"EVE"</text>
|
||||||
|
</outputEntry>
|
||||||
|
<outputEntry id="LiteralExpression_08vkbr5">
|
||||||
|
<text>"DEV"</text>
|
||||||
|
</outputEntry>
|
||||||
|
</rule>
|
||||||
|
</decisionTable>
|
||||||
|
</decision>
|
||||||
|
<dmndi:DMNDI>
|
||||||
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||||
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_UserRoleDecision">
|
||||||
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||||
|
</dmndi:DMNShape>
|
||||||
|
</dmndi:DMNDiagram>
|
||||||
|
</dmndi:DMNDI>
|
||||||
|
</definitions>
|
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Timer Intermediate Catch Event",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "timer-intermediate-catch-event.bpmn",
|
||||||
|
"primary_process_id": "Test_Timer_intermediate_catch"
|
||||||
|
}
|
@ -0,0 +1,119 @@
|
|||||||
|
<?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:spiffworkflow="http://spiffworkflow.org/bpmn/schema/1.0/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_96f6665" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-dev">
|
||||||
|
<bpmn:process id="Test_Timer_intermediate_catch" name="Unit Test Timer Event" isExecutable="true">
|
||||||
|
<bpmn:startEvent id="StartEvent_1">
|
||||||
|
<bpmn:outgoing>Flow_1khppaq</bpmn:outgoing>
|
||||||
|
</bpmn:startEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1khppaq" sourceRef="StartEvent_1" targetRef="Activity_1kvg2ub" />
|
||||||
|
<bpmn:scriptTask id="Activity_1kvg2ub" name="Get Start Time">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser />
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1khppaq</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1if3wm0</bpmn:outgoing>
|
||||||
|
<bpmn:script>start_time = round(time.time() * 1000)</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1if3wm0" sourceRef="Activity_1kvg2ub" targetRef="Activity_0mei3ci" />
|
||||||
|
<bpmn:intermediateCatchEvent id="Event_1pz3emx">
|
||||||
|
<bpmn:incoming>Flow_0t0n0qg</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_116lqvv</bpmn:outgoing>
|
||||||
|
<bpmn:timerEventDefinition id="TimerEventDefinition_01q1jut">
|
||||||
|
<bpmn:timeCycle xsi:type="bpmn:tFormalExpression">"R2/PT60S"</bpmn:timeCycle>
|
||||||
|
</bpmn:timerEventDefinition>
|
||||||
|
</bpmn:intermediateCatchEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_116lqvv" sourceRef="Event_1pz3emx" targetRef="Event_11t2rlx" />
|
||||||
|
<bpmn:scriptTask id="Activity_1wtffcs" name="Get End Time">
|
||||||
|
<bpmn:incoming>Flow_0feo9sn</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_1gbrmax</bpmn:outgoing>
|
||||||
|
<bpmn:script>end_time = round(time.time() * 1000)
|
||||||
|
duration = round((end_time-start_time)/1000)</bpmn:script>
|
||||||
|
</bpmn:scriptTask>
|
||||||
|
<bpmn:endEvent id="Event_11isusg">
|
||||||
|
<bpmn:extensionElements>
|
||||||
|
<spiffworkflow:instructionsForEndUser>Duration: {{duration}}</spiffworkflow:instructionsForEndUser>
|
||||||
|
</bpmn:extensionElements>
|
||||||
|
<bpmn:incoming>Flow_1gbrmax</bpmn:incoming>
|
||||||
|
</bpmn:endEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_1gbrmax" sourceRef="Activity_1wtffcs" targetRef="Event_11isusg" />
|
||||||
|
<bpmn:sequenceFlow id="Flow_0hpyluw" sourceRef="Activity_0mei3ci" targetRef="Event_0v3o4zn" />
|
||||||
|
<bpmn:manualTask id="Activity_0mei3ci" name="Manual Task">
|
||||||
|
<bpmn:incoming>Flow_1if3wm0</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0hpyluw</bpmn:outgoing>
|
||||||
|
</bpmn:manualTask>
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_0v3o4zn" name="Start">
|
||||||
|
<bpmn:incoming>Flow_0hpyluw</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0t0n0qg</bpmn:outgoing>
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0t0n0qg" sourceRef="Event_0v3o4zn" targetRef="Event_1pz3emx" />
|
||||||
|
<bpmn:intermediateThrowEvent id="Event_11t2rlx" name="End">
|
||||||
|
<bpmn:incoming>Flow_116lqvv</bpmn:incoming>
|
||||||
|
<bpmn:outgoing>Flow_0feo9sn</bpmn:outgoing>
|
||||||
|
</bpmn:intermediateThrowEvent>
|
||||||
|
<bpmn:sequenceFlow id="Flow_0feo9sn" sourceRef="Event_11t2rlx" targetRef="Activity_1wtffcs" />
|
||||||
|
</bpmn:process>
|
||||||
|
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||||
|
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Test_Timer_intermediate_catch">
|
||||||
|
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||||
|
<dc:Bounds x="-8" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1937awy_di" bpmnElement="Activity_1kvg2ub">
|
||||||
|
<dc:Bounds x="80" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_17n2nv0_di" bpmnElement="Event_1pz3emx">
|
||||||
|
<dc:Bounds x="432" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1ne1ysk_di" bpmnElement="Activity_1wtffcs">
|
||||||
|
<dc:Bounds x="560" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_11isusg_di" bpmnElement="Event_11isusg">
|
||||||
|
<dc:Bounds x="742" y="159" width="36" height="36" />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Activity_1efzviw_di" bpmnElement="Activity_0mei3ci">
|
||||||
|
<dc:Bounds x="250" y="137" width="100" height="80" />
|
||||||
|
<bpmndi:BPMNLabel />
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_0v3o4zn_di" bpmnElement="Event_0v3o4zn">
|
||||||
|
<dc:Bounds x="372" y="159" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="378" y="202" width="25" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNShape id="Event_11t2rlx_di" bpmnElement="Event_11t2rlx">
|
||||||
|
<dc:Bounds x="492" y="159" width="36" height="36" />
|
||||||
|
<bpmndi:BPMNLabel>
|
||||||
|
<dc:Bounds x="500" y="202" width="20" height="14" />
|
||||||
|
</bpmndi:BPMNLabel>
|
||||||
|
</bpmndi:BPMNShape>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1khppaq_di" bpmnElement="Flow_1khppaq">
|
||||||
|
<di:waypoint x="28" y="177" />
|
||||||
|
<di:waypoint x="80" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1if3wm0_di" bpmnElement="Flow_1if3wm0">
|
||||||
|
<di:waypoint x="180" y="177" />
|
||||||
|
<di:waypoint x="250" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_116lqvv_di" bpmnElement="Flow_116lqvv">
|
||||||
|
<di:waypoint x="468" y="177" />
|
||||||
|
<di:waypoint x="492" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_1gbrmax_di" bpmnElement="Flow_1gbrmax">
|
||||||
|
<di:waypoint x="660" y="177" />
|
||||||
|
<di:waypoint x="742" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0hpyluw_di" bpmnElement="Flow_0hpyluw">
|
||||||
|
<di:waypoint x="350" y="177" />
|
||||||
|
<di:waypoint x="372" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0t0n0qg_di" bpmnElement="Flow_0t0n0qg">
|
||||||
|
<di:waypoint x="408" y="177" />
|
||||||
|
<di:waypoint x="432" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
<bpmndi:BPMNEdge id="Flow_0feo9sn_di" bpmnElement="Flow_0feo9sn">
|
||||||
|
<di:waypoint x="528" y="177" />
|
||||||
|
<di:waypoint x="560" y="177" />
|
||||||
|
</bpmndi:BPMNEdge>
|
||||||
|
</bpmndi:BPMNPlane>
|
||||||
|
</bpmndi:BPMNDiagram>
|
||||||
|
</bpmn:definitions>
|
4
misc/qa/process_group.json
Normal file
4
misc/qa/process_group.json
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"description": "Models used in Test cases and general testing",
|
||||||
|
"display_name": "QA"
|
||||||
|
}
|
44
misc/qa/test-business-rule-task/fruit-colors.dmn
Normal file
44
misc/qa/test-business-rule-task/fruit-colors.dmn
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" id="Definitions_76910d7" name="DRD" namespace="http://camunda.org/schema/1.0/dmn">
|
||||||
|
<decision id="fruit_colors" name="Fruit Colors">
|
||||||
|
<decisionTable id="decisionTable_1">
|
||||||
|
<input id="input_1" biodi:width="192">
|
||||||
|
<inputExpression id="inputExpression_1" typeRef="string">
|
||||||
|
<text>favoriteFruit</text>
|
||||||
|
</inputExpression>
|
||||||
|
</input>
|
||||||
|
<output id="output_1" name="color" typeRef="string" />
|
||||||
|
<rule id="DecisionRule_1bzkcvr">
|
||||||
|
<inputEntry id="UnaryTests_1ub8o3r">
|
||||||
|
<text>"apples"</text>
|
||||||
|
</inputEntry>
|
||||||
|
<outputEntry id="LiteralExpression_04pv6a1">
|
||||||
|
<text>"RED"</text>
|
||||||
|
</outputEntry>
|
||||||
|
</rule>
|
||||||
|
<rule id="DecisionRule_1u6pida">
|
||||||
|
<inputEntry id="UnaryTests_0nxpysl">
|
||||||
|
<text>"oranges"</text>
|
||||||
|
</inputEntry>
|
||||||
|
<outputEntry id="LiteralExpression_0fr2d5o">
|
||||||
|
<text>"ORANGE"</text>
|
||||||
|
</outputEntry>
|
||||||
|
</rule>
|
||||||
|
<rule id="DecisionRule_1h4e2a7">
|
||||||
|
<inputEntry id="UnaryTests_0y2ppie">
|
||||||
|
<text>"bananas"</text>
|
||||||
|
</inputEntry>
|
||||||
|
<outputEntry id="LiteralExpression_0v4bbj9">
|
||||||
|
<text>"YELLOW"</text>
|
||||||
|
</outputEntry>
|
||||||
|
</rule>
|
||||||
|
</decisionTable>
|
||||||
|
</decision>
|
||||||
|
<dmndi:DMNDI>
|
||||||
|
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||||
|
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="fruit_colors">
|
||||||
|
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||||
|
</dmndi:DMNShape>
|
||||||
|
</dmndi:DMNDiagram>
|
||||||
|
</dmndi:DMNDI>
|
||||||
|
</definitions>
|
16
misc/qa/test-business-rule-task/fruits-exampledata.json
Normal file
16
misc/qa/test-business-rule-task/fruits-exampledata.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"fruits": [
|
||||||
|
{
|
||||||
|
"value": "apples",
|
||||||
|
"label": "Apples"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "oranges",
|
||||||
|
"label": "Oranges"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"value": "bananas",
|
||||||
|
"label": "Bananas"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
28
misc/qa/test-business-rule-task/fruits-schema.json
Normal file
28
misc/qa/test-business-rule-task/fruits-schema.json
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"title": "Favorite Fruit",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"favoriteFruit": {
|
||||||
|
"title": "Select your favorite fruit",
|
||||||
|
"type": "string",
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"const": "None",
|
||||||
|
"title": "None from the list"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "apples",
|
||||||
|
"title": "Apples"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "oranges",
|
||||||
|
"title": "Oranges"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"const": "bananas",
|
||||||
|
"title": "Bananas"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2
misc/qa/test-business-rule-task/fruits-uischema.json
Normal file
2
misc/qa/test-business-rule-task/fruits-uischema.json
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{
|
||||||
|
}
|
9
misc/qa/test-business-rule-task/process_model.json
Normal file
9
misc/qa/test-business-rule-task/process_model.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"description": "",
|
||||||
|
"display_name": "Test Business Rule Task",
|
||||||
|
"exception_notification_addresses": [],
|
||||||
|
"fault_or_suspend_on_exception": "fault",
|
||||||
|
"metadata_extraction_paths": null,
|
||||||
|
"primary_file_name": "test-business-rule-task.bpmn",
|
||||||
|
"primary_process_id": "Process_test_business_rule_task_0b28eid"
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user