I have 2 pipelines: master and child.
master pipeline contains a foreach loop which calls the child pipeline (execute pipeline activity).
the child pipeline contains a single activity of data explorer command.
foreach item is being passed as parameter to child pipeline.
1 - in master pipeline, how can I define an array of complex objects to iterate in foreach?
using square brackets with complex objects raised an error.
probably something like:
@createArray( json('{"cloudEnv": "ffx", "states": ["a", "b"]}'), json('{"cloudEnv": "mck", "states": ["c"]}')) ?
2 - how can I reference a sub-field (e.g "states") in the child pipeline, within the kusto query?
tried "mytable | where State in [pipeline().parameters.cloudobj].states" but that didn't work.
Thanks


