I have set variable "Id" in main pipeline and I'm setting value in "Set Variable 1" I would like to pass variable to child pipeline. I have created parameter "Id" in child pipeline. However I cannot refer to @{variables('id')} in Lookup5 of Child pipeline.
How to pass correctly variable?
You should be able to pass the variable into the parameters of child pipeline.
Simply access the passed in parameter with @{pipeline().parameters.Id}
in the child pipeline.