id · Step identifier
An optional unique identifier for the Step, which can be used to reference its result from other steps.
- _: Say hi
id: greeting
log: Bonjour, mes amis !CAUTION
Identifiers must be unique across an Expedition. An error will be thrown at runtime when attempting to use a duplicate identifier.
Reading identified step results
The esquie.steps variable contains the results of all identified steps that have been executed or are currently being executed.
If a step has not been processed or discovered yet, the corresponding property will be undefined.
- _: Say hi
id: greeting
log: Bonjour, mes amis !
- _: Print the "greeting" step result
log: ${JSON.stringify(esquie.steps.greeting, null, 2)}NOTE
A random identifier in the format __esquie_${crypto.randomUUID()}__ is automatically generated for each step that does not have an explicit id. While this generated identifier could be used to reference a given step, it is strongly discouraged as the identifier would change on each execution.