我在与(文件:test-model.xml)相同的工作流模型中定义自己的结果约束:
<constraints>
<constraint name="my:myOutcomeOptions" type="LIST">
<parameter name="allowedValues">
<list>
<value>Approve</value>
<value>Reject</value>
</list>
</parameter>
</constraint>
</constraints>
以及自定义序列流到工作流定义(文件:test.bpmn20.xml):
<exclusiveGateway id="exclusiveGateway1"</exclusiveGateway>
<sequenceFlow id="flow3" name="Rejected" sourceRef="exclusiveGateway1" targetRef="Rejected">
<conditionExpression xsi:type="tFormalExpression"> <![CDATA[${test_a1approvecount < test_a2approvecount}]]> </conditionExpression>
</sequenceFlow>
我想在单击“拒绝”按钮时显示弹出窗口确认,然后在弹出窗口中单击按钮确认(确定和取消)后,显示更改为仪表板。请帮助我!
谢谢你前进!
这在户外很难实现。另一件事是,您将自己与后端和前端混淆,也使其他人混淆。