afs_doc_remove - AFS - Reference Guides

AFS Filters Description

Product
AFS
AFS_Version
7.12
Category
Reference Guides
language
English

The Doc remove filter allows to use the "where" syntax to remove a set of documents.

The filter is declared with the afs_doc_remove type. It is in the antidot-paf-misc package. It is a visitor filter.

This filter can be instantiated only once at any given moment. It will not read the "instances" parameter in the configuration.

The Document remove filter specifications are described in the following table:

Parameter name

Mandatory

Type

Default

Description

where

Yes

string

N/A

The where clause

List of available identifiers: - x, y, z - status, prevStatus - PaFId, prevPaFId - created - docId - lang - region Usable keywords are "and", "or", "not" and comparison operators (=, !=, <, >, <=, >=).

z = "pdf" or (PaFId = 1 and status=KO)