Forum Discussion
Use PipeLine variable, it can be seen by all child snaps and passed on to any additional pipelines
- amit_saroha4 years agoNew Contributor III
But, with the pipeline variable I will keep adding original.original.original.original.original.original. How many times do I have to do it you imagine if the pipeline is big.
- nsingam4 years agoEmployee
Hi Amit,
Looks like you are trying to read the data from the upstream document.When you use the pipeline parameters you need not use the original field. Instead, you can access the variable using underscore. (ex: _yourVariableName). From the parent, when you are calling the child pipeline also you need to pass the value, so that in the child you will be able you use the same value.
- amit_saroha4 years agoNew Contributor III
How to assign the value to the pipeline parameter at run time?
- jcornelius4 years agoNew Contributor III
this only applies to doc stream items (not pipeline parms) and to solve this simply add a mapper the maps $original to $ which would hoist $orginal back up to $