I finally implemented it. The <cancel-process> that everybody wanted. Explicit termination of a process instance.
<sequence> <participant ref="role-alpha" /> <cancel-process /> <participant ref="role-bravo" /> <participant ref="role-charly" /> </sequence>
Bravo and Charly won’t never see a workitem coming from that version of this process definition.
The next step will perphaps be a mechanism for cancelling expressions explicitely from the definition. I currently think it’s a bit too low level and that there are already mechanisms in OpenWFE for handling that, especially as shown in the Workflow Patterns (BTW, the real site for workflow patterns is here).
I’ll explain this <cancel-expression> idea in a later post (and with more details).
I’ve also uploaded a new version of the OpenWFE process definition schema, it’s at http://openwfe.org/flowdef_r1.7.0.xsd.
Maybe OpenWFE 1.7.0 will be released tomorrow.