1 Answer
- Newest
- Most votes
- Most comments
-1
AWS Step Functions does not support functions in the path reference. It uses JSONPath expressions to identify a node, however has the following constraints:
- You can access object fields using only dot (.) and square bracket ([ ]) notation.
- The operators @ .. , : ? * aren't supported.
- Functions such as length() aren't supported.
This Step Functions documentation that covers this can be found here.
answered 2 years ago
Relevant content
- asked 2 years ago
- asked 10 months ago
- How can I use a Lambda function to automatically start an AWS Glue job when a crawler run completes?AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
This is only valid for Reference Paths: i.e. ItemsPath, ResultPath and OutputPath. However InputPath, Parameters and ResultSelector can use the whole JsonPath syntax. I use filter expressions in these regularly. If you read the docs closely it distinguishes between normal and reference paths in the section you linked to and then states in each section which path is a reference path. For example in the blue box here