Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
在流程设计器中, 可以使用流程属性中的可用选项来复制同一个包下的现有流程。
图1:复制流程
由于设计是由XML写的, 我 们可以检查源代码。
图2:复制流程为“process1”
图3:两个进程共享同一组参与者
请注意,这两个流程仍将使用相同的参与者。在任何流程中修改名称或删除参与者可能会影响使用特定参与者的所有其他进程。
图4:删除和删除参与者
移除参与者将只移除特定过程中的泳道。参与者仍然存在于设计包中。
但是,删除将完全删除整个设计包中的参与者。如果有任何使用已删除参与者的进程,您可以在屏幕截图中看到以下内容。
图5:删除的参与者导致现有流程出现问题
根据您的设计要求,有时您可能不希望在相同的流程中分享参与者,以便在不影响其他流程的情况下单独重命名参与者,您需要:
In the Workflow Designer, it is possible for one to duplicate existing process under the same package using the option available in the process's properties.
Figure 1: Duplicate Process
Since the design is made up using XML, we may inspect on what is going on behind the scene.
Figure 2: Duplicated Process as "process1"
Figure 3: Both processes share the same set of participants
Take note that both processes would still use the same of of participants. Modifying the name or removal of participant at any of the processes may affect all other processes that uses the particular participant.
Figure 4: Delete and Remove participant
Remove participant will only remove the swimlane from the particular process. The participant would still exists in the design package.
However, Delete will completely erase such participant from the entire design package. If there's any process that uses the deleted participant, you may see the following in the screenshot.
Figure 5: Deleted participant causing problem to existing processes
Depending on your design requirement, sometimes, you may not want to share the participants across the same processes so that you would have the liberty to rename your participants individually without affect any other processes, you will need to either:-
...