Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
Hi Gurus,
I am new to webMethods ,I heard about we can use branch , exit etc to creat a try/catch block , but I don’t know the details , can anyone kindly give an example ?
Thanks,
Jason
Please refer to <webMethods_installation>/Developer/doc/DeveloperUsersGuide.pdf.
WmSamples package may also be useful.
Regards, Djibril.
You can use the sequence below for try/catch block:
SEQUENCE (Exit on Success) —SEQUENCE (Exit on Failure) ------Processing code here —SEQUENCE (Exit on Done) ------Code to handle errors here (ie. getLastError)
Thanks guys
See this thread for some good discussion in this area.