# File lib/ruote/exp/flowexpression.rb, line 418 def do_fail (msg) @h['state'] = 'failing' @h['applied_workitem'] = msg['workitem'] if h.children.size < 1 reply_to_parent(@h['applied_workitem']) else persist_or_raise h.children.each { |i| @context.storage.put_msg('cancel', 'fei' => i) } end end