Anchal
5 years agoNew Contributor
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