Creating a Listener for Deactivated Document Types in a Repository
Special considerations apply to the creation of a listener for detecting the deactivation of a document type in a Sharepoint or Alfresco repository. The listener must contain only one query definition, which must conform to these requirements:

The
Index value must be set to “Document title”.

The
Operator value must be set to “=”.

The
Value must be set to “*”.
That is: Document title = *
Do not specify any other values or query definitions. This configuration is required because when a document type is deactivated, document type data is no longer available.