Generate IBAN

The Generate IBAN masking activity allows you to generate IBAN numbers.

Table of contents
Usage
Example
Properties

Usage

To use the Generate IBAN 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, create the new instance of the BankAccountGenerator generator that generates IBAN data.

Example

In this example we want to mask IBANs in the Account table with Croatian IBANs, so first we place the Account masking activity into opened Package.xaml and put the Generate IBAN masking activity within it. Once placed, we select the Iban property, and create new instance of the BankAccountGeneratorHr generator that generates Croatian IBANs: new BBANGeneratorHr(new BankAccountGeneratorHr("32")).

To use this generator the following namespace needs to be imported: Ekobit.BizDataX.DataMasking.DataGenerators.HR in the Package.xaml file.

Generate HR IBAN example Figure 1: Generating Croatian IBANs

The similar procedure is with the following countries:

Country Namespace Generator Requires NuGet package Example
Switzerland Ekobit.BizDataX.DataMasking.DataGenerators.CH BankAccountGeneratorCh - new BBANGeneratorCh("00100") where 00100 is is bank RoutingNumber contained in LookupData.xml.
Germany Ekobit.BizDataX.DataMasking.DataGenerators.DE BankAccountGeneratorDe Ekobit.BizDataX.PerfidiaWrapper new BBANGeneratorDe("10000000") where 10000000 is bank RoutingNumber contained in LookupData.xml.

Note: Each mentioned IBAN generator can be used in an individual masking activity:

Properties

Property group Property name Description Example
Input properties BBANGenerator BBAN generator used to generate IBANs. New instance of the BankAccountGenerator generator.
DataItemProperty The property to mask. Write x => x.Iban 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.Iban.EndsWith("000")
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. IbanRepeater
RepeatingKey Key to use for repeating detection. Write x => CompositeKey.Create(x.Iban) or choose properties from the pop-up window
Misc DisplayName Display name of the activity in the workflow. Generate IBAN
Result Contains the masking definition object. It's a part of the masking infrastructure and should be ignored. -