How you can implement finally block in flow services ?

Answer Posted / ajitabh kumar sharma

Build your flow service like this:

Sequence{main}[EXIT ON: DONE]
Sequence{Try/Catch}[EXIT ON: SUCCESS]
Sequence{try}[EXIT ON: FAILURE]
Sequence{catch}[EXIT ON: FAILURE]
Sequence{finally}[EXIT ON: FAILURE]

I am sorry but the previous answer was incorrect. I have
tested this answer and this works as expected. Basically the
sequences are used to control the flow control behavior of
their inherent sequences.

Is This Answer Correct ?    4 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain about pub-sub architecture, where do you implemented this?

773


How many minutes have you spent in your lifetime reading documentation or actually (gasp) working with any webMethods product on a real project?

2213


how to configure sap adapter 4.1

5537


What are the advantages of eai?

849


post me important interview question on webmethods

2496


When we use repeate, exit flow steps?

791


Explain what is indices in map flow step?

792


in filepooling process the document is not updated in target location means its in error directory how to achieve this problem?

2472


How many interfaces you implemented sofar?

907


Explain what are the new features in 8.0 compared to 7.1?

759


How we can catch exception error on run time mode using flow language in webmethods?

896


Explain about pub-sub architecture?

811


When we use repeate flow steps?

796


Explain header handlers in web services

2335


How to convert document list to document? If document list contain documents and documents contain strings field. How to convert?

804