cancel
Showing results for 
Search instead for 
Did you mean: 

Script Snap (Javascript) - get pipeline parameters

Fabien
New Contributor II

Hi !

Is it possible to get the pipeline parameters from inside a javascript ‘Script Snap’ ?

Thank you

6 REPLIES 6

koryknick
Employee
Employee

Hi @Fabien - take a look in the Script Snap documentation in the Downloads section - there is an example pipeline using pipeline paramters.

Fabien
New Contributor II

Thank you @koryknick but this sample shows how to pass a script file as a pipeline parameter,

Me I want to use a pipeline parameter inside a script. (Be able to reference a pipeline parametre from inside my javascript script)

dmiller
Former Employee

To use a pipeline parameter within a Script Snap, see https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438163/Parameters+and+Fields#Parametersan...


Diane Miller

koryknick
Employee
Employee

Thanks for the follow-up @dmiller - I knew I should have looked at that before I replied to @Fabien!