cancel
Showing results for 
Search instead for 
Did you mean: 

Setting a pipeline parameter value from a snap in a pipeline

harishankarkaim
New Contributor

How to save a value to the pipeline parameter from a snap in a same pipeline, so that the value can be accessed any where in the pipeline?

1 REPLY 1

RogerSramkoski
Employee
Employee

Pipeline parameters are fixed during pipeline execution. I’ve shared some high-level alternatives that might help you solve the problem below and we might be able to provide more specific help if you could share more about the pipeline design.

Possible alternatives:

  • Split the pipeline into smaller pipelines so new pipeline parameter values can be passed to child pipelines through Pipeline Execute snap as needed
  • Read the pipeline parameter value into the document stream using a Mapper snap when it needs to change; this means the value now needs to stream through the rest of the pipeline to where it is needed
  • If the value only changes between a set of known values, consider using an expression library instead