mirror of
https://github.com/sartography/demo-process-models.git
synced 2025-02-20 19:48:12 +00:00
Lots of updates to the minimal and basic examples to make them easier to follow.
This commit is contained in:
parent
22726fc54b
commit
8c2267e8ce
@ -2,80 +2,108 @@
|
||||
<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="Process_7kik021" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_1djhqzp</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0ign3x0</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:endEvent id="Event_1nuxsxl">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>## Great Job!
|
||||
|
||||
You have completed your first diagram!
|
||||
|
||||
If you look below you will see the diagram you just completed.
|
||||
You can open this diagram up in our editor where you can move things around, click on elements and view their properties. This is a great way to learn how diagrams are put together. To do so, click on "Minimal Example" in the breadcrumbs at the top of this page, and then open the file "hello-world.bpmn"
|
||||
|
||||
If you are interested in building your own diagrams, you can request access to a private "Playground" where you can build models and test out your own ideas. We'll tell you more about this later.
|
||||
|
||||
## Next Steps
|
||||
1. Check out the Basic Example under the Examples group to get a better sense of the expressiveness of the BPMN Modeling Language and what you can do with SpiffWorkflow.
|
||||
2. Open up the "1. Basics" Group for a set of additional examples that will introduce you to topics one at a time.
|
||||
3. If you haven't already please check out our [Documentation for Spiff-Arena](https://spiff-arena.readthedocs.io/en/latest/quick_start/quick_start.html) which is a great way to get oriented so you can move through these examples with ease.</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0aw40yc</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1djhqzp" sourceRef="StartEvent_1" targetRef="Activity_16qfwpz" />
|
||||
<bpmn:sequenceFlow id="Flow_0fj602z" sourceRef="Activity_16qfwpz" targetRef="Activity_0j3j0ev" />
|
||||
<bpmn:scriptTask id="Activity_16qfwpz" name="Set Hello Wolrd Variable">
|
||||
<bpmn:incoming>Flow_1djhqzp</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0fj602z</bpmn:outgoing>
|
||||
<bpmn:script>my_message = "Hello World"</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:sequenceFlow id="Flow_0aw40yc" sourceRef="Activity_0j3j0ev" targetRef="Event_1nuxsxl" />
|
||||
<bpmn:manualTask id="Activity_0j3j0ev" name="Show Hello World">
|
||||
<bpmn:manualTask id="Activity_0j3j0ev" name="Show Example Manual Task">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>{{ my_message }}</spiffworkflow:instructionsForEndUser>
|
||||
<spiffworkflow:instructionsForEndUser>## Welcome to SpiffWorkflow
|
||||
|
||||
Thank you for coming by and checking things out!
|
||||
|
||||
As you follow through these examples we'd like you to do three things each time:
|
||||
|
||||
* **View the diagram** - Every process has a primary file - it will be the first file you see in the list of files when viewing a process model. These diagrams fully control what you experience when you click the "Start" button
|
||||
* **Start up the process** - Click that "Start" Button and step through the process.
|
||||
* **Follow any special directions** - rather than just complete the process, read the directions carefully. In this way we can show you some additional aspects of the system - or you may need to take some other actions to really see everything that is happening.
|
||||
|
||||
|
||||
### What is "Hello World"?
|
||||
|
||||
Hello World is a common way to introduce people to a new programming language. It shows the minimum amount of work required to make something (anything) happen.
|
||||
|
||||
|
||||
### More Information
|
||||
You can find lots more information in our [Documentation for Spiff-Arena](https://spiff-arena.readthedocs.io/en/latest/quick_start/quick_start.html)</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0fj602z</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0ign3x0</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0aw40yc</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:serviceTask id="Activity_04nklcf" name="Send Hello World" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_0n80njr">
|
||||
<bpmn:text>Sets the my_message variable to "Hello World"</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_0xm5mzh" sourceRef="Activity_16qfwpz" targetRef="TextAnnotation_0n80njr" />
|
||||
<bpmn:sequenceFlow id="Flow_0ign3x0" sourceRef="StartEvent_1" targetRef="Activity_0j3j0ev" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_1yze331">
|
||||
<bpmn:text>Displays the my_message variable to the user when process is run</bpmn:text>
|
||||
<bpmn:text>This manual task will display a message and wait for the end user to click "Continue". The message displayed is set in the "Instructions" field in the properties panel to the right when this task is selected.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_13sqazn" sourceRef="Activity_0j3j0ev" targetRef="TextAnnotation_1yze331" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_1vdnvgp">
|
||||
<bpmn:text>This is the "Start Event" and marks the starting point for a process.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_0272evq" sourceRef="StartEvent_1" targetRef="TextAnnotation_1vdnvgp" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_03jcjkk">
|
||||
<bpmn:text>This is the "End Event" and stops the process from running.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_080lb5b" sourceRef="Event_1nuxsxl" targetRef="TextAnnotation_03jcjkk" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_7kik021">
|
||||
<bpmndi:BPMNShape id="TextAnnotation_0n80njr_di" bpmnElement="TextAnnotation_0n80njr">
|
||||
<dc:Bounds x="140" y="10" width="100" height="70" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1yze331_di" bpmnElement="TextAnnotation_1yze331">
|
||||
<dc:Bounds x="510" y="-20" width="100" height="84" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="179" y="159" width="36" height="36" />
|
||||
<dc:Bounds x="322" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1nuxsxl_di" bpmnElement="Event_1nuxsxl">
|
||||
<dc:Bounds x="852" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1e5du3q_di" bpmnElement="Activity_16qfwpz">
|
||||
<dc:Bounds x="280" y="137" width="100" height="80" />
|
||||
<dc:Bounds x="622" y="159" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0crrakz_di" bpmnElement="Activity_0j3j0ev">
|
||||
<dc:Bounds x="450" y="137" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0zsvyuq_di" bpmnElement="Activity_04nklcf">
|
||||
<dc:Bounds x="650" y="240" width="100" height="80" />
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1yze331_di" bpmnElement="TextAnnotation_1yze331">
|
||||
<dc:Bounds x="404" y="-65" width="192" height="113" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1vdnvgp_di" bpmnElement="TextAnnotation_1vdnvgp">
|
||||
<dc:Bounds x="260" y="-7" width="99.99999999999999" height="84.15336879432623" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_03jcjkk_di" bpmnElement="TextAnnotation_03jcjkk">
|
||||
<dc:Bounds x="620" y="7" width="150" height="56" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Association_0xm5mzh_di" bpmnElement="Association_0xm5mzh">
|
||||
<di:waypoint x="293" y="137" />
|
||||
<di:waypoint x="240" y="79" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_13sqazn_di" bpmnElement="Association_13sqazn">
|
||||
<di:waypoint x="513" y="137" />
|
||||
<di:waypoint x="537" y="64" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1djhqzp_di" bpmnElement="Flow_1djhqzp">
|
||||
<di:waypoint x="215" y="177" />
|
||||
<di:waypoint x="280" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0fj602z_di" bpmnElement="Flow_0fj602z">
|
||||
<di:waypoint x="380" y="177" />
|
||||
<di:waypoint x="450" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0aw40yc_di" bpmnElement="Flow_0aw40yc">
|
||||
<di:waypoint x="550" y="177" />
|
||||
<di:waypoint x="852" y="177" />
|
||||
<di:waypoint x="622" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0ign3x0_di" bpmnElement="Flow_0ign3x0">
|
||||
<di:waypoint x="358" y="177" />
|
||||
<di:waypoint x="450" y="177" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_13sqazn_di" bpmnElement="Association_13sqazn">
|
||||
<di:waypoint x="489" y="137" />
|
||||
<di:waypoint x="464" y="48" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_0272evq_di" bpmnElement="Association_0272evq">
|
||||
<di:waypoint x="337" y="160" />
|
||||
<di:waypoint x="322" y="77" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_080lb5b_di" bpmnElement="Association_080lb5b">
|
||||
<di:waypoint x="643" y="160" />
|
||||
<di:waypoint x="662" y="63" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
@ -1,78 +0,0 @@
|
||||
<?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_870dxz9" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_0uif2qq</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_0uif2qq" sourceRef="StartEvent_1" targetRef="Activity_0zf32ar" />
|
||||
<bpmn:manualTask id="Activity_0zf32ar" name="Instructions!">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Welcome!
|
||||
Thanks for checking out the **markdown editor!**
|
||||
|
||||
| Syntax | Description | More Details |
|
||||
| --- | ----------- | ------- |
|
||||
| Header | Title | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem donec massa sapien faucibus. Morbi blandit cursus risus at ultrices mi tempus. Ut venenatis tellus in metus vulputate eu scelerisque felis imperdiet. Urna condimentum mattis pellentesque id nibh tortor. Rhoncus urna neque viverra justo nec ultrices. Non sodales neque sodales ut etiam sit amet nisl. Condimentum lacinia quis vel eros. Congue quisque egestas diam in arcu cursus euismod quis viverra. Sit amet tellus cras adipiscing enim. Quisque egestas diam in arcu cursus euismod quis. Ut porttitor leo a diam sollicitudin tempor. Sed sed risus pretium quam vulputate dignissim suspendisse in est. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Diam phasellus vestibulum lorem sed risus ultricies tristique. Et pharetra pharetra massa massa. Donec adipiscing tristique risus nec feugiat in fermentum posuere urna. Lectus mauris ultrices eros in. Porttitor leo a diam sollicitudin. |
|
||||
| Paragraph | Text | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem donec massa sapien faucibus. Morbi blandit cursus risus at ultrices mi tempus. Ut venenatis tellus in metus vulputate eu scelerisque felis imperdiet. Urna condimentum mattis pellentesque id nibh tortor. Rhoncus urna neque viverra justo nec ultrices. Non sodales neque sodales ut etiam sit amet nisl. Condimentum lacinia quis vel eros. Congue quisque egestas diam in arcu cursus euismod quis viverra. Sit amet tellus cras adipiscing enim. Quisque egestas diam in arcu cursus euismod quis. Ut porttitor leo a diam sollicitudin tempor. Sed sed risus pretium quam vulputate dignissim suspendisse in est. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Diam phasellus vestibulum lorem sed risus ultricies tristique. Et pharetra pharetra massa massa. Donec adipiscing tristique risus nec feugiat in fermentum posuere urna. Lectus mauris ultrices eros in. Porttitor leo a diam sollicitudin. |
|
||||
| Word | Text |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem donec massa sapien faucibus. Morbi blandit cursus risus at ultrices mi tempus. Ut venenatis tellus in metus vulputate eu scelerisque felis imperdiet. Urna condimentum mattis pellentesque id nibh tortor. Rhoncus urna neque viverra justo nec ultrices. Non sodales neque sodales ut etiam sit amet nisl. Condimentum lacinia quis vel eros. Congue quisque egestas diam in arcu cursus euismod quis viverra. Sit amet tellus cras adipiscing enim. Quisque egestas diam in arcu cursus euismod quis. Ut porttitor leo a diam sollicitudin tempor. Sed sed risus pretium quam vulputate dignissim suspendisse in est. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Diam phasellus vestibulum lorem sed risus ultricies tristique. Et pharetra pharetra massa massa. Donec adipiscing tristique risus nec feugiat in fermentum posuere urna. Lectus mauris ultrices eros in. Porttitor leo a diam sollicitudin. | </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0uif2qq</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_01kwqj3</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:endEvent id="Event_0iqd10r">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>### Great Job
|
||||
Lorem ipsum, or lipsum as it is sometimes known, is dummy text used in laying out print, graphic or web designs. The passage is attributed to an unknown typesetter in the 15th century who is thought to have scrambled parts of Cicero's De Finibus Bonorum et Malorum for use in a type specimen book. It usually begins with:
|
||||
|
||||
“Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.”
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1gsylr5</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_01kwqj3" sourceRef="Activity_0zf32ar" targetRef="Event_1ebnnpt" />
|
||||
<bpmn:sequenceFlow id="Flow_1gsylr5" sourceRef="Event_1ebnnpt" targetRef="Event_0iqd10r" />
|
||||
<bpmn:intermediateCatchEvent id="Event_1ebnnpt">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># WAIT
|
||||
You gonna need to wait and look at this made delightful table.
|
||||
| Syntax | Description | More Details |
|
||||
| --- | ----------- | ------- |
|
||||
| Header | Title | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem donec massa sapien faucibus. Morbi blandit cursus risus at ultrices mi tempus. Ut venenatis tellus in metus vulputate eu scelerisque felis imperdiet. Urna condimentum mattis pellentesque id nibh tortor. Rhoncus urna neque viverra justo nec ultrices. Non sodales neque sodales ut etiam sit amet nisl. Condimentum lacinia quis vel eros. Congue quisque egestas diam in arcu cursus euismod quis viverra. Sit amet tellus cras adipiscing enim. Quisque egestas diam in arcu cursus euismod quis. Ut porttitor leo a diam sollicitudin tempor. Sed sed risus pretium quam vulputate dignissim suspendisse in est. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Diam phasellus vestibulum lorem sed risus ultricies tristique. Et pharetra pharetra massa massa. Donec adipiscing tristique risus nec feugiat in fermentum posuere urna. Lectus mauris ultrices eros in. Porttitor leo a diam sollicitudin. |
|
||||
| Paragraph | Text | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem donec massa sapien faucibus. Morbi blandit cursus risus at ultrices mi tempus. Ut venenatis tellus in metus vulputate eu scelerisque felis imperdiet. Urna condimentum mattis pellentesque id nibh tortor. Rhoncus urna neque viverra justo nec ultrices. Non sodales neque sodales ut etiam sit amet nisl. Condimentum lacinia quis vel eros. Congue quisque egestas diam in arcu cursus euismod quis viverra. Sit amet tellus cras adipiscing enim. Quisque egestas diam in arcu cursus euismod quis. Ut porttitor leo a diam sollicitudin tempor. Sed sed risus pretium quam vulputate dignissim suspendisse in est. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Diam phasellus vestibulum lorem sed risus ultricies tristique. Et pharetra pharetra massa massa. Donec adipiscing tristique risus nec feugiat in fermentum posuere urna. Lectus mauris ultrices eros in. Porttitor leo a diam sollicitudin. |
|
||||
| Word | Text |Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Lorem donec massa sapien faucibus. Morbi blandit cursus risus at ultrices mi tempus. Ut venenatis tellus in metus vulputate eu scelerisque felis imperdiet. Urna condimentum mattis pellentesque id nibh tortor. Rhoncus urna neque viverra justo nec ultrices. Non sodales neque sodales ut etiam sit amet nisl. Condimentum lacinia quis vel eros. Congue quisque egestas diam in arcu cursus euismod quis viverra. Sit amet tellus cras adipiscing enim. Quisque egestas diam in arcu cursus euismod quis. Ut porttitor leo a diam sollicitudin tempor. Sed sed risus pretium quam vulputate dignissim suspendisse in est. Non curabitur gravida arcu ac tortor dignissim convallis aenean. Diam phasellus vestibulum lorem sed risus ultricies tristique. Et pharetra pharetra massa massa. Donec adipiscing tristique risus nec feugiat in fermentum posuere urna. Lectus mauris ultrices eros in. Porttitor leo a diam sollicitudin. | </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_01kwqj3</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1gsylr5</bpmn:outgoing>
|
||||
<bpmn:messageEventDefinition id="MessageEventDefinition_0vx0rwh" />
|
||||
</bpmn:intermediateCatchEvent>
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_870dxz9">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="162" y="182" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1epju37_di" bpmnElement="Activity_0zf32ar">
|
||||
<dc:Bounds x="250" y="160" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0425lgo_di" bpmnElement="Event_1ebnnpt">
|
||||
<dc:Bounds x="422" y="182" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0iqd10r_di" bpmnElement="Event_0iqd10r">
|
||||
<dc:Bounds x="542" y="182" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_0uif2qq_di" bpmnElement="Flow_0uif2qq">
|
||||
<di:waypoint x="198" y="200" />
|
||||
<di:waypoint x="250" y="200" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_01kwqj3_di" bpmnElement="Flow_01kwqj3">
|
||||
<di:waypoint x="350" y="200" />
|
||||
<di:waypoint x="422" y="200" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1gsylr5_di" bpmnElement="Flow_1gsylr5">
|
||||
<di:waypoint x="458" y="200" />
|
||||
<di:waypoint x="542" y="200" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
</bpmn:definitions>
|
@ -1,80 +0,0 @@
|
||||
<?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="decision_pizza_price" name="Pizza Prices">
|
||||
<decisionTable id="decisionTable_1">
|
||||
<input id="input_1">
|
||||
<inputExpression id="inputExpression_1" typeRef="string">
|
||||
<text>pizza size</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<input id="InputClause_0tb0e89">
|
||||
<inputExpression id="LiteralExpression_0xw5eoq" typeRef="string">
|
||||
<text>number of toppings</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output_1" name="price" typeRef="string" biodi:width="242" />
|
||||
<rule id="DecisionRule_019hrle">
|
||||
<inputEntry id="UnaryTests_1q0t0x7">
|
||||
<text>"large"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0jhesvg">
|
||||
<text><= 3</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_07xd059">
|
||||
<text>12.50</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_04qgdlj">
|
||||
<inputEntry id="UnaryTests_0l0yhsf">
|
||||
<text>"medium"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0qw9n63">
|
||||
<text><= 3</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0378xh1">
|
||||
<text>10.50</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_03ajzbo">
|
||||
<inputEntry id="UnaryTests_0z21d14">
|
||||
<text>"small"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0bycx2u">
|
||||
<text><= 3</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_07dzz64">
|
||||
<text>8.50</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_1fdzdnb">
|
||||
<inputEntry id="UnaryTests_0eyhge4">
|
||||
<text>"large"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_196cm5s">
|
||||
<text>> 3</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0ox0j96">
|
||||
<text>12.50 + (1.25 * num_toppings)</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0jrrf2w">
|
||||
<inputEntry id="UnaryTests_0t557el">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_1ufi20x">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1jzwscw">
|
||||
<text></text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_pizza_price">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
@ -1,11 +1,9 @@
|
||||
{
|
||||
"description": "A 'Hello World' Process, the simplest possible executable BPMN Diagram.",
|
||||
"display_name": "Minimal Example",
|
||||
"display_order": 1,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "instructions.bpmn",
|
||||
"primary_process_id": "Process_870dxz9"
|
||||
"primary_file_name": "hello-world.bpmn",
|
||||
"primary_process_id": "Process_7kik021"
|
||||
}
|
@ -1,86 +0,0 @@
|
||||
<?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="Analyze_Telephone_Number" name="Analyze Telephone Number">
|
||||
<decisionTable id="decisionTable_1">
|
||||
<input id="InputClause_17b0zis" label="Last Name">
|
||||
<inputExpression id="LiteralExpression_0x39cnu" typeRef="string">
|
||||
<text>lastName</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<input id="input_1" label="Telephone Number ">
|
||||
<inputExpression id="inputExpression_1" typeRef="string">
|
||||
<text>telephone[-10:]</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output_1" label="The Real Chuck Norris?" name="isRealChuckNorris" typeRef="boolean" biodi:width="213" />
|
||||
<output id="OutputClause_1673dq5" label="Which Number?" name="whichNumber" typeRef="string" />
|
||||
<rule id="DecisionRule_1yjspgz">
|
||||
<description>Chuck's Fan Club Number</description>
|
||||
<inputEntry id="UnaryTests_085sq4v">
|
||||
<text>"Norris"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_1bgag1f">
|
||||
<text>"8005425277"</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0a5on0w">
|
||||
<text>True</text>
|
||||
</outputEntry>
|
||||
<outputEntry id="LiteralExpression_07mfoe4">
|
||||
<text>"Chuck's Fan Club Number"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_07etzet">
|
||||
<description>Chuck's Personal Number</description>
|
||||
<inputEntry id="UnaryTests_1vtuaws">
|
||||
<text>"Norris"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_1yiowkv">
|
||||
<text>"7138686003"</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0m7de9t">
|
||||
<text>True</text>
|
||||
</outputEntry>
|
||||
<outputEntry id="LiteralExpression_0h3b5uk">
|
||||
<text>"Chuck's Personal Number"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0uyopuf">
|
||||
<description>Some Other Chuck Norris</description>
|
||||
<inputEntry id="UnaryTests_1cn2jao">
|
||||
<text>"Norris"</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_1jgotny">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1g2mys3">
|
||||
<text>False</text>
|
||||
</outputEntry>
|
||||
<outputEntry id="LiteralExpression_0hou6zp">
|
||||
<text>"Some Other Chuck Norris"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0qayvc7">
|
||||
<description>Some Other Chuck</description>
|
||||
<inputEntry id="UnaryTests_0a8743h">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0o62phl">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_14w3mam">
|
||||
<text>False</text>
|
||||
</outputEntry>
|
||||
<outputEntry id="LiteralExpression_0wp28cy">
|
||||
<text>"Some Other Chuck"</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="Analyze_Telephone_Number">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
76
examples/0-2-basic-example/norris_score.dmn
Normal file
76
examples/0-2-basic-example/norris_score.dmn
Normal file
@ -0,0 +1,76 @@
|
||||
<?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_1" name="Norris Score">
|
||||
<decisionTable id="decisionTable_1">
|
||||
<input id="input_1">
|
||||
<inputExpression id="inputExpression_1" typeRef="boolean">
|
||||
<text>pushups</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<input id="InputClause_11n2amy">
|
||||
<inputExpression id="LiteralExpression_0hi8tp3" typeRef="boolean">
|
||||
<text>thanos</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<input id="InputClause_14d48pg">
|
||||
<inputExpression id="LiteralExpression_1w009aw" typeRef="boolean">
|
||||
<text>bulletproof</text>
|
||||
</inputExpression>
|
||||
</input>
|
||||
<output id="output_1" name="score_message" typeRef="number" />
|
||||
<rule id="DecisionRule_1xh76qk">
|
||||
<description>Perfect Score.
|
||||
</description>
|
||||
<inputEntry id="UnaryTests_0b7aoqb">
|
||||
<text>True</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_17u75b6">
|
||||
<text>False</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0n2htkb">
|
||||
<text>True</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0k7a6o4">
|
||||
<text>'Pefect! You answered it all correctly.'</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0wwxvvz">
|
||||
<description>This is the worst possible response, it is completely wrong.</description>
|
||||
<inputEntry id="UnaryTests_1g34rye">
|
||||
<text>False</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0i0bdmd">
|
||||
<text>True</text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_1173czd">
|
||||
<text>False</text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_0ymss1m">
|
||||
<text>'Terrible! This is as wrong as it is possible to be.'</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
<rule id="DecisionRule_0weyu2j">
|
||||
<description>At least one response was correct. </description>
|
||||
<inputEntry id="UnaryTests_1clpgrf">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_15m7zdv">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<inputEntry id="UnaryTests_0zo50lx">
|
||||
<text></text>
|
||||
</inputEntry>
|
||||
<outputEntry id="LiteralExpression_1i53txe">
|
||||
<text>'You are not perfect, but you understand a little about old Chuck.'</text>
|
||||
</outputEntry>
|
||||
</rule>
|
||||
</decisionTable>
|
||||
</decision>
|
||||
<dmndi:DMNDI>
|
||||
<dmndi:DMNDiagram id="DMNDiagram_1cykosu">
|
||||
<dmndi:DMNShape id="DMNShape_1dhfq2s" dmnElementRef="decision_1">
|
||||
<dc:Bounds height="80" width="180" x="157" y="151" />
|
||||
</dmndi:DMNShape>
|
||||
</dmndi:DMNDiagram>
|
||||
</dmndi:DMNDI>
|
||||
</definitions>
|
@ -1,10 +1,9 @@
|
||||
{
|
||||
"description": "This example introduces you to the core tools and concepts. Each area of this diagram is covered in detail in the basic-concepts group",
|
||||
"display_name": "Basic Example",
|
||||
"display_order": 2,
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "user-guide-basics.bpmn",
|
||||
"primary_process_id": "Proccess_rlm9uj3"
|
||||
}
|
@ -1,25 +1,51 @@
|
||||
{
|
||||
"title": "A registration form",
|
||||
"description": "A simple form example.",
|
||||
"title": "True/False Questions about Chuck Norris",
|
||||
"description": "Please place a checkmark next to the questions that are true. You will receive a just a fair reward for your responses.",
|
||||
"type": "object",
|
||||
"required": [
|
||||
"firstName",
|
||||
"lastName"
|
||||
],
|
||||
"required":
|
||||
["pushups", "thanos", "bulletproof" ],
|
||||
"properties": {
|
||||
"firstName": {
|
||||
"type": "string",
|
||||
"title": "First name",
|
||||
"default": "Chuck"
|
||||
"pushups": {
|
||||
"type": "boolean",
|
||||
"title": "When Chuck Norris does a pushup, he’s pushing the Earth down.",
|
||||
"oneOf": [
|
||||
{
|
||||
"title": "True",
|
||||
"const": true
|
||||
},
|
||||
{
|
||||
"title": "False",
|
||||
"const": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"lastName": {
|
||||
"type": "string",
|
||||
"title": "Last name"
|
||||
"thanos": {
|
||||
"type": "boolean",
|
||||
"title": "Chuck Norris was given a bloody nose by Thanos the god like villan from the Avengers Movies",
|
||||
"oneOf": [
|
||||
{
|
||||
"title": "True",
|
||||
"const": true
|
||||
},
|
||||
{
|
||||
"title": "False",
|
||||
"const": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"telephone": {
|
||||
"type": "string",
|
||||
"title": "Telephone",
|
||||
"minLength": 10
|
||||
"bulletproof": {
|
||||
"type": "boolean",
|
||||
"title": "A bulletproof vest wears Chuck Norris for protection.",
|
||||
"oneOf": [
|
||||
{
|
||||
"title": "True",
|
||||
"const": true
|
||||
},
|
||||
{
|
||||
"title": "False",
|
||||
"const": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -1,20 +1,20 @@
|
||||
{
|
||||
"firstName": {
|
||||
"ui:readonly": true,
|
||||
"ui:emptyValue": "",
|
||||
"ui:autocomplete": "family-name",
|
||||
"ui:help": " "
|
||||
},
|
||||
"lastName": {
|
||||
"ui:autofocus": true,
|
||||
"ui:emptyValue": "",
|
||||
"ui:autocomplete": "given-name",
|
||||
"ui:help": " "
|
||||
},
|
||||
"telephone": {
|
||||
"ui:help": " ",
|
||||
"pushups": {
|
||||
"ui:widget": "radio",
|
||||
"ui:options": {
|
||||
"inputType": "tel"
|
||||
"inline": true
|
||||
}
|
||||
},
|
||||
"thanos": {
|
||||
"ui:widget": "radio",
|
||||
"ui:options": {
|
||||
"inline": true
|
||||
}
|
||||
},
|
||||
"bulletproof": {
|
||||
"ui:widget": "radio",
|
||||
"ui:options": {
|
||||
"inline": true
|
||||
}
|
||||
}
|
||||
}
|
@ -2,206 +2,265 @@
|
||||
<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="Proccess_rlm9uj3" isExecutable="true">
|
||||
<bpmn:startEvent id="StartEvent_1">
|
||||
<bpmn:outgoing>Flow_15c4wm3</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1bsnw7a</bpmn:outgoing>
|
||||
</bpmn:startEvent>
|
||||
<bpmn:sequenceFlow id="Flow_15c4wm3" sourceRef="StartEvent_1" targetRef="Activity_0v7nz5r" />
|
||||
<bpmn:userTask id="Activity_0v7nz5r" name="Get Simple Information">
|
||||
<bpmn:userTask id="Activity_0v7nz5r" name="Display Questions">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:properties>
|
||||
<spiffworkflow:property name="formJsonSchemaFilename" value="simple-JSONSchema.json" />
|
||||
<spiffworkflow:property name="formUiSchemaFilename" value="simple-UISchema.json" />
|
||||
</spiffworkflow:properties>
|
||||
<spiffworkflow:instructionsForEndUser>### Lets play a game.
|
||||
|
||||
We are going to check to see if you know the real [Chunk Norris](https://en.wikipedia.org/wiki/Chuck_Norris). If you do know him, we will reward you with a picture of the eternally handsome man in all of his glory.
|
||||
|
||||
If you do not know anything about Chuck Norris, we will be forced to punish you with a picture of [Steven Seagal](https://en.wikipedia.org/wiki/Steven_Seagal).
|
||||
|
||||
If you do not appreciate references to dated 19th century American made martial arts films, you are not alone. We'll try to keep the jokes to a minimum so you can learn more about SpiffWorkflow and less about impossibly bad acting. </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_15c4wm3</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0scd0lj</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1195zgn</bpmn:outgoing>
|
||||
</bpmn:userTask>
|
||||
<bpmn:endEvent id="Event_0c62aiv">
|
||||
<bpmn:incoming>Flow_1czgyj5</bpmn:incoming>
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser># Great Job!
|
||||
|
||||
It doesn't matter if you know anything about Chuck Norris. But it does matter that you have learned a little about SpiffWorkflow and the BPMN notation that allows you to describe complex processes in a simple and intuitive way!
|
||||
|
||||
## Next Steps
|
||||
Check out the "1. Basics" Process Group under Examples. It will cover most of items you see here in more detail! </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_11xcbxo</bpmn:incoming>
|
||||
</bpmn:endEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1195zgn" sourceRef="Activity_0v7nz5r" targetRef="Activity_0twfaq6" />
|
||||
<bpmn:manualTask id="Activity_0s0ak1j" name="Call The Real Chuck Norris">
|
||||
<bpmn:manualTask id="Activity_0s0ak1j" name="0 Correct">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>## Call The Real Chuck Norris
|
||||
**First Name:** {{ firstName }}
|
||||
**Last Name:** {{ lastName }}
|
||||
**Telephone:** {{ telephone_all }}
|
||||
.
|
||||
<spiffworkflow:instructionsForEndUser>## Total failure
|
||||
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
{{score_message }}
|
||||
|
||||
That was a terrible response.
|
||||
As punishment, you are presented with this picture of Steven Seagal.
|
||||
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0kdjagb</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1vku47h</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_12yxktn</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:scriptTask id="Activity_0twfaq6" name="Format Telephone Number" scriptFormat="python">
|
||||
<bpmn:scriptTask id="Activity_0twfaq6" name="Modify Information" scriptFormat="python">
|
||||
<bpmn:incoming>Flow_1195zgn</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1vfw75z</bpmn:outgoing>
|
||||
<bpmn:script># Get lenth of phone number entered
|
||||
tel_len = len(telephone)
|
||||
<bpmn:script># Here we calculate a score in Python in a short script.
|
||||
# In the next model we will show how to do the same thing with a decision table.
|
||||
|
||||
# Determine if the US country code was entered or not
|
||||
if tel_len == 11:
|
||||
country_code = telephone[0]
|
||||
area_code_strt = 1
|
||||
else:
|
||||
country_code = "1"
|
||||
area_code_strt = 0
|
||||
score = 0
|
||||
if bulletproof:
|
||||
score = score + 1
|
||||
|
||||
# Set where phone number starts
|
||||
phone_strt = area_code_strt + 3
|
||||
if not thanos:
|
||||
score = score + 1
|
||||
|
||||
# Get area code
|
||||
area_code = "(" + telephone[area_code_strt:area_code_strt+3] + ")"
|
||||
if pushups:
|
||||
score = score + 1
|
||||
|
||||
# Get phone number
|
||||
phone_before_hyphen = telephone[phone_strt:phone_strt+3]
|
||||
phone_after_hyphen = telephone[phone_strt+3:]
|
||||
phone_number_all = phone_before_hyphen + "-" + phone_after_hyphen
|
||||
telephone_all = country_code + " " + area_code + " " + phone_number_all
|
||||
|
||||
del(country_code)
|
||||
del(area_code)
|
||||
del(phone_number_all)
|
||||
del(phone_strt)
|
||||
del(area_code_strt)
|
||||
del(phone_before_hyphen)
|
||||
del(phone_after_hyphen)
|
||||
del(tel_len)</bpmn:script>
|
||||
</bpmn:script>
|
||||
</bpmn:scriptTask>
|
||||
<bpmn:businessRuleTask id="Activity_0sualuq" name="Analyze Phone Number">
|
||||
<bpmn:businessRuleTask id="Activity_0sualuq" name="Calculate Score">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:calledDecisionId>Analyze_Telephone_Number</spiffworkflow:calledDecisionId>
|
||||
<spiffworkflow:calledDecisionId>decision_1</spiffworkflow:calledDecisionId>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_1vfw75z</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0z9399c</bpmn:outgoing>
|
||||
</bpmn:businessRuleTask>
|
||||
<bpmn:sequenceFlow id="Flow_1vfw75z" sourceRef="Activity_0twfaq6" targetRef="Activity_0sualuq" />
|
||||
<bpmn:sequenceFlow id="Flow_0z9399c" sourceRef="Activity_0sualuq" targetRef="Gateway_1nez60d" />
|
||||
<bpmn:exclusiveGateway id="Gateway_1nez60d" name="The Real Chuck Norris?" default="Flow_0gbomzh">
|
||||
<bpmn:exclusiveGateway id="Gateway_1nez60d" name="The Real Chuck Norris?" default="Flow_0d2kg99">
|
||||
<bpmn:incoming>Flow_0z9399c</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0z3tg6l</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0gbomzh</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_1vku47h</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0d2kg99</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0drf819</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0z3tg6l" name="Yes" sourceRef="Gateway_1nez60d" targetRef="Gateway_06fiuk8">
|
||||
<bpmn:conditionExpression>isRealChuckNorris</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:exclusiveGateway id="Gateway_06fiuk8" name="Which of The Real Chuck's Phone Numbers?" default="Flow_0r7plsj">
|
||||
<bpmn:incoming>Flow_0z3tg6l</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0kdjagb</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0r7plsj</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0kdjagb" sourceRef="Gateway_06fiuk8" targetRef="Activity_0s0ak1j">
|
||||
<bpmn:conditionExpression>whichNumber == "Chuck's Personal Number"</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="Flow_0r7plsj" sourceRef="Gateway_06fiuk8" targetRef="Activity_1aggwmx" />
|
||||
<bpmn:manualTask id="Activity_1aggwmx" name="Call Chuck's Fan Club">
|
||||
<bpmn:manualTask id="Activity_1aggwmx" name="Some Correct">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>##. Call Chuck's Fan Club
|
||||
**First Name:** {{ firstName }}
|
||||
**Last Name:** {{ lastName }}
|
||||
**Telephone:** {{ telephone_all }} </spiffworkflow:instructionsForEndUser>
|
||||
<spiffworkflow:instructionsForEndUser>## Not Bad
|
||||
|
||||
{{score_message}}
|
||||
|
||||
You know a little about Chuck Norris. Not everything. But we are still impressed.
|
||||
You don't get to see a complete picture of Chuck, as he is disappointed in you. But not everyone can live up to his expectations.
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0r7plsj</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0d2kg99</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1yshk2s</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:exclusiveGateway id="Gateway_0winlbl" name="Which Other Chuck?" default="Flow_0u5kd7m">
|
||||
<bpmn:incoming>Flow_0gbomzh</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_07urdvu</bpmn:outgoing>
|
||||
<bpmn:outgoing>Flow_0u5kd7m</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0gbomzh" name="No" sourceRef="Gateway_1nez60d" targetRef="Gateway_0winlbl" />
|
||||
<bpmn:sequenceFlow id="Flow_07urdvu" sourceRef="Gateway_0winlbl" targetRef="Activity_0uxorq8">
|
||||
<bpmn:conditionExpression>whichNumber == "Some Other Chuck Norris"</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="Flow_0u5kd7m" sourceRef="Gateway_0winlbl" targetRef="Activity_1ewbhqq" />
|
||||
<bpmn:exclusiveGateway id="Gateway_1em7510">
|
||||
<bpmn:incoming>Flow_0q4rvgc</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_0gr5f0w</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_12yxktn</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1yshk2s</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_1czgyj5</bpmn:outgoing>
|
||||
<bpmn:incoming>Flow_0wc765s</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0hzwehr</bpmn:outgoing>
|
||||
</bpmn:exclusiveGateway>
|
||||
<bpmn:sequenceFlow id="Flow_0q4rvgc" sourceRef="Activity_1ewbhqq" targetRef="Gateway_1em7510" />
|
||||
<bpmn:sequenceFlow id="Flow_0gr5f0w" sourceRef="Activity_0uxorq8" targetRef="Gateway_1em7510" />
|
||||
<bpmn:sequenceFlow id="Flow_12yxktn" sourceRef="Activity_0s0ak1j" targetRef="Gateway_1em7510" />
|
||||
<bpmn:sequenceFlow id="Flow_1yshk2s" sourceRef="Activity_1aggwmx" targetRef="Gateway_1em7510" />
|
||||
<bpmn:sequenceFlow id="Flow_1czgyj5" sourceRef="Gateway_1em7510" targetRef="Event_0c62aiv" />
|
||||
<bpmn:manualTask id="Activity_1ewbhqq" name="Call Some Other Chuck">
|
||||
<bpmn:manualTask id="Activity_1m9394e" name="Introduction">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>## Call Some Other Chuck
|
||||
**First Name:** {{ firstName }}
|
||||
**Last Name:** {{ lastName }}
|
||||
**Telephone:** {{ telephone_all }} </spiffworkflow:instructionsForEndUser>
|
||||
<spiffworkflow:instructionsForEndUser>## Welcome to a Basic Example
|
||||
|
||||
This process model will use all of the concepts covered individually in the "Basics" Process Group (available under Process Models / Examples / 1. Basics). It is worth viewing this early on to help paint a clearer picture of how components can be used together. It is also worth revisiting after you look at the Basics Topics individually as you will have a fresh appreciation for how these individual components work, and you can better understand how they can be used together to powerful effect!
|
||||
|
||||
## Next Steps
|
||||
1. Click 'Continue' below to step through this diagram. </spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0u5kd7m</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0q4rvgc</bpmn:outgoing>
|
||||
<bpmn:incoming>Flow_1bsnw7a</bpmn:incoming>
|
||||
<bpmn:incoming>Flow_1ul9fun</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0scd0lj</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:manualTask id="Activity_0uxorq8" name="Call Some Other Check Norris">
|
||||
<bpmn:sequenceFlow id="Flow_1bsnw7a" sourceRef="StartEvent_1" targetRef="Activity_1m9394e" />
|
||||
<bpmn:sequenceFlow id="Flow_0scd0lj" sourceRef="Activity_1m9394e" targetRef="Activity_0v7nz5r" />
|
||||
<bpmn:sequenceFlow id="Flow_0hzwehr" sourceRef="Gateway_1em7510" targetRef="Activity_0shivvb" />
|
||||
<bpmn:manualTask id="Activity_0shivvb" name="Review">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>## Call Some Other Chuck Norris
|
||||
**First Name:** {{ firstName }}
|
||||
**Last Name:** {{ lastName }}.
|
||||
**Telephone:** {{ telephone_all }} </spiffworkflow:instructionsForEndUser>
|
||||
<spiffworkflow:instructionsForEndUser>## Mostly Done!
|
||||
|
||||
You are now almost to the final task. We pause here to add an option to loop back to the beginning of the process and to demonstrate an Event. Events provide a way for external forces to change the course of a workflow. This can be through a timer (after 2 weeks without a response, cancel the request) or a message (allow our HR application to cancel a request by making an API call) or, in this case through an extra button that you can press in the user interface.
|
||||
|
||||
To cause the event to fire just click on the "Try Again!" button below, or click "Continue" to complete the process and move on to the next example.
|
||||
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_07urdvu</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0gr5f0w</bpmn:outgoing>
|
||||
<bpmn:incoming>Flow_0hzwehr</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_11xcbxo</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:sequenceFlow id="Flow_11xcbxo" sourceRef="Activity_0shivvb" targetRef="Event_0c62aiv" />
|
||||
<bpmn:boundaryEvent id="Event_06zobyd" attachedToRef="Activity_0shivvb">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:signalButtonLabel>Try Again!</spiffworkflow:signalButtonLabel>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:outgoing>Flow_1ul9fun</bpmn:outgoing>
|
||||
<bpmn:signalEventDefinition id="SignalEventDefinition_0nrtqfp" />
|
||||
</bpmn:boundaryEvent>
|
||||
<bpmn:sequenceFlow id="Flow_1ul9fun" sourceRef="Event_06zobyd" targetRef="Activity_1m9394e" />
|
||||
<bpmn:sequenceFlow id="Flow_1vku47h" name="score == 0" sourceRef="Gateway_1nez60d" targetRef="Activity_0s0ak1j">
|
||||
<bpmn:conditionExpression>score == 0</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="Flow_0d2kg99" sourceRef="Gateway_1nez60d" targetRef="Activity_1aggwmx" />
|
||||
<bpmn:sequenceFlow id="Flow_0drf819" name="score == 3" sourceRef="Gateway_1nez60d" targetRef="Activity_06mkd76">
|
||||
<bpmn:conditionExpression>score == 3</bpmn:conditionExpression>
|
||||
</bpmn:sequenceFlow>
|
||||
<bpmn:sequenceFlow id="Flow_0wc765s" sourceRef="Activity_06mkd76" targetRef="Gateway_1em7510" />
|
||||
<bpmn:manualTask id="Activity_06mkd76" name="Perfect Score">
|
||||
<bpmn:extensionElements>
|
||||
<spiffworkflow:instructionsForEndUser>## Perfect Score!!!!
|
||||
|
||||
{{score_message}}
|
||||
|
||||
|
||||
Chuck Norris is proud of you.
|
||||
|
||||
</spiffworkflow:instructionsForEndUser>
|
||||
</bpmn:extensionElements>
|
||||
<bpmn:incoming>Flow_0drf819</bpmn:incoming>
|
||||
<bpmn:outgoing>Flow_0wc765s</bpmn:outgoing>
|
||||
</bpmn:manualTask>
|
||||
<bpmn:textAnnotation id="TextAnnotation_0xdb2cj">
|
||||
<bpmn:text>User Tasks allow you to collect information from real people through web forms.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_1puha8q" sourceRef="Activity_0v7nz5r" targetRef="TextAnnotation_0xdb2cj" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_002deu1">
|
||||
<bpmn:text>Script Tasks provide a quick simple way to modify the data you collect.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_0xyvy14" sourceRef="Activity_0twfaq6" targetRef="TextAnnotation_002deu1" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_0u3ff93">
|
||||
<bpmn:text>Decision Tables are a great way to describe a set of business rules in a way that is easy to maintain and understand.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_1buqr4e" sourceRef="Activity_0sualuq" targetRef="TextAnnotation_0u3ff93" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_1om7utz">
|
||||
<bpmn:text>Gateways allow your processes to branch off in different directions.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_0cwwslt" sourceRef="Gateway_1nez60d" targetRef="TextAnnotation_1om7utz" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_0wvj38r">
|
||||
<bpmn:text>BPMN allows us to loop back around to previous points in a diagram.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_0yzn73r" sourceRef="Flow_1ul9fun" targetRef="TextAnnotation_0wvj38r" />
|
||||
<bpmn:textAnnotation id="TextAnnotation_1vf1ktl">
|
||||
<bpmn:text>Events allow external forces (or internal errors) to interact with a process. Here we allow a button press to interrupt the normal course of the diagram.</bpmn:text>
|
||||
</bpmn:textAnnotation>
|
||||
<bpmn:association id="Association_1av5ri4" sourceRef="Event_06zobyd" targetRef="TextAnnotation_1vf1ktl" />
|
||||
</bpmn:process>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
||||
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Proccess_rlm9uj3">
|
||||
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
||||
<dc:Bounds x="-28" y="199" width="36" height="36" />
|
||||
<dc:Bounds x="-198" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_15rn7j8_di" bpmnElement="Activity_0v7nz5r">
|
||||
<dc:Bounds x="60" y="177" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_0c62aiv_di" bpmnElement="Event_0c62aiv">
|
||||
<dc:Bounds x="1132" y="122" width="36" height="36" />
|
||||
<dc:Bounds x="1102" y="199" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1235hph_di" bpmnElement="Activity_0s0ak1j">
|
||||
<dc:Bounds x="800" y="177" width="100" height="80" />
|
||||
<dc:Bounds x="670" y="70" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0qqdrd7_di" bpmnElement="Activity_0twfaq6">
|
||||
<dc:Bounds x="210" y="177" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0igyd4t_di" bpmnElement="Activity_0sualuq">
|
||||
<dc:Bounds x="360" y="177" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1nez60d_di" bpmnElement="Gateway_1nez60d" isMarkerVisible="true">
|
||||
<dc:Bounds x="535" y="192" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="523" y="249" width="79" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_06fiuk8_di" bpmnElement="Gateway_06fiuk8" isMarkerVisible="true">
|
||||
<dc:Bounds x="665" y="192" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="647" y="150" width="86" height="40" />
|
||||
<dc:Bounds x="571" y="236" width="80" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0nv529h_di" bpmnElement="Activity_1aggwmx">
|
||||
<dc:Bounds x="800" y="290" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_0winlbl_di" bpmnElement="Gateway_0winlbl" isMarkerVisible="true">
|
||||
<dc:Bounds x="665" y="35" width="50" height="50" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="661" y="92" width="62" height="27" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Gateway_1em7510_di" bpmnElement="Gateway_1em7510" isMarkerVisible="true">
|
||||
<dc:Bounds x="995" y="115" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_08p2k71_di" bpmnElement="Activity_1ewbhqq">
|
||||
<dc:Bounds x="800" y="-100" width="100" height="80" />
|
||||
<dc:Bounds x="670" y="177" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_063pfne_di" bpmnElement="Activity_0uxorq8">
|
||||
<dc:Bounds x="800" y="20" width="100" height="80" />
|
||||
<bpmndi:BPMNShape id="Gateway_1em7510_di" bpmnElement="Gateway_1em7510" isMarkerVisible="true">
|
||||
<dc:Bounds x="825" y="192" width="50" height="50" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_0j641hg_di" bpmnElement="Activity_1m9394e">
|
||||
<dc:Bounds x="-100" y="177" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_1dcxppy_di" bpmnElement="Activity_0shivvb">
|
||||
<dc:Bounds x="940" y="177" width="100" height="80" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Activity_084sb9g_di" bpmnElement="Activity_06mkd76">
|
||||
<dc:Bounds x="670" y="280" width="100" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_0xdb2cj_di" bpmnElement="TextAnnotation_0xdb2cj">
|
||||
<dc:Bounds x="50" y="13" width="120" height="80" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_002deu1_di" bpmnElement="TextAnnotation_002deu1">
|
||||
<dc:Bounds x="210" y="3" width="100" height="84" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_0u3ff93_di" bpmnElement="TextAnnotation_0u3ff93">
|
||||
<dc:Bounds x="360" y="3" width="100" height="127" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1om7utz_di" bpmnElement="TextAnnotation_1om7utz">
|
||||
<dc:Bounds x="510" y="3" width="100" height="84" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_0wvj38r_di" bpmnElement="TextAnnotation_0wvj38r">
|
||||
<dc:Bounds x="300" y="310" width="160" height="57" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="TextAnnotation_1vf1ktl_di" bpmnElement="TextAnnotation_1vf1ktl">
|
||||
<dc:Bounds x="1030" y="293" width="150" height="127" />
|
||||
<bpmndi:BPMNLabel />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape id="Event_1ormxal_di" bpmnElement="Event_06zobyd">
|
||||
<dc:Bounds x="992" y="239" width="36" height="36" />
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge id="Flow_15c4wm3_di" bpmnElement="Flow_15c4wm3">
|
||||
<di:waypoint x="8" y="217" />
|
||||
<di:waypoint x="60" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1195zgn_di" bpmnElement="Flow_1195zgn">
|
||||
<di:waypoint x="160" y="217" />
|
||||
<di:waypoint x="210" y="217" />
|
||||
@ -214,62 +273,85 @@ del(tel_len)</bpmn:script>
|
||||
<di:waypoint x="460" y="217" />
|
||||
<di:waypoint x="535" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0z3tg6l_di" bpmnElement="Flow_0z3tg6l">
|
||||
<di:waypoint x="585" y="217" />
|
||||
<di:waypoint x="665" y="217" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="601" y="199" width="18" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0kdjagb_di" bpmnElement="Flow_0kdjagb">
|
||||
<di:waypoint x="715" y="217" />
|
||||
<di:waypoint x="800" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0r7plsj_di" bpmnElement="Flow_0r7plsj">
|
||||
<di:waypoint x="690" y="242" />
|
||||
<di:waypoint x="690" y="330" />
|
||||
<di:waypoint x="800" y="330" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0gbomzh_di" bpmnElement="Flow_0gbomzh">
|
||||
<di:waypoint x="560" y="192" />
|
||||
<di:waypoint x="560" y="60" />
|
||||
<di:waypoint x="665" y="60" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="568" y="103" width="15" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_07urdvu_di" bpmnElement="Flow_07urdvu">
|
||||
<di:waypoint x="715" y="60" />
|
||||
<di:waypoint x="800" y="60" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0u5kd7m_di" bpmnElement="Flow_0u5kd7m">
|
||||
<di:waypoint x="690" y="35" />
|
||||
<di:waypoint x="690" y="-60" />
|
||||
<di:waypoint x="800" y="-60" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0q4rvgc_di" bpmnElement="Flow_0q4rvgc">
|
||||
<di:waypoint x="900" y="-60" />
|
||||
<di:waypoint x="1020" y="-60" />
|
||||
<di:waypoint x="1020" y="115" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0gr5f0w_di" bpmnElement="Flow_0gr5f0w">
|
||||
<di:waypoint x="900" y="60" />
|
||||
<di:waypoint x="1020" y="60" />
|
||||
<di:waypoint x="1020" y="115" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_12yxktn_di" bpmnElement="Flow_12yxktn">
|
||||
<di:waypoint x="900" y="217" />
|
||||
<di:waypoint x="1020" y="217" />
|
||||
<di:waypoint x="1020" y="165" />
|
||||
<di:waypoint x="770" y="110" />
|
||||
<di:waypoint x="850" y="110" />
|
||||
<di:waypoint x="850" y="192" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1yshk2s_di" bpmnElement="Flow_1yshk2s">
|
||||
<di:waypoint x="900" y="330" />
|
||||
<di:waypoint x="1020" y="330" />
|
||||
<di:waypoint x="1020" y="165" />
|
||||
<di:waypoint x="770" y="217" />
|
||||
<di:waypoint x="825" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1czgyj5_di" bpmnElement="Flow_1czgyj5">
|
||||
<di:waypoint x="1045" y="140" />
|
||||
<di:waypoint x="1132" y="140" />
|
||||
<bpmndi:BPMNEdge id="Flow_1bsnw7a_di" bpmnElement="Flow_1bsnw7a">
|
||||
<di:waypoint x="-162" y="217" />
|
||||
<di:waypoint x="-100" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0scd0lj_di" bpmnElement="Flow_0scd0lj">
|
||||
<di:waypoint x="0" y="217" />
|
||||
<di:waypoint x="60" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0hzwehr_di" bpmnElement="Flow_0hzwehr">
|
||||
<di:waypoint x="875" y="217" />
|
||||
<di:waypoint x="940" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_11xcbxo_di" bpmnElement="Flow_11xcbxo">
|
||||
<di:waypoint x="1040" y="217" />
|
||||
<di:waypoint x="1102" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1ul9fun_di" bpmnElement="Flow_1ul9fun">
|
||||
<di:waypoint x="1010" y="275" />
|
||||
<di:waypoint x="1010" y="410" />
|
||||
<di:waypoint x="-50" y="410" />
|
||||
<di:waypoint x="-50" y="257" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_1vku47h_di" bpmnElement="Flow_1vku47h">
|
||||
<di:waypoint x="560" y="192" />
|
||||
<di:waypoint x="560" y="110" />
|
||||
<di:waypoint x="670" y="110" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="585" y="113" width="52" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0d2kg99_di" bpmnElement="Flow_0d2kg99">
|
||||
<di:waypoint x="585" y="217" />
|
||||
<di:waypoint x="670" y="217" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0drf819_di" bpmnElement="Flow_0drf819">
|
||||
<di:waypoint x="560" y="242" />
|
||||
<di:waypoint x="560" y="320" />
|
||||
<di:waypoint x="670" y="320" />
|
||||
<bpmndi:BPMNLabel>
|
||||
<dc:Bounds x="585" y="303" width="52" height="14" />
|
||||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Flow_0wc765s_di" bpmnElement="Flow_0wc765s">
|
||||
<di:waypoint x="770" y="320" />
|
||||
<di:waypoint x="850" y="320" />
|
||||
<di:waypoint x="850" y="242" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_1puha8q_di" bpmnElement="Association_1puha8q">
|
||||
<di:waypoint x="110" y="177" />
|
||||
<di:waypoint x="110" y="93" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_0xyvy14_di" bpmnElement="Association_0xyvy14">
|
||||
<di:waypoint x="260" y="177" />
|
||||
<di:waypoint x="260" y="87" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_1buqr4e_di" bpmnElement="Association_1buqr4e">
|
||||
<di:waypoint x="410" y="177" />
|
||||
<di:waypoint x="410" y="130" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_0cwwslt_di" bpmnElement="Association_0cwwslt">
|
||||
<di:waypoint x="558" y="194" />
|
||||
<di:waypoint x="551" y="87" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_0yzn73r_di" bpmnElement="Association_0yzn73r">
|
||||
<di:waypoint x="505" y="410" />
|
||||
<di:waypoint x="437" y="367" />
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge id="Association_1av5ri4_di" bpmnElement="Association_1av5ri4">
|
||||
<di:waypoint x="1024" y="268" />
|
||||
<di:waypoint x="1056" y="293" />
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
</bpmndi:BPMNDiagram>
|
||||
|
@ -1,10 +1,9 @@
|
||||
{
|
||||
"description": "This example showcases some of the more advanced features of SpiffWorkflow, these topics are covered in more detail in the in-depth section.",
|
||||
"display_name": "Advanced Examples",
|
||||
"display_order": 3,
|
||||
"display_name": "Advanced Example",
|
||||
"exception_notification_addresses": [],
|
||||
"fault_or_suspend_on_exception": "fault",
|
||||
"files": [],
|
||||
"metadata_extraction_paths": null,
|
||||
"primary_file_name": "user-guide-basics.bpmn",
|
||||
"primary_process_id": "Proccess_rlm9uj3"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"admin": false,
|
||||
"description": "This group of examples covers deeper topics that will become critical as your diagrams grow in complexity.",
|
||||
"display_name": "In Depth Topics",
|
||||
"display_name": "2. In Depth Topics",
|
||||
"display_order": 20,
|
||||
"parent_groups": null
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"admin": false,
|
||||
"description": "These examples are simplified versions of real-world problems we've handled with SpiffWorkflow.",
|
||||
"display_name": "Case Studies",
|
||||
"display_name": "3. Case Studies",
|
||||
"display_order": 30,
|
||||
"parent_groups": null
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"admin": false,
|
||||
"description": "Here we offer up some reusable diagrams that solve common problems, such as how to get a properly formatted date.",
|
||||
"display_name": "Library",
|
||||
"display_name": "4. Library",
|
||||
"display_order": 40,
|
||||
"parent_groups": null
|
||||
}
|
@ -2,6 +2,6 @@
|
||||
"admin": false,
|
||||
"description": "These examples are provided to help you understand how SpiffWorkflow functions.",
|
||||
"display_name": "Examples",
|
||||
"display_order": 0,
|
||||
"display_order": 40,
|
||||
"parent_groups": null
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user