...
- used in <targets/>
- evaluates a logical condition
- if the logical condition is true, then all the incoming sources for the defined <target/> should be true.
- if the logical condition is
false
, ajoinFailure
exception will be thrown (Unless the target activity hasn'tsuppressJoinFailure=true
). For example,
Code Block | ||
---|---|---|
| ||
<invoke...> <targets> <joinCondition> $Link1 and $Link2 </joinCondition> <targetlinkName="Link1"/> <targetlinkName="Link2"/> </targets> </invoke> |
...
Deploying the Sample
WSO2 BPS provides a sample, which can be deployed and executed to understand the constructs. Follow the instructions below to deploy and trigger the process.
...
- If
TransitionResolver
's if condition istrue
andTransitionResolver2
's if condition istrue
- 1 -> 2 -> 4 -> 5 -> 6
- 3
- If
TransitionResolver
's elseIf condition istrue
andTransitionResolver2
's if condition istrue
- 1 -> 2 -> 3
- 4 -> 5 -> 6
- If
TransitionResolver
/s if condition istrue
andTransitionResolver2
's if condition isfalse
- 1 -> 2 -> 4 -> 5
- 3
- 6
...
Excerpt | ||
---|---|---|
| ||
WSO2 Business Process Server sample explaining the usage of flows and links. |