Read Value at Path

data · N043 · starter-package 7.0.1

Read a nested record field or list element using a path supplied by the workflow.

Behavior

Supply a list of literal field names and zero-based integer indexes. A missing final field or index returns null and Found false. A present null returns null and Found true. Every parent must exist and must be a regular record or list. A segment containing a period is a literal field name. Up to 12 segments are supported.

Example

After JSON Parse, use ["results",0,"score"] to read the first result's score. If the API returns an empty results list, reading ["results",0] gives Found false. Check that output before trying to read a field of the item.

Connector data types

DirectionConnectorTypeRequired
Inputvalue — Valueanyyes
Inputpath — Pathlistyes
Outputresult — Valueanyon success
Outputfound — Foundbooleanon success

Errors and recovery

Check the segment named in the error. Use an integer for a list and a valid field name for a record. Supply an existing record or list wherever a parent is missing. An error stops the block before it emits any output.