# File lib/ruote/exp/fe_participant.rb, line 177 def cancel(flavour) cancel_flanks(flavour) return reply_to_parent(h.applied_workitem) unless h.participant_name # no participant, reply immediately do_persist || return # # if do_persist returns false, it means we're operating on stale # data and cannot continue @context.storage.put_msg( 'dispatch_cancel', 'fei' => h.fei, 'participant_name' => h.participant_name, 'participant' => h.participant, 'flavour' => flavour, 'workitem' => h.applied_workitem) end