Generate business name

The Generate business name masking activity allows you to generate business names for specific countries.

Table of contents
Usage
Example
Properties

Usage

To use the Generate business name 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 business names to be related to. Note that the country code needs to be a string value. Supported values are: CH (Switzerland), CO (Colombia), DE (Germany), HR (Croatia), US (United States of America).

Example

In this example we want to generate US-related business names for the Company table. First we place the Company masking activity into opened Package.xaml and put the Generate business name masking activity within it. Once placed, we select the CompanyName property that we want to mask. Next, we enter "US" as the country we want the company names to be generated for.

Generating company names Figure 1: Generating company names

Properties

Property group Property name Description Example
Input properties Country The country you want your data to be from. "US"
DataItemProperty The property to mask. Write x => x.CompanyName or choose property from the dropdown list
EnforceUnique If true, random selection should select unique values. true or false
Input: Filter Filter Expression used for filtering records - only filtered items will be masked. x => x.CompanyName.StartsWith("T")
SkipDefaultValues If true, default values will be omitted in masking (i.e. null values are not masked). true or false
Input: Repeating RepeaterId The ID of the repeater that will be used to detect repeating and save results when masking item key repeats. CompanyNameRepeater
RepeatingKey Key to use for repeating detection. Write x => CompositeKey.Create(x.CompanyName) or choose properties from the pop-up window
Misc DisplayName Display name of the activity in the workflow. Generate business name
Result Contains the masking definition object. It's a part of the masking infrastructure and should be ignored. -