-
Hi! This is my first question here so please bear with me! I am trying to determine the value of my attribute based on if a specific value is present in one of the array values. Example: I am looking if the "test1234" attribute has the specific value xyz. If one of them has this value, the outcome should show a true. If not, it will be a false Expected outcome: { Example 2 with xyz not being present: { Very much appreciate your help! Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Here's a solution. Input {
"attribute1": "This is a test",
"array": [
{ "test1234": "abc" },
{ "test1234": "cde" },
{ "test1234": "xyz" }
]
} With this transformation:
The result is: {
"attribute1" : "This is a test",
"attribute2" : true
} |
Beta Was this translation helpful? Give feedback.
Here's a solution.
Input
With this transformation:
The result is: