cancel
Showing results for 
Search instead for 
Did you mean: 

Trapping pipeline name of pipeline under executiion and storing it in a flatfile or database

SuhasPothedar
New Contributor II

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?

1 ACCEPTED SOLUTION

del
Contributor III

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...

View solution in original post

3 REPLIES 3

del
Contributor III

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...

scotth
New Contributor II

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?

PeterRNLI
New Contributor II

OK for Error handling though you would need to do it twice to bury your error handling in a Pattern.