Generate maticni broj

The Generate maticni broj masking activity allows you to generate "maticni broj" numbers specific to Croatia.

Table of contents


To use the Generate maticni broj 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.


In this example we want to generate "maticni broj" numbers in the Customer table, so first we place the Customer masking activity and put the Generate maticni broj masking activity within it. Once placed, we select the MaticniBroj property.

Generate maticni broj example

Figure 1: Generating Maticni broj


Property group Property name Description Example
Input properties DataItemProperty The property to mask. Write x => x.MaticniBroj or choose property from the dropdown list.
Generator The generator to use to generate values. new Ekobit.BizDataX.DataMasking.DataGenerators.HR.MaticniBrojGenerator()
Input: Filter Filter Expression used for filtering records - only filtered items will be masked. x => x.MaticniBroj.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. MaticniBrojRepeater
RepeatingKey Key to use for repeating detection. Write x => CompositeKey.Create(x.MaticniBroj) or choose properties from the pop-up window
Misc DisplayName Display name of the activity in the workflow. Generate maticni broj
Result Contains the masking definition object. It's a part of the masking infrastructure and should be ignored. -