# File lib/ruote/part/local_participant.rb, line 54 def re_dispatch (workitem, opts={}) msg = { 'action' => 'dispatch', 'fei' => workitem.h.fei, 'workitem' => workitem.h, 'participant_name' => workitem.participant_name, 'rejected' => true } if t = opts[:in] || opts[:at] sched_id = @context.storage.put_schedule('at', workitem.h.fei, t, msg) fexp = fetch_flow_expression(workitem) fexp.h['re_dispatch_sched_id'] = sched_id fexp.try_persist else @context.storage.put_msg('dispatch', msg) end end