zeebe入门课程10-bpmn元素的支持7(exclusive gateway )

Exclusive Gateway (XOR)

workflow

独占网关(exclusive gateway )选择其传出序列流之一进行继续。每个序列流都有一个条件,该条件在当前工作流实例的上下文中进行计算。工作流实例采用满足条件的第一个序列流。

如果没有满足任何条件,则采用没有条件的默认流。如果网关没有默认流(不推荐),则会停止执行并创建事件。

XML Representation

<bpmn:exclusiveGateway id="exclusiveGateway" default="else" />

<bpmn:sequenceFlow id="priceGreaterThan100" name="totalPrice &#62; 100" sourceRef="exclusiveGateway" targetRef="shipParcelWithInsurance">
  <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">
    <![CDATA[ totalPrice > 100 ]]>
  </bpmn:conditionExpression>
</bpmn:sequenceFlow>

<bpmn:sequenceFlow id="else" name="else" sourceRef="exclusiveGateway" targetRef="shipParcel" />

modelr使用如下所示;

exclusive-gateway

zeebe qq交流群群号:856546010

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
引用介绍了一个名为zeebe-bpmn的模块,它将BPMN 2.0的命名空间扩展定义为描述符,并与Zeebe BPMN 2.0扩展一起使用。该模块可以通过引入bpmn-moddle和zeebe-bpmn-moddle来使用。提供了一个XML表示示例,展示了如何在BPMN中使用独占网关(exclusive gateway)来定义条件流程。如果没有满足任何条件,将采用没有条件的默认流。如果网关没有默认流,则会停止执行并创建事件。补充说明了独占网关在工作流实例中的作用,它会选择满足条件的第一个序列流进行继续。每个序列流都有一个条件,在当前工作流实例的上下文中进行计算。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [zeebe-bpmn-moddle:BPMN 2.0的Zeebe模块扩展](https://download.csdn.net/download/weixin_42160252/18252863)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [zeebe入门课程10-bpmn元素支持7(exclusive gateway )](https://blog.csdn.net/qq_30739519/article/details/89530348)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值