Skip to main content

Types of patterns

Use different patterns to generate custom formats of folios according to your needs.

Patterns allows you to inject numerical sequences, custom alphanumeric characters and current date info.

Below are examples of the different types of patterns and combinations you can use to generate custom folios.

Number pattern. Specifies how an incremental number is generated on each new record. Use more than one zero if you want the folio to have a fixed length and get filled with zeros on the left when possible.

ExampleCurrent numberOutput
{0}125125
{0000}6540654
{000000}12345012345

Current day pattern. Specifies the current day (number) of the current date.

ExampleCurrent dateOutput
{DD}Thursday, August 15, 202415

Month pattern. Specifies the current month (number) of the current date.

ExampleCurrent dateOutput
{MM}Thursday, August 15, 202408

Year pattern. Specifies the current year, it can be with the entire sequence of digits or with the last two digits.

ExampleCurrent dateOutput
{YY}Thursday, August 15, 202424
{YYYY}Thursday, August 15, 20242024