使用eclipse创建bpmn2文件的一些问题

使用bpmn2 diagram Editor编辑器的问题

1. 如果文件没有任何元素,那么bpmn2文件的Data Items会提示需要配置一些信息,比如选择Process.properties等文件(我也不知道怎么配置).

2. bpmn2:relationship节点在java启动的时候报错:元素 'bpmn2:relationship' 中必须包含属性 'type'。
需要给这个节点加上type属性: type="Simulation"

3. 启动编译报错:元素 'bpmn2:relationship' 的内容不完整。应为 '{"http://www.omg.org/spec/BPMN/20100524/MODEL":source}' 之一。
解决这个,首先开文件最前面的bpmn2:definitions,里面有一个id属性,比如是:id="_ARygYO4EEeOAdoUzokB65A", 需要到bpmn2:relationship节点里面加上
<bpmn2:source>_ARygYO4EEeOAdoUzokB65A</bpmn2:source>
<bpmn2:target>_ARygYO4EEeOAdoUzokB65A</bpmn2:target>


4. Process variable message uses ObjectDataType for default type (java.lang) which could cause problems with setting variables, use dedicated type instead
<itemDefinition id="[color=red]_message[/color]" structureRef="String" />
<property id="message" itemSubjectRef="[color=red]null[/color]"/>
itemDefinition的id,要跟itemSubjectRef一致
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值