# File lib/ruote/exp/fe_unregisterp.rb, line 50
    def apply

      registerp_allowed?

      name = attribute(:name) || attribute_text

      result = begin
        context.engine.unregister_participant(name)
        true
      rescue
        false
      end

      h.applied_workitem['fields']['__result__'] = result

      reply_to_parent(h.applied_workitem)
    end