Forum Discussion

ext_benp's avatar
ext_benp
New Contributor
12 months ago
Solved

Writing to Pipeline Parameters within Pipeline

Is it possible to set Pipeline Parameters within a Pipeline - e.g. from a Mapper. To be clear I don't want to read a Pipeline Parameter I want to set it. I would like to set a Pipeline Parameter to ...
  • SpiroTaleski's avatar
    12 months ago

    ext_benp 

    I don't have a child pipeline (and I don't want one). I think the Pipeline Execute Snap only works if I was calling a child pipeline, Correct? - > Yes. You can set the pipeline to invoke itself with the Pipeline Execute Snap(and set the needed parameters), but its not an ideal solution 😄 

    And yes, I don't think that you can set the pipeline parameters without passing it from the parent process or external REST call. 

    Looking at your case, I guess your pipeline is exposed as a REST endpoint, so either:

    •  you can pass the InvoiceID, EmployeeID as a query parameters while calling the pipeline
    •  or store the parameters in a file(SLDB or any other external file locations), database table, SnapLogic Tables etc.