views:

99

answers:

4

I have been studying some Business Process Execution Language (BPEL) and the associated modelling system (BPMN) where the designer needs to learn about inclusive and exclusive gateways for process flow. Thanks very much for any help and a general explanation of the terms would be enough assuming the same rules apply.

This is some technical text I am trying to understand in response to Mark- For simple links that join two activities, the status defaults to true so the target activity always gets executed. However, if a transition condition is applied to the link, such as a test of the value contained in a process variable, the status may be set to 'false', blocking the execution of any target activities. If a target has multiple links then the decision to execute or block is based on the OR of the individual link status values. Only one link status need be true for the target to execute; hence transition conditions can be used to map the Inclusive OR gateway of BPMN

+5  A: 
  • Inclusive or: A or B or both.
  • Exclusive or: Either A or B but not both.

Mark Byers
Still apply?-For simple links that join two activities, the status defaults to true so the target activity always gets executed. However, if a transition condition is applied to the link, such as a test of the value contained in a process variable, the status may be set to 'false', blocking the execution of any target activities. If a target has multiple links then the decision to execute or block is based on the OR of the individual link status values. Only one link status need be true for the target to execute; hence transition conditions can be used to map the Inclusive OR gateway of BPMN
fwc
A: 

The difference is what happens with both components are true. With inclusive or, the result is also true. With exclusive or, the result is false.

Exclusive or is kinda like Highlander: There can be only one. :-)

T.E.D.
+1  A: 
A B OR XOR  
1 0  1  1  
1 1  1  0  
0 1  1  1  
0 0  0  0  
durza
A: 

as a result table:

inclusive or:

A B Result
0 0 0
1 0 1
0 1 1
1 1 1

exclusive or:

A B Result
0 0 0
1 0 1
0 1 1
1 1 0

so, aus you can see, an exclusive or give false if both are true, cause its exclusive means A or B but not both

oezi