lib/openwfe/participants/participants.rb in openwferu-0.9.16 vs lib/openwfe/participants/participants.rb in openwferu-0.9.17
- old
+ new
@@ -1,8 +1,8 @@
#
#--
-# Copyright (c) 2006-2007, John Mettraux, OpenWFE.org
+# Copyright (c) 2006-2008, John Mettraux, OpenWFE.org
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
@@ -173,11 +173,11 @@
workitem.set_result(result) \
if result and result != workitem
reply_to_engine(workitem) \
if workitem.kind_of? InFlowWorkItem
- # else it's a cancel item
+ # else it's a cancel ite
end
end
#
# Simply aliasing a participant.
@@ -348,10 +348,11 @@
#
def consume (workitem)
get_expression_pool.launch_template(
get_flow_expression(workitem),
- 0, #sub_id
+ nil, # new environment
+ 0, # sub_id
@template,
workitem)
#params)
end
end