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

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

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 runId

z_handleDataWarnings_2021_01_19.slp (11.5 KB)

let me know if it solves your issue.

1 Like

Hi Vineesha,

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

Thanks
Anchal