# File lib/ruote/exp/fe_save.rb, line 48
    def apply

      tk =
        has_attribute(*%w[ v var variable ].map { |k| "to_#{k}" }) ||
        has_attribute(*%w[ f fld field ].map { |k| "to_#{k}" })

      return reply_to_parent(h.applied_workitem) unless tk

      key = attribute(tk)

      if tk.match(/^to_v/)

        set_variable(key, h.applied_workitem['fields'])

      elsif tk.match(/^to_f/)

        Ruote.set(
          h.applied_workitem['fields'],
          key,
          Ruote.fulldup(h.applied_workitem['fields']))
      end

      reply_to_parent(h.applied_workitem)
    end