Igor_Bozhinovsk
3 years agoNew Contributor III
Check if field inside array has value and route the output
[
{
“items”: [
{
“test”: " ",
“id”: 1
},
{
“test”: “test”,
“id”: 2
}
]
}
]
Currently we have an array like this , we need to route the output from the Router based on the test field , if there is a value the output should go to the upper branch if there is not value for the test field the output should go to the lower branch.
Is there any array method or something else that can be used to achive this ?