12-31-2017 11:19 PM
how can I track the pipeline name using pipeline parameters?
Is there any way to pull the pipeline name which is under execution and send it in the pipeline?
Solved! Go to Solution.
01-01-2018 08:45 AM
You can use the Pipeline Functions and Properties to get details of the pipeline. pipe.label will return the pipeline name.
If a nested pipeline needs access to its parent pipeline info, you can use the pipe.parentRuuid in combo with the API. Something like this: ‘https://elastic.snaplogic.com/api/1/rest/public/runtime/{yourOrgName}/‘+pipe.parentRuuid+’?level=sum...’
01-01-2018 08:45 AM
You can use the Pipeline Functions and Properties to get details of the pipeline. pipe.label will return the pipeline name.
If a nested pipeline needs access to its parent pipeline info, you can use the pipe.parentRuuid in combo with the API. Something like this: ‘https://elastic.snaplogic.com/api/1/rest/public/runtime/{yourOrgName}/‘+pipe.parentRuuid+’?level=sum...’
01-13-2022 11:27 PM
Great solution using the API.
Similar to the OP, I would like to record the Parent Name in the actual error filename written by the child pipeline. It would make searching the error directory a lot easier.
Just like the pipe.parentRuuid function looks at the parent, would SnapLogic consider adding pipe.parentLabel?
02-08-2023 02:19 AM
OK for Error handling though you would need to do it twice to bury your error handling in a Pattern.