Files
floci/docs
Facundo ParedesandFacundo Paredes eb5134da2d feat(stepfunctions): add the JSONata functions of the Step Functions dialect (#2676)
Step Functions extends JSONata with $parse, $partition, $range, $hash,
$random and $uuid. None of them exist in the JSONata language, so an
expression calling one failed with "Attempted to invoke a non-function"
and the execution failed with States.QueryEvaluationError.

Bind the six on the evaluation frame next to $states and the workflow
variables. Behaviour follows AWS on the cases a naive reading gets wrong:
a non-integer argument rounds towards zero, several argument combinations
evaluate to undefined instead of failing, $range collapses a
single-element range to a bare number, $parse rejects the JSON AWS
rejects, and $random(seed) reproduces java.util.Random.

Verified with a 65-expression differential against real AWS Step
Functions: 65 match, 0 differ.

Co-authored-by: Facundo Paredes <25681464+facuparedes@users.noreply.github.com>
2026-08-28 15:31:53 -04:00
..
2026-03-15 17:43:56 -05:00