(
exists ( condition-1 with child objects)
or
exists (condition-2 with child objects)
)
then
SOP("order id "+order.getId());
result :
order id 1000
order id 1000
return the results in twice if both the conditions (cond-1 & cond-2) are satisfied. It just combine
both results and behaves like 'union all' instead of 'union' function.