The Generate text masking activity allows you to generate text using an IGenerator implementation before saving it to the database.
|Table of contents|
To use the Generate text masking activity, it must be placed inside a table masking activity or a similar activity that iterates over data. Once placed, select the property you want to mask. Next, enter a new instance of a generator to generate text values.
In this example we want to generate masked e-mails for the Customer table. We don't need to generate realistic e-mails, just ones that are in the valid e-mail format and make it clear they are masked. First we place the Customer masking activity into opened Package.xaml and put the Generate text masking activity within it. Once placed, we select the Email property that we want to mask with our text generator. For the generator, we enter a new instance of a string generator that also makes use of a number sequence generator so that our generated e-mails are unique.
Figure 1: Generating text
|Property group||Property name||Description||Example|
|Input properties||DataItemProperty||The property to mask.||Write
|Generator||Generator used to generate values.||
|Input: Filter||Filter||Expression used for filtering records - only filtered items will be masked.||
|SkipDefaultValues||If true, default values will be omitted in masking (i.e. null values are not masked).||
|Input: Repeating||RepeaterId||The ID of the repeater that will be used to detect repeating and save results when masking item key repeats.||
|RepeatingKey||Key to use for repeating detection.||Write
|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.||-|
BizDataX Documentation © Built by Ekobit. All rights reserved.