Suppress item

The Suppress item activity allows you to delete items from the database during masking.

Table of contents
Usage
Example
Properties

Usage

To use the Suppress item masking activity, it must be placed inside a table masking activity or a similar activity that iterates over data. Note that you either have to place the activity within a conditional branch or set the Filter property if you want to avoid deleting every record.

Example

Let's assume we are masking the Customer table, but in the masked table we don't want to have any customers from the United States. We do this by first placing the Customer masking activity, placing the Suppress item masking activity inside it and defining its Filter property as record => record.Country == "US".

Suppressing items during masking Figure 1: Suppressing items during masking

Properties

Property group Property name Description Example
Input: Filter Filter Expression used for filtering records - only filtered items will be masked. record => record.Country == "US"
Misc DisplayName Display name of the activity in the workflow. Suppress item
Result Contains the masking definition object. It's a part of the masking infrastructure and should be ignored. -