表达式汇总
流條件表達式
數字 ${applysum>200} ${applysum<=200}字符串 ${outcome=='通過'} ${outcome=='駁回'}取反 ${auditPass} ${!auditPass}開始 表達式 基于以下3種表現形式組合而成 flowable:assignee="${applyUserId}" flowable:candidateUsers="${candidateUser}" flowable:candidateGroups="${candidateGroup}"<userTask id="modifyApply" name="當前用戶發起申請" flowable:assignee="${applyUserId}"> <userTask id="hrAudit" name="候選人審批" flowable:candidateUsers="${candidateUser}" /> <userTask id="hrAudit" name="候選組審批" flowable:candidateGroups="${candidateGroup}"/>一般需求用2種即可 <userTask id="modifyApply" name="當前用戶發起申請" flowable:assignee="${applyUserId}"> <userTask id="modifyApply" name="個人審批" flowable:assignee="${candidateUser}"> <userTask id="hrAudit" name="角色審批" flowable:candidateGroups="${candidateGroup}"/>最復雜的就是3種都有,如下所示: <userTask id="deptLeaderAudit" name="部門領導審批" flowable:assignee="${chooseUserId}" flowable:candidateUsers="${candidateUser}" flowable:candidateGroups="${candidateGroup}"><extensionElements><modeler:initiator-can-complete xmlns:modeler="http://flowable.org/modeler"><![CDATA[false]]></modeler:initiator-can-complete></extensionElements> </userTask>總結
- 上一篇: pom.xml中添加阿里云Maven中央
- 下一篇: 工作流实战_03_flowable 流程