jhagist
8 years agoNew Contributor III
Problem with Pipeline Parameter in Mapper Snap
I am using a mapper snap to extract data from a json schema. This is the code from the expression
{id:$id}.extend($.fieldValues.map (elem => [elem.id, elem.type, elem.value]))
What I want to do is place this in a pipeline parameter (so can change this equation from the config file).
I can’t figure out the expression syntax. Here is a screenshot of my latest failure. 🙁