You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably a newbie question and I searched but couldn't find a relevant resolved issue. I have the need to write an expression that references data values outside of the array within a map expression:
Here I want to find the tests where the test rate value exceeds the target value. Is there any way to reference data values within a map expression that are outside of the data being mapped? Or is there some other approach I could use to accomplish this?
The text was updated successfully, but these errors were encountered:
This is probably a newbie question and I searched but couldn't find a relevant resolved issue. I have the need to write an expression that references data values outside of the array within a map expression:
Logic:
{
"map": [{ "var": "ROOT.TESTS" },
{ ">=": [{ "var": "RATE" }, { "var": "ROOT.TARGET" }] }
]
}
Data:
{ "ROOT":
{
"TARGET": 23,
"TESTS": [
{ "ID": 1, "RATE": 22 },
{ "ID": 2, "RATE": 23 }
]
}
}
Here I want to find the tests where the test rate value exceeds the target value. Is there any way to reference data values within a map expression that are outside of the data being mapped? Or is there some other approach I could use to accomplish this?
The text was updated successfully, but these errors were encountered: