# File lib/ruote/exp/fe_redo.rb, line 55
    def apply

      ref = attribute(:ref) || attribute_text
      tag = ref ? lookup_variable(ref) : nil

      if tag

        @context.storage.put_msg('cancel', 'fei' => tag, 're_apply' => true)

        reply_to_parent(h.applied_workitem) unless ancestor?(tag)

      else

        reply_to_parent(h.applied_workitem)
      end
    end