Forum Discussion
If you drag a new Script snap on to the canvas, select JavaScript as the Scripting Language, the press the Edit Script button, it starts you off with a sample script.
The documentation for the script Snap also has a number of examples.
Unfortunately, it’s not really possible at this time, but it’s something we should try to support. You can sort-of workaround it by passing an object in through a single parameter with JSON.stringify() and then unpacking it in the child pipeline with JSON.parse(). But, the child pipelines would have to be designed to accept parameters that way.
- nganapathiraju8 years agoFormer Employee
Did you try this?
Prepare an object with a reference to these key-value pair of parameters in the master.
In the child, once you receive the object,(not through parameters but the document), decode and decide which pipeline to use along with these parameters assigned from this object.
Hope that makes sense.
Related Content
- 3 years ago
- 4 years ago