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

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

      if tag && Ruote.is_a_fei?(tag)

        @context.storage.put_msg(
          'cancel', 'fei' => tag, 're_apply' => { 'workitem' => 'applied' })

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

      else

        reply_to_parent(h.applied_workitem)
      end
    end