lib/openwfe/expressions/fe_if.rb in openwferu-0.9.10 vs lib/openwfe/expressions/fe_if.rb in openwferu-0.9.10.653

- old
+ new

@@ -54,36 +54,31 @@ # # The 'if' expression. # # <if> # <equals field-value="f0" other-value="true" /> - # <!-- then --> # <participant ref="alpha" /> # </if> # # It accepts an 'else' clause : # # <if> # <equals field-value="f0" other-value="true" /> - # <!-- then --> # <participant ref="alpha" /> - # <!-- else --> # <participant ref="bravo" /> # </if> # # The 'test' attribute can be used instead of a condition child : # # <if test="${f:f0}"> - # <!-- then --> # <participant ref="alpha" /> # </if> # # The 'rtest' attribute can be used to embed a condition expressed directly # in Ruby : # # <if rtest="5 * 12 == 61"> - # <!-- then --> # <participant ref="alpha" /> # </if> # # Used alone with 'test' or 'rtest', the 'if' expression simply sets the # the __result__ field of its workitem to the result of its attribute @@ -180,10 +175,9 @@ # <participant ref="alpha" /> # # <if test="${supply_level} == ${field:supply_request}" /> # <participant ref="bravo" /> # - # <!-- optional else --> # <participant ref="charly" /> # # </case> # # A generalized 'if'. Will evaluate its children, expecting the order :