Connector - Handling error / exception

1
0
-1

Hi.

I have a connector to a MySQL database. If a sql request fails, I want to know why it fails. I already choose "Throw error event" for my connector. I name my error DataBaseError. And I add a Catch Error item on the task. After that I add a human task. Can I catch the content of the error to display it ?

Thanks in advance.

1 answer

1
+2
-1
This one is the BEST answer!

Hello, There are no way to do that. On error, the error message are in the log, and no way to get it back on the process.

What we do in that case is : * develop your own connector * have an OUTPUT variable where you set the error in case of error * then you can map the error explanation on a variable.

Notifications