Hi,
I am using radial and I am experiencing a very odd behavior, consider the
following workflow:
define or_condition
echo 'start ${f:node.host_id}'
sequence if: '${f:node.host_id} is not set'
echo 'is not set'
sequence if: '${f:node.host_id} is set'
echo 'is set'
sequence if: '${f:node.host_id} == ${f:node.id}'
echo '=='
sequence if: '${f:node.host_id} is not set or ${f:node.host_id} ==
${f:node.id}'
echo 'or'
the field which is set is 'node' which is a map that contains only 'id'
property:
I get the following output:
start
is not set
I do not get the 'echo or' part which doesn't make sense as I do get the
'is not set' output in the 1st condition.
This means that the 1st condition is met, as expected, but the 4th
condition is not met even though it is an or statement between condition 1
and 2.
I tried adding brackets to each of the condition in the or statement but it
didn't help.
I also tried converting the or into and and not (using demorgan
transformation logic) and it didn't help.
I can try nested if but I wish to avoid this workarounds and understand why
this doesn't work as expected.
Please advise.
Thanks
--
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"ruote" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.