Forum Discussion
If you have sample pipelines, seeing those would be helpful, if possible.
While the exact answer is going to depend on application, I’d generally say to use documents if you are going to be using Pipeline Execute (https://doc.snaplogic.com/wiki/display/SD/Pipeline+Execute), since with reuse turned on (e.g., you spin up the child pipeline once, instead of spinning it up and tearing it down per document) the pipeline parameters can only be set once.
You should be able to access pipeline parameters in the Mapper by using an underscore instead of a dollarsign - i.e. $foo
if it’s a variable, _foo
if it’s a parameter. If you need the parameters returned, you can add a Mapper at the end, check “Pass Through”, and then add in the parameters you want to return using this syntax.
Is that along the lines of what you’re looking for?
Shayne
thanks a lot Shayne, I will go with parameters and try using the underscore syntax to pass them out and along the workflow. will post again later with an update on how i got on 🙂