12-16-2021 12:32 AM
Hello, Is there a way to force a pipeline to finish in warning or error state in the dashboard? We handle all errors using an error pipeline. This makes it difficult to spot pipelines that have gone wrong in the dashboard. It would be great if there was a way of highlighting pipelines in the dashboard
Solved! Go to Solution.
12-16-2021 01:27 AM
I don’t beleive that there is a way where you can manipulate with the pipeline statuses in Dashboard. When you have an error pipeline(as an error handler), the main pipeline always will have status as Completed. Actually, that is the purpose of the error handler, to helps in maintaining the normal execution flow and detecting the errors.
As @marjan.karafiloski said, you can implement a custom logic where you can send an email(as a warning or alert, along with the records that failed) to specified group of people, categorize the errors based on some criteria etc.
Regards,
Spiro Taleski
12-16-2021 12:46 AM
12-16-2021 12:48 AM
Hi. Yes i have used this in some cases to force a quit. This is good for the error status. Is there a way to throw a warn status, if we don’t want the whole pipeline to fail but some documents may have failed that need dealing with
12-16-2021 01:02 AM
Hi,
In that case, you can implement your own logic. For example, if error happens, change the error view in the snap to Route error data to error view, and then you can write the problematic documents to database, store in a file etc. and analyze them.
Pipeline has the following statuses: stopped, failed and completed. Not sure if you can set custom state.
Regards,
Marjan
12-16-2021 01:27 AM
I don’t beleive that there is a way where you can manipulate with the pipeline statuses in Dashboard. When you have an error pipeline(as an error handler), the main pipeline always will have status as Completed. Actually, that is the purpose of the error handler, to helps in maintaining the normal execution flow and detecting the errors.
As @marjan.karafiloski said, you can implement a custom logic where you can send an email(as a warning or alert, along with the records that failed) to specified group of people, categorize the errors based on some criteria etc.
Regards,
Spiro Taleski