lib/ruote/part/block_participant.rb in ruote-2.1.5 vs lib/ruote/part/block_participant.rb in ruote-2.1.6

- old
+ new

@@ -85,10 +85,13 @@ @block.call( workitem, Ruote::Exp::FlowExpression.fetch(@context, workitem.h.fei)) end - workitem.result = r if r != nil && r != workitem + if r != nil && r != workitem + #workitem.result = r + workitem.result = (Rufus::Json.dup(r) rescue nil) + end reply_to_engine(workitem) end def cancel (fei, flavour)