Hi,every body
I have a flow service. it contains of three services. When the second execute failed, the flow service will stop. the third never run, but I want the third run. how can I do?In webMethods, do there is mechanism like try…catch?
Toby
Hi,every body
I have a flow service. it contains of three services. When the second execute failed, the flow service will stop. the third never run, but I want the third run. how can I do?In webMethods, do there is mechanism like try…catch?
Toby
Hi Toby,
Please refer sample services which have exception handling approaches. In fact there are 2 approaches.
sample.errorHandling:approach1 & sample.errorHandling:approach2
these are available in WmSample packages.
HTH
BS
Sequence with “exit on done” might do the trick. But that ignores any errors thrown by the services… so use with caution.
Nath
Hello,
Yemi Bedu
You can try something like using an inner try/catch block as follows:
service1
sequence (exit on success)
sequence (exit on failure)
service2
sequence (exit on done)
service3