# File lib/ruote/exp/fe_wait.rb, line 54
    def apply

      h.for = attribute(:for) || attribute_text
      h.until = attribute(:until)

      h.at = h.for
      h.at = h.until if h.at == ''

      return reply_to_parent(h.applied_workitem) unless h.at

      h.schedule_id = @context.storage.put_schedule(
        'at',
        h.fei,
        h.at,
        'action' => 'reply',
        'fei' => h.fei,
        'workitem' => h.applied_workitem)

      persist_or_raise
    end