The following Standard Tags are available for use anywhere that Tags can be used.

To determine whether tags can be used, please refer to the component you are configuring.

Tag

Description

<DefaultDir>

References the default file path configured within General Setup when used in File Connections.

When used in DB Connections, it refers to the data folder within the Application Data folder. For more information, refer to Directories.

When used in XML File Definitions, it refers to the schema folder within the Application Data folder. For more information, refer to Directories.

<Guid>

A Guid value, or Globally Unigue ID. For more information, refer to Data Types.

<GuidNoBraces>

A Guid value, but without the curly braces at the beginning and end of the value.

<CompanyName>

The registered name on the software license.

<AdminEmail>

The default notification email configured in General Setup.

<FromEmail>

The default from email address configured in General Setup.

<DateStamp>

A date stamp in the format YYYYMMDDHHNNSS.

<FileNo>

A destination file counter that is reset and incremented by Statelake each time an Action runs.

Often used with <DateStamp> to get a unique file name for each file when an Action is expected to produce multiple files, producing for example a file called OUTPUT_<DateStamp>_<FileNo>.txt.

<yyyy>

The current year in 4-digit format.

<yy>

The current year in 2-digit format.

<mm>

The current month in 2-digit format such as 01 or 12.

<m>

The current month in 1-digit format such as 1 or 12.

<dd>

The current day in 2-digit format such as 02 or 28.

<d>

The current day in 1-digit format such as 2 or 28.

<hh>

The current hour in 24 hour 2-digit format such as 02 or 15.

<h>

The current hour in 24 hour 1-digit format such as 2 or 15.

<nn>

The current minute in 2-digit format such as 02 or 58.

<n>

The current minute in 1-digit format such as 2 or 58.

<ss>

The current second in 2-digit format such as 02 or 58.

<s>

The current second in 1-digit format such as 2 or 58.

<zzz>

The current millisecond in 3-digit format such as 087 or 998.