Skip to main content
Version: Next

Concat Autoincremented Id

Generates a string with autoincremented number. If prefix is given, the ID is appended to it

Description

Generates a string with autoincremented number. If prefix is given, the ID is appended to it. The count starts from 1 and is stored in memory (previous values are lost every time the memory is cleaned (on a refresh, for example)).

See sequences for a persisted value.

Example:

  • inputs

    • prefix = contact_
  • outputs

    • result = contact_1
  • inputs

    • prefix = ``
  • outputs

    • result = 2

Inputs

  • Prefix (Object): The value to prefix the ID with

Outputs

  • Result (String): A string with the incremented id