阻止任务在暂挂的 BPD 实例中完成
传统:
在 Workflow Server 和 Workflow Center的 100Custom.xml 文件中,可以使用 prevent-complete-task-in-suspended-instance 设置来阻止任务在暂挂的 BPD 实例中完成。
在 Workflow Server 和 Workflow Center的 100Custom.xml 文件中,可以使用 prevent-complete-task-in-suspended-instance 设置来阻止任务在暂挂的 BPD 实例中完成。
关于本任务
如果未进行 prevent-complete-task-in-suspended-instance 设置或将其设置为缺省值 false,那么将允许在暂挂的 BPD 实例中完成任务。 但是,如果您将设置值更改为 true,那么将不会在暂挂的 BPD 实例中完成任务。
如果想要更改设置的当前值,那么可以通过在 100Custom.xml 文件中添加或更新设置来覆盖该值。 例如,要将设置添加到 100Custom.xml 文件,您可以在
<properties> 元素下添加以下元素,并根据需要修改该值:
<server>
<bpd-engine>
<prevent-complete-task-in-suspended-instance merge="replace">true</prevent-complete-task-in-suspended-instance>
</bpd-engine>
</server>有关需要更新的各个 100Custom.xml 文件及其位置的信息,请参阅 100Custom 配置文件的位置主题。
但是,要一致且可靠地更改 Business Automation Workflow 部署环境中所有 100Custom.xml 文件中的设置值,建议您使用 updateBPMConfig 命令,如以下过程中所述:
过程
结果
更新 100Custom.xml 文件的建议方式是运行 updateBPMConfig 命令。 但是,如果更新失败,您可以通过执行主题 创建 100Custom.xml 配置文件中的步骤来手动更新文件。