How to access Parameters passed in pipeline in the mapper snap

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.



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.

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.

3 Likes

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