server/executionhandlers/ruby/connection.rb in cpee-2.1.62 vs server/executionhandlers/ruby/connection.rb in cpee-2.1.63

- old
+ new

@@ -309,11 +309,11 @@ end if options['CPEE_STATUS'] @controller.notify("activity/status", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :status => options['CPEE_STATUS']) end if options['CPEE_UPDATE'] - @handler_continue.continue WEEL::Signal::Again + @handler_continue.continue WEEL::Signal::UpdateAgain else @controller.cancel_callback(@handler_passthrough) @handler_passthrough = nil if options['CPEE_SALVAGE'] @handler_continue.continue WEEL::Signal::Salvage @@ -354,22 +354,12 @@ end struct.instance_eval(code,where,1) struct end + def split_branches(branches) # factual, so for inclusive or [[a],[b],[c,d,e]] + @controller.notify("gateway/split", :instance_uuid => @controller.uuid, :branches => branches) + end def join_branches(branches) # factual, so for inclusive or [[a],[b],[c,d,e]] @controller.notify("gateway/join", :instance_uuid => @controller.uuid, :branches => branches) end - - def simulate(type,nesting,tid,parent,parameters={}) #{{{ - @controller.vote("simulating/step", - :'activity-uuid' => @handler_activity_uuid, - :label => @label, - :activity => tid, - :endpoint => @handler_endpoint, - :type => type, - :nesting => nesting, - :parent => parent, - :parameters => parameters - ) - end #}}} end