My pipeline receives the Path and the name of a JSON file.
This is part of the flow that I created:
The lookup step is used to read the JSON File and later I need to get a very specific value using this formula in the set variable step:
@{activity('Lookup1').output.firstRow.Information.Area.AreaName}
This is an small example of part of the file:
{
.....
"Information": {
"Area": {
"AreaName": "General",
"Workers":[
......
]
}
}
But sometimes, I can get only this:
{
.....
"Information": null
}
With the first example I do not have any problem, but with the second I'm getting troubles because the value does not exist. My question is, how to avoid the error if the information that I need is not present? Something similar to the lax mode in sql server.



