lib/openwfe/expressions/fe_utils.rb in openwferu-0.9.3 vs lib/openwfe/expressions/fe_utils.rb in openwferu-0.9.4
- old
+ new
@@ -135,7 +135,17 @@
def OpenWFE.set_result (workitem, result)
workitem.attributes[FIELD_RESULT] = result
end
+ #
+ # Just a shortcut (for consistency) of
+ #
+ # workitem.attributes["__result__"]
+ #
+ def OpenWFE.get_result (workitem)
+
+ workitem.attributes[FIELD_RESULT]
+ end
+
end