The Suppress item activity allows you to delete items from the database during masking.
|Table of contents|
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.
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".
Figure 1: Suppressing items during masking
|Property group||Property name||Description||Example|
|Input: Filter||Filter||Expression used for filtering records - only filtered items will be masked.||
|Misc||DisplayName||Display name of the activity in the workflow.||
|Result||Contains the masking definition object. It's a part of the masking infrastructure and should be ignored.||-|