cancel
Showing results for 
Search instead for 
Did you mean: 

Lookup or Cache to store a value

amit_saroha
New Contributor III

Hi,

Is there any way in snap logic to store a value say ‘A’ in any lookup or any cache variable so that I can resue it in different parent and child pipelines?

9 REPLIES 9

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_saroha
New Contributor III

How to assign the value to the pipeline parameter at run time?

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 $
image

jcornelius
New Contributor III

@amit.saroha
use the Pipeline Parameters fields
image

jcornelius
New Contributor III

@amit.saroha
and in the Edit pipeline
image