Sequence

The Sequence type gives each case of a template a sequential number: the first case gets 1, the next one 2, and so on. It is useful for numbering requests, contracts or onboardings. You set it up in the variable editor (Templates › template › Variables › variable). The common part of the editor is described in the article Variables: overview and common settings.

Settings

No.FieldPurpose
1Variable typeSelect Sequence. A sequence has no default value and no other settings, so the lower part of the editor is not displayed.

How a sequence works:

  • When you save a new variable of type Sequence, TAS creates its own counter for it, starting at 1.
  • When each case of the template is created, the variable gets the current counter value and the counter increases by 1. The same applies when the template is started as a subprocess.
  • The counter belongs only to this variable. It is not related to the Sequences administration (shared number series read by calculations).
  • Cases created before you added the variable do not get a number.

How it looks in the form

Onboarding number is read-only in the task and shows the number 1, because this is the first case of the template.

Assign the sequence as read-only
If you assign the sequence to a task as writable, it is displayed as a regular number field and the user can overwrite the number. To keep the numbering unique, assign it to tasks as read-only.
Number in the case name
You can use the sequential number from the sequence in a calculation that builds the case name, for example “ONB-2026-0001”.

Related: Variables: overview and common settings, Number, Sequences (administration).

Dynamic list

Dynamic Table

Syca (opens in a new tab)

Powered by HelpDocs (opens in a new tab)