cancel
Showing results for 
Search instead for 
Did you mean: 

Error Pipeline: How to get Snap name causing error in Main Pipeline

Anchal
New Contributor

I am using Error Pipeline parameters in the main pipeline to get the pipeline name and snap name which causes error.
When I tried to use snap.label, it’s throwing below error.

"Failed to evaluate expression for pipeline parameter: snap – snap is undefined. Perhaps you meant: isNaN, jsonPath, JSON, String, parseInt

Reason: snap is undefined. Perhaps you meant: isNaN, jsonPath, JSON, String, parseInt

Resolution: Check the spelling of the variable"

How we can pass snap name to the Error Pipeline which causes an error in the main pipeline.

Thanks
Anchal

2 REPLIES 2

vineesha
Employee
Employee

Hi Anchal, i’m attaching the screenshot of the parent pipeline where error pipeline parameters are configured and also attaching the error pipeline which would get the snap name and pipeline name along with the start time and runIdScreen Shot 2021-01-19 at 9.27.36 AM z_handleDataWarnings_2021_01_19.slp (11.5 KB)

let me know if it solves your issue.

Anchal
New Contributor

Hi Vineesha,

Issue got resolved. Thanks for the quick response and resolution.

Thanks
Anchal