The Generate number sequence masking activity allows you to generate numbers in a sequence.
|Table of contents
To use the Generate number sequence 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. Generating a number sequence requires you to enter the number the sequence should start from, as well as the increment that defines the following members of the sequence.
In this example we want to generate street numbers, but we only want even numbers greater than one hundred. First we place the Address masking activity into opened Package.xaml and put the Generate number sequence masking activity within it. Once placed, we select the Number property that we want to mask with generated numbers. We enter
100 as the start of the sequence and
2 as the increment so we only get even numbers, and we leave other properties as they are.
Figure 1: Generating numbers in a sequence
|The property to mask.
x => x.Number or choose property from the dropdown list
|Increment by which each newly generated number will be greater than the previous one.
|First number to generate.
|Expression used for filtering records - only filtered items will be masked.
x => x.Number.IsBetween(1, 1000)
|If true, default values will be omitted in masking (i.e. null values are not masked).
|The ID of the repeater that will be used to detect repeating and save results when masking item key repeats.
|Key to use for repeating detection.
x => CompositeKey.Create(x.Number) or choose properties from the pop-up window
|Display name of the activity in the workflow.
Generate number sequence
|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.