HomeGuidesRecipesAPI
HomeGuidesAPILog In
Guides
These docs are for v11.2. Click to read the latest docs for v31.

📘

Interface Feature Availability

When using Produce web interface the sequence will be claimed when shown on screen. Using Infiniti GO the sequence will be claimed after submission.

Designers can now define sequences that can be leverage across Intelledox forms. They will be created following a specified pattern during run time. Creating sequences requires Design permissions.

Create a new Sequence

  1. Navigate to Intelledox Manage and click on Sequences on the right side menu.
  2. Click on New Sequence
  3. Provide to following information:
PropertyDescription
NameUser description of what the sequence represents
FormatPattern that the sequence number can be formatting into. If blank just a plain number will be returned from the sequence. Otherwise it will be included in the format string.
Start ValueStart sequence number.
RestartThe value of a sequence can be set to restart from 1 after a date has passed. This can be set to year, month, or day calculated in the provided timezone. This can be set to year, month, or day calculated in the provided timezone.

Format Sequence Patterns

The following replacement tags are supported:

  • {{num}} Sequence number.
  • {{year}} Current year.
  • {{yy}} Current 2 digit year.
  • {{month}} Current month.
  • {{day}} Current day.

Replacement tags can have numeric format options. For example {{num:0000}} inserts the sequence number with leading zeros.

For the Format ABC{{year}}{{num}} the first sequence value will be "ABC20191" Or ABC{{month:00}} will be ABC05 if the month is May.

Usage in Design

Sequences can be used in Design via a variable question. The user sequences are added to the variable drop down list. Once a form instance has generated a sequence value for an answer it will be remembered and not regenerated for each call.
To get multiple numbers use multiple answers referencing the same sequence.

📘

Note

Sequence and Guid variables are reset when reloading a completed answer file.

Step by Step

  1. Go to Manage > Sequences and create a new Sequence called "CustomSequence" with the following Format: AP{{num:00000}}-{{yy}}-{{month}}-{{day}}
  2. Click Save.
  3. In Design, drag and drop a new Variable question and select the newly created Sequence.
  4. Add a label and reference the Variable.

Your project should look similarly to this

1182

And every time a form is loaded it will display a sequence like: AP00009-19-11-19

📘

Important

To guarantee consecutive sequences, do not display it on screen as Intelledox will calculate the formula on transition/submission. If a sequence is displayed on screen, it will considered as claimed.