substitution format expressions
Substitutions, or interpolation, allow you to use formatting expressions to
manipulate values dynamically at run-time. Use this for type-safe assignment,
string concatenation, simple string formatting replacement & python expressions
for more complex logic like min
, max
, abs
or constructing more complex
conditional boolean evaluation expressions.
You can use any of the following anywhere that supports substitutions.
title | description | example |
---|---|---|
format string | String interpolation with substitution tokens are for easy value replacement inside a pipeline workflow. Works with complex types, not just strings. | '{token}' |
jsonify | Serialize context object to json string | !jsonify [0, 1, 2] |
py string | Evaluate dynamic python expressions in your pipeline steps and task automation sequences. | !py len(key) > 1 |
sic string | Literal string values that should not have formatting expressions applied, for simplified escape sequences. | !sic literal string here |