(WID/WPS) Diverging/Converging Gateway types

GeneralizedFlow

A diverging gateway is made available for an activity when two or more links (excluding fault links) start at this activity. We can specify one of three types of diverging gateway :

  • Split, in which only the first link (going left to right) with a transition condition of true is navigated. 


  • Fork, in which all links are navigated in parallel.  




  • Inclusive OR, in which all links with transition conditions of true are navigated. 


A converging gateway is made available for an activity when two or more links (including fault links) end at this activity. We can specify one of three types of converging gateway :

  • Merge - exclusive pathway. When the first link is followed with a "true" flag, the gateway is evaluated and the activity commences. No synchronization happens with the remaining incoming links.
  • Join - parallel pathways. All incoming links are synchronized, the gateway is evaluated when all links are followed. When all links are followed with a "true" flag the activity commences. When all links are followed with a "false" flag the activity is skipped. When some links are followed with a "true" flag but some with a "false" flag the run time throws an exception.

Note: In cases where this exception can happen, a warning is displayed while modeling the process or when deploying the process.

  • Inclusive OR - exclusive and/or parallel pathways. This gateway can be used to merge exclusive paths, or to join parallel paths, or both. When merging exclusive paths, the gateway is evaluated and the activity commences when the first link is followed with a "true" flag. When joining parallel paths, all incoming links are synchronized, the gateway is evaluated when all links are followed. When one or more links are followed with a "true" flag the activity commences. When all links are followed with a "false" flag the activity is skipped. When exclusive and parallel paths converge at this gateway, it is evaluated in the reverse order of the opposite converging gateways. See troubleshooting for more information.





No comments:

Post a Comment