07-12-2018 07:56 AM
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. 🙁
07-12-2018 10:06 AM
See this thread: Pipeline parameters
07-12-2018 12:22 PM
Thanks for this. I am currently using the pipeline parameter to pass this information.
My question is really how to write the syntax.
I have put the function (that I need to variablize) into the Pipeline parameter _field1 but I can’t get it to run
07-13-2018 10:44 AM
you shouldn’t need parenthesis around the name. “_field1” should work.
07-13-2018 12:07 PM
When I try it without the parenthesis around the name. “_field1” All I get is the parameter as a string.
Snap,
Any ideas??