Hi. Having a problem with Error (Exception) handling within my flow service (v 6.0.1.)
My goal is to get the flow service pipeline into the audit database so the input document can be resubmitted to the flow service. The problem is that when I go to the Integration Server Monitor web page (WmMonitor) and search for service errors, I don’t see my flow service.
I have the following Audit settings in my flow service:
Enable Service Auditing = Always
When to Log = Error only
When to include input pipeline: On errors only
Here is the structure of my flow service:
I have a Flow service (v 6.0.1) using the standard try/catch sequences:
Sequence1 (Exit on Success)
Sequence2 (Exit on Failure)
Sequence3 (Exit on Done)
Within Sequence 2 (My Try step) I have a REPEAT (with the label “Repeat”) and within the Repeat I have a SQL Insert to a db tbl (using jdbc adapter service).
If the number of retries exceeds the max repeat value then I do an: EXIT “Repeat” and signal FAILURE. This takes me into Sequence 3 (the Catch step)
The first thing I do in Sequence 3 is getLastError. So far so “good”.
My last line in this sequence was: Exit ‘Catch’ and Signal FAILURE.
After reading this thread I tried Rob’s idea about using a Java service that takes an error message as input and then throws a new Service Exception. I invoked this service as the last line in my Sequence 3 (I disabled the step: Exit ‘Catch’ and Signal FAILURE
Long story short: I still don’t see my service in WmMonitor
I think I’m close. What am I doing wrong ?
Thanks in advance for info.
Regards,
Wayne
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB