cancel
Showing results for 
Search instead for 
Did you mean: 

How to access Parameters passed in pipeline in the mapper snap

vkandalam
New Contributor II

Hi, I am passing instanceUrl as a parameter in pipeline paremeters. But I am not going to use this in first snap of my pipeline. How can i access this parameter value in my mapper snap? I only have access to the data thats being queried in my mapper snap.
image
image
image

2 REPLIES 2

Aleksandar_A
Contributor III

Hi @vkandalam,

The pipeline parameters can be accessed through the whole pipeline.
Just add a mapping in the Mapper Snap as in the picture below.
image

For more information about the Pipeline Parameters and how to access them please refer to:
https://docs-snaplogic.atlassian.net/wiki/spaces/SD/pages/1438254/Pipeline+Properties

Let me know if this helps you.

BR,
Aleksandar.

jcornelius
New Contributor III

@vkandalam
The key to accessing pipeline parameters is you use an _ rather than the normal $ for doc values