Expressions

Liquid expressions

When working with Elsa, you'll often want to write dynamic expressions. This page provides a glossary of various filters and tags you can use, in addition to the standard set that you can find in the Liquid documentation.

Elsa uses the Fluid library to implement Liquid. More tags and filters can be found there, as well as details on providing your own tags and filters.

Utility

These are built-in Liquid filters that are common to most Liquid implementations.

FilterDescriptionExample
jsonSerializes the input into JSON.{{ some_value | json }}
base64Converts the input into a base64 string.{{ some_value | base64 }}

Workflow

ObjectDescriptionExample
VariablesProvides access to workflow variable values.{{ Variables.MyVariable }}
CorrelationIdThe correlation ID of the workflow.{{ CorrelationId }}
Previous
Python