Adding unique instance values for new data

Unique instance values are hydrated at create time. The following actions will cause instance values to be populated:

  • Files created
  • Array items are created

When new data is created from one of these actions, the keys defined in your _instance_values will be replaced with your choice of the predefined values below:

UUID - String

Generates a uuidv4, useful to indentify each unique item. e.g. 6ec0bd7f-11c0-43da-975e-2a8ad9ebae0b. This is extremely unlikely to generate duplicates and can be considered a unique identifier.

NOW - Datetime

The current datetime in the site configured timezone. Output will be dependant on the input used, either Date Time or Date.

Configuration
_instance_values:
  _uuid: UUID
  created_at: NOW
Was this article helpful? or Suggest an improvement >

Related articles

Other Resources

  1. UUID collisions