Set Custom Autonumber

Hi all,

I would like to create an autonumber format with the following pattern:

LOS-dd/MM/yyyy-autonumber
Example of the expected result:
LOS-01/02/2025-00001

I have tried using the Autonumber option on the object field (as shown in the screenshot), but it only supports a static prefix and sequential numbers. It does not support adding dynamic elements such as the current date (dd/MM/yyyy).

How can I generate an automatic number with this format?

Thank you.

Like 0

Like

1 comments

Hello,

The standard Autonumber field in Creatio is limited to a static prefix combined with a sequential counter and does not support dynamic components such as the current date. For this reason, the required format cannot be achieved using the basic autonumber settings alone.

To implement such a format, a custom mechanism is required. This is usually done by generating the value at record creation time using a business process or custom logic that determines the current date, maintains a sequential counter, and assembles the final value before saving it to the field.

Alternatively, the same result can be achieved by implementing autonumbering in the same way it is done for out-of-the-box sections such as invoices, cases, or contracts. In these sections, numbering is generated using an autonumber mask handled by platform logic rather than a simple object field setting. Replicating this approach for a custom object also requires development effort, but it allows full control over the number format and behavior, including dynamic elements.

Show all comments