In my Enterprise Integrator, Integration Component, I am putting the entire flowchart in a Try path, because I want to handle all the exceptions in a generic way – printing the error message and input record to a logfile.
However, when I put my flowchart in the Try path, error message normally shows in the Trace log do not show anymore. I believe I need to print the error message myself in a Custom Step. But I don’t know how I can access the error message. Is it accessible in form of a environment variable or something?
Here is the code I want to put in my Custom step, where error_message is the EI built-in variable that contains the error_message (I assume).
Systme.out.println(“Error =” + error_message);
Can someone please tell me what I should put in the place or error_message?
#webMethods#Integration-Server-and-ESB#webMethods-General