04-28-2022 09:43 AM
Hello everyone,
We are currently trying to improve our pipelines by adding error paths and are having problems with the JMS Consumer snap.
Unlike other snaps, like the SQL Server snaps, where a connection failure is routed to the error path, a connection error on our JMS snap does not trigger the error path and fails (see attached image).
Is there a way for us to catch those errors without ending with a failure ?
Please note we do not use ultra pipeline/ultra tasks, but a regular schedule task to run this pipeline.
Edit for clarity :
Error is not triggering error path
Here same type of error (connexion error) is triggering error path (don’t mine the failure on the next box it was expected here)
Solved! Go to Solution.
05-10-2022 11:55 PM
@Lydia If you want to explicitly stop your pipeline after send some action (logging/notifying) you can use EXIT snap and config till how many no of document it accept like 1 in below pic. You can also customized you error message on exit error message filed. If you config that pipeline as task and select notification in case of failure, people will get snaplogic platform generated mail with your custom error message.
04-29-2022 06:34 AM
Great, can you double check whether child pipeline has been properly called in the pipeline execute?
Moreover, are you wanting to pass any parent pipeline parameters in the child pipeline which hasn’t been declared in the parent pipeline?
04-29-2022 06:42 AM
Hum… sorry but i feel we are not focussing on the issue i’m having. I’ve updated my first answer to make it more clear (also english is not my first language sorry if i’m confusing).
My issue is not with Execute Pipeline failing or such, it’s that the JMS Consumer Snap don’t go to that error path. The Audit after works just fine if i use the good SQL password, i was juste trying to show quickly a similar issue having a different consequence but i have no issue with either the SQL or Execute Pipeline.
So are there some errors type that won’t trigger an error path ? Is this maybe on some snaps only ?
04-29-2022 06:49 AM
Please don’t apologize, you’re not confusing and it doesn’t matter if English is not your first language. This space “Community” has been build to help each and every individual irrespective of their locations, work titles, language, programming languages they use, etc.
I was trying to understand whether all the snaps have been configured correctly along with the account so that we can drill down to a single point of failure. Well, I’ve already tagged the SME’s on this thread so they might be able to help you as they have more exposure and visibility to such issues.
04-29-2022 06:33 AM
Preview not necessarily suggests that there is no error in the pipeline. Preview is for the random 50 records (this depends on your settings too as seen in the snaps below:
Let’s assume, your settings is set to 50 documents in preview, if those 50 ran successfully, the preview will pop up Green
but there is remaining data (i.e. raw data count) which will come into effect after clicking “Execute Pipeline”
04-29-2022 06:57 AM
I have to defer to @robin on this.