The Generate phone number masking activity allows you to generate phone numbers for specific countries.
|Table of contents|
To use the Generate phone number 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 the country code of the country you want the generated phone numbers to be related to. Note that the country code needs to be a string value.
In this example we want to generate US-related phone numbers for the Customer table. First we place the Customer masking activity into opened Package.xaml and put the Generate phone number masking activity within it. Once placed, we select the Phone property that we want to mask. Next, we enter
"US" as the country we want the company names to be generated for.
Figure 1: Generating phone numbers
|Property group||Property name||Description||Example|
|Input properties||Country||The country you want your data to be from.||
|DataItemProperty||The property to mask.||Write
|MaximumLength||Maximum phone number length.||
|MinimumLength||Minimum phone number length.||
|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.||-|