7.2. 流程设计程序
On Entry Action 中的 JavaScript 语言会在将节点更改为多个实例后造成意外的系统错误 [RHPAM-3409]
问题:在 Properties 面板中,如果在 On Entry Action 属性中将语言设置为 JavaScript,并且您将节点更改为 Multiple Instance,您会收到意外的系统错误。
重现的步骤:
- 创建新的业务流程。
- 创建包含多个 Instance 属性 的任务。
- 在 On Entry Action 属性中输入任何字符串。
- 将语言更改为 JavaScript。
-
将 Multiple Instance 属性的值设置为
true。
预期结果:用户界面或服务器日志中不会出现任何错误。
实际结果:您会收到意外的系统错误。
临时解决方案:无.
Service task thumbnails in 文档 [RHPAM-2759]
问题:与文档中的其他缩略图相比,Service 任务略略图太大。
重现的步骤:
-
导入在 RHPAM-2759 问题附加的
thumbnails.bpmn进程。 - 创建服务任务。
- 关闭并重新打开进程。
- 打开 Documentation 选项卡并向下滚动。
预期结果:与其它 thumbnails 相比,Service Task thumbnails 的大小相同。
实际结果:与其它略略图相比,服务任务图太大。
临时解决方案:无.
在创建进程时,消息事件缺少 structureRef [RHPAM-3437]
问题:当您创建新进程时,消息事件不会在生成的 IaaS 文件中包含 structureRef。
重现的步骤:
- 创建新进程。
- 添加消息启动事件和消息结束事件。
- 配置节点的消息。
- 向进程添加新进程变量。
添加新创建的进程变量作为两个节点的输入或输出。
生成的 192.168.1.0/24 文件不包含
endMessageType的structureRef,如下例所示:<bpmn2:itemDefinition id="endMessageType"/> <bpmn2:message id="_Icr1JGVqEeuMVv5wG-FCkw" itemRef="endMessageType" name="endMessage"/>
<bpmn2:itemDefinition id="endMessageType"/> <bpmn2:message id="_Icr1JGVqEeuMVv5wG-FCkw" itemRef="endMessageType" name="endMessage"/>Copy to Clipboard Copied! Toggle word wrap Toggle overflow
临时解决方案:在桌面中的 VSCode 编辑器中执行相同的步骤,如下所示:
<bpmn2:itemDefinition id="personMessageType" structureRef="com.javierito.Person"/> <bpmn2:message id="_bRr10EeVEDmMS7uvL9VDoA" itemRef="personMessageType" name="personMessage"/>
<bpmn2:itemDefinition id="personMessageType" structureRef="com.javierito.Person"/>
<bpmn2:message id="_bRr10EeVEDmMS7uvL9VDoA" itemRef="personMessageType" name="personMessage"/>