mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-23 16:01:04 +00:00
0892db6fa7
git-subtree-dir: SpiffWorkflow git-subtree-split: 63db3e45947ec66b8d0efc2c74064004f8ff482c
45 lines
1.2 KiB
XML
45 lines
1.2 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<process-definition name="flow" revision="1.0">
|
|
<description>Pattern 25 (Cancel Region)</description>
|
|
|
|
<!-- Start with an implicit simple split. -->
|
|
<start-task>
|
|
<successor>one1</successor>
|
|
<successor>two1</successor>
|
|
</start-task>
|
|
|
|
<!-- Branch 1 -->
|
|
<task name="one1">
|
|
<successor>one2</successor>
|
|
</task>
|
|
<task name="one2">
|
|
<successor>cancel</successor>
|
|
</task>
|
|
<cancel-task name="cancel">
|
|
<cancel>two2a</cancel>
|
|
<successor>last</successor>
|
|
</cancel-task>
|
|
<!-- End branch 1 -->
|
|
|
|
<!-- Branch 2 -->
|
|
<task name="two1">
|
|
<successor>two2a</successor>
|
|
<successor>two2b</successor>
|
|
</task>
|
|
<task name="two2a">
|
|
<successor>two3</successor>
|
|
</task>
|
|
<task name="two2b">
|
|
<successor>two3</successor>
|
|
</task>
|
|
<task name="two3">
|
|
<successor>last</successor>
|
|
</task>
|
|
<!-- End branch 2 -->
|
|
|
|
<!-- A final task. -->
|
|
<task name="last">
|
|
<successor>end</successor>
|
|
</task>
|
|
</process-definition>
|