mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-31 04:05:01 +00:00
0892db6fa7
git-subtree-dir: SpiffWorkflow git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
54 lines
1.7 KiB
XML
54 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<process-definition name="flow" revision="1.6">
|
|
<description>Pattern 7 (Structured Synchronizing Merge)</description>
|
|
|
|
<start-task>
|
|
<successor>multi_choice_1</successor>
|
|
</start-task>
|
|
|
|
<!-- Split branches using a multi-choice. -->
|
|
<multi-choice name="multi_choice_1">
|
|
<conditional-successor>
|
|
<equals left-field="test_attribute1" right-field="test_attribute1" />
|
|
<successor>task_e1</successor>
|
|
</conditional-successor>
|
|
<conditional-successor>
|
|
<equals left-field="test_attribute1" right-field="test_attribute2" />
|
|
<successor>task_e2</successor>
|
|
</conditional-successor>
|
|
<conditional-successor>
|
|
<equals left-field="test_attribute2" right-field="test_attribute2" />
|
|
<successor>task_e3</successor>
|
|
</conditional-successor>
|
|
</multi-choice>
|
|
|
|
<!-- Conditional branches. -->
|
|
<task name="task_e1">
|
|
<successor>struct_synch_merge_1</successor>
|
|
</task>
|
|
<task name="task_e2">
|
|
<successor>struct_synch_merge_1</successor>
|
|
</task>
|
|
<task name="task_e3">
|
|
<successor>task_g3a</successor>
|
|
<successor>task_g3b</successor>
|
|
</task>
|
|
|
|
<task name="task_g3a">
|
|
<successor>struct_synch_merge_1</successor>
|
|
</task>
|
|
<task name="task_g3b">
|
|
<successor>struct_synch_merge_1</successor>
|
|
</task>
|
|
|
|
<!-- Structured synchronizing merge. -->
|
|
<join name="struct_synch_merge_1" context="multi_choice_1">
|
|
<successor>last</successor>
|
|
</join>
|
|
|
|
<!-- A final task. -->
|
|
<task name="last">
|
|
<successor>end</successor>
|
|
</task>
|
|
</process-definition>
|