10-17-2019 07:02 AM
Hi Team,
I have design a pipeline, and the pipeline has the same functionality as my other 3 pipelines.
only difference is the source and target path from where my pipeline needs to read and write data is different.
can the source and target path value be given dynamically so that single pipeline can achieve the functionality of 3 pipeline instead of creating 3 pipeline with different source and target value.
10-17-2019 11:40 PM
Hi,
you could set up the source and destination paths as pipeline parameters and use a trigger task to run the pipeline, dynamic values can be passed to pipeline parameters as query parameters in the triggered task url
10-18-2019 03:52 AM
can u share a reference mapping
10-18-2019 04:15 AM
you could set up the source and destination as pipeline parameters and use them in a snap like the below screenshot:
create a triggered task for the pipeline:
use the triggered task url like this with your dynamic values:
https://elastic.snaplogic.com/api/1/rest/slsched/feed/<Org Name>/<Project Space Name>/<Project Name>/<Task Name>?source=<Source Value>&destination=<Destination Value>
10-22-2019 08:47 AM
If you want something a bit less dynamic you could store the variables in a library that could be called from the pipeline. Often time just store it in an array and burst it into child pipelines for processing.