lib/openwfe/expressions/fe_cancel.rb in openwferu-0.9.10.653 vs lib/openwfe/expressions/fe_cancel.rb in openwferu-0.9.11
- old
+ new
@@ -83,10 +83,10 @@
#
# apply / reply
def apply (workitem)
- conditional = eval_condition(:if, workitem)
+ conditional = eval_condition(:if, workitem, :unless)
#
# for example : <cancel-process if="${approved} == false"/>
if conditional == false
reply_to_parent(workitem)