42 lines
1.1 KiB
XML
42 lines
1.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<process-definition name="flow" revision="1.0">
|
|
<description>Pattern 20 (Cancel Job)</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 name="cancel" />
|
|
<!-- 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>
|