Parameter type

Attribute

Allowed data type

Example (basic pattern: [parameter_key_name:attribute=value:attribute=value:...])

All

WhenEmpty

string which can contain (system) parameters

[key_name:WhenEmpty="User [user_name] left the value empty"]

Common to String, Number, Date, Time

Format

text1

[text:Format=uppercase:Culture=ru-KZ], [number:Format=C:Culture=rm-CH]

Culture

text2

[date_param:Format=yy:Culture=rof-TZ], [time_param:Format=HH-mm:Culture=ps-AF]

Boolean

WhenTrue/False

string which can contain (system) parameters

[invoice_paid:WhenTrue="User set the value to true"]

Date

TimeZone

available time zones list

[current_time:TimeZone=UTC-08], [current_time:HH-mm-ss:TimeZone=E. Europe Standard Time]

UtcOffset

text3


AddYears

number

[current_date:yyyy:AddYears=4]

AddMonths

number

[current_date:MM:AddMonths=-1]

AddDays

number

[current_date:dd:AddDays=-4]

AddHours

number

[current_date:hh:AddHours=5]

Number

Padding

number > 0

[invoice_number:Padding=5], entered invoice_number value is 2, result of the operation is 00002

LeadingZeros

alias for padding


[regex] or [regular_expression]

IgnoreCase

true or false

[regex:Input=[text_parameter]:Pattern=(\\d+)_(.+):Output=$2_$1]

in case that text_parameter equals 12345_invoice then the result will be invoice_12345.

Pattern*

text

Input*

string which can contain (system) parameters

Output

text

WhenNotMatched

string which can contain (system) parameters

WhenEmpty

string which can contain (system) parameters

[remove_accents] or [remove_diacritics]

Input*

string which can contain (system) parameters

[remove_accents:Input=[user_full_name]]

[substring]

Start

Either Start, StartBefore or StartAfter must be defined

Either Length, EndBefore or EndAfter must be defined

In case the Start value is negative given number of characters is evaluated from the end of the string, the same applies to Length

 [substring:Input=[user_full_name]:Start=3], if the user's full name is "Martin King" the result of such operation will be "tin King".

 [substring:Input=[email_of_user]:StartAfter=@:EndBefore=.] this particular example will extract substring from email between '@' and the '.' it is to say domain name or company name.

StartBefore

StartAfter

Length

EndBefore

EndAfter


*required


Following characters have to be escaped =:[]\ except in attributes which allow data type "string which can contain (system) parameters", there is no need to escape [] characters if you want to output another parameter's value.


1Format

2Culture - https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c

3UtcOffset - https://docs.microsoft.com/en-us/dotnet/api/system.timespan.parse?view=netframework-4.7.2