The complex gateway can also be used for complex synchronization. Complex gateway gets activated when the conditional expression is evaluated as true
. Once the complex gateway gets activated, it would create a token on the output sequence flow.
If Abort pending flows is checked on the complex gateway properties, then complex gateway will abort all the pending flows and the remaining tokens will be suppressed. They will not be able to trigger any subsequent branch, as shown in the following screenshot:
The suppression of tokens is translated to various patterns, which are shown as follows:
Canceling discriminator pattern
Canceling partial join pattern
The following table shows the details of the canceling discriminator pattern:
The following table shows the details of the Canceling partial join pattern: