The enhanced merge mode is a means to control the diversity of merges. Currently, there are two main types of enhanced merge modes.

  1. The number of merged branches is specified in advance.

Clearly indicate the number of branches that need to be merged. Only after the merging node detects that the number of merged Tokens has been reached, will it continue to parse the next step list and then proceed with the process flow.

The Token designation of the number of merged branches is specified by the control parameter attribute of WfAppRunner. Examples are as follows:

       Program code snippet:

wfAppRunner.ControlParameterSheet.EOrJoinTokenPassCount = 1 ;

  1. Merge branch forced attribute mode

Or after branch execution, there may usually be multiple branches that meet the conditions. However, in some cases, it must be a specific branch execution to trigger the merge node to continue flowing downward. In this case, you need to specify the type of merge node first. is the "enhanced merge node type", and the pass type is: "forced branch" type.

The properties of "Forced Branch" are defined on the transfer properties. The example of checking the checkbox is as follows: