<?xml version="1.0" encoding="UTF-8"?>
<process key="counterSign" name="会签" xmlns="http://jbpm.org/4.4/jpdl">
<start g="338,-19,48,48" name="start1">
<transition g="-52,-22" name="开始写稿" to="写稿"/>
</start>
<task assignee="#{sponsor}" g="317,70,92,52" name="写稿">
<transition g="-56,-14" name="提交审稿" to="审稿"/>
</task>
<task assignee="#{approver}" g="322,149,92,52" name="审稿">
<transition g="-58,-15" name="分发各人" to="foreach1"/>
</task>
<foreach g="343,246,48,48" in="#{executors}" name="foreach1" var="executor">
<transition g="-52,-22" name="to task2" to="会签"/>
</foreach>
<task assignee="#{executor}" g="318,332,92,52" name="会签">
<transition g="-38,-21" name="同意" to="join1"/>
<transition g="467,357;471,95:-46,104" name="不同意" to="写稿"/>
</task>
<join g="337,428,48,48" multiplicity="#{quorum}" name="join1">
<transition g="-52,-22" name="提交统计" to="统计"/>
</join>
<task assignee="#{manager}" g="315,509,92,52" name="统计">
<transition name="通过" to="结束" g="-45,-22"/>
<transition name="未通过" to="写稿" g="241,533;240,94:-45,-22"/>
</task>
<end g="341,638,48,48" name="结束"/>
</process>
sponsor发起者,approver审批者 。executors参加会签所有人,quorum表示通过人数即生效,如全部人数的一半, 3分之二 全部