Define Filters - dswarm/dswarm-documentation GitHub Wiki

Filters can be used for specifying the (complex) conditions of a transformation of a mapping.

Generic Filter Definition Workflow

A prerequisite for creating a filter is a mapping that can be selected in the transformation logic widget (lower middle).

open filter definition dialogue

  • In order to create a filter, select the mapping for which you want to define a filter rule (1).
  • Click on the mapping input on the left in the transformation logic pipeline (2).

A filter definition dialogue will be opened:

filter definition dialogue - add filter

  • On the left, a sample record lets you test the filter rule you are going to define.
  • Click on “add filter” (1) and enter your filter rule in the form next to the sample record.

filter definition dialogue

  • As you type (2) your rule is tested with the sample record set. If there is a match, the respective record is marked red (3).
  • Click on “OK” to save and quit the filter definition dialogue (4).

Note: These restrictions apply in the alpha release:

  • You can change filter rules, but you cannot delete a filter rule. You can, however, accomplish a ‘deletion’ of a rule by emptying all fields or can the delete the whole mapping at once (see here).
  • You cannot select a specific record set from the sample data.

D:SWARM Help - Step by Step