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 contain a business identifier, e.g. Invoice ID, or Employee ID etc. and from here, it may be possible to provide some sort of Audit capability.
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.