cancel
Showing results for 
Search instead for 
Did you mean: 

Array manipulation

marenas
Contributor

I can't figure out how to manipulate the input so that I can have the desired output. Attached is the scenario that I wanted to solve.

Here's what I tried:

- a Conditional snap (see attached) 
- in Mapper, $entity.Attributes.map(x=>x.extend({Value:$ram}))

But it updates all the elements in the array with property: Value (see attached). 

Thanks in advance.

2 REPLIES 2

koryknick
Employee
Employee

@marenas - can you provide a sample of your input data, and a corresponding example of your desired output?  Your screenshots are not very clear to understand your requirements.  CSV/JSON attachments work better than screenshots when supplying data so that someone can easily produce a working example pipeline for you.

Hi Kory,

Thank you for your time checking my post. I am adding here the JSON files. Appreciate your help on this.

Regards,

Marrah