Jon Herron 0892db6fa7 Squashed 'SpiffWorkflow/' content from commit 63db3e4
git-subtree-dir: SpiffWorkflow
git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
2022-10-12 10:19:53 -04:00

42 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<process-definition name="flow" revision="1.6">
<description>Pattern 5 (Simple Merge)</description>
<!-- Start with an implicit simple split. -->
<start-task>
<successor>first</successor>
</start-task>
<!-- Merge branches -->
<task name="first">
<successor>excl_choice_1</successor>
</task>
<!-- Add an if-condition that does not match. -->
<exclusive-choice name="excl_choice_1">
<default-successor>task_c1</default-successor>
<conditional-successor>
<equals left-value="1" right-value="2" />
<successor>task_c2</successor>
</conditional-successor>
</exclusive-choice>
<!-- Conditional tasks. -->
<task name="task_c1">
<successor>task_d1</successor>
</task>
<task name="task_c2">
<successor>task_d1</successor>
</task>
<!-- Implicit simple merge -->
<task name="task_d1">
<successor>last</successor>
</task>
<!-- A final task. -->
<task name="last">
<successor>end</successor>
</task>
</process-definition>