Parent flow:
id: main
namespace: lde.subflow.yaml
tasks:
- id: hello
type: io.kestra.plugin.core.flow.Subflow
namespace: lde.subflow.yaml
flowId: subflow
inputs:
people:
- first: "John"
last: "Doe"
- first: "Jane"
last: "Smith"
Subflow:
id: subflow
namespace: lde.subflow.yaml
inputs:
- id: people
type: YAML
tasks:
- id: hello
type: io.kestra.plugin.core.log.Log
message: "{{ inputs.people }}"
Display log:
[{"last=Doe":"","first=John":""},{"first=Jane":"","last=Smith":""}]
should a proper json string, showing a proper serialization.