How you can implement finally block in flow services ?

Answer Posted / a.v raviteja

Hi,

It depends on how you want it. There is no definite answer.

Case 1: If you want your flow to go Finally only when Catch fails:
Sequence{main}[EXIT ON: SUCCESS]
Sequence{try}[EXIT ON: FAILURE]
Sequence{catch}[EXIT ON: FAILURE]
Sequence{finally}[EXIT ON: DONE]

Case 2: If you want Finally to execute in all cases:
Sequence{main}[EXIT ON: SUCCESS]
Sequence{try}[EXIT ON: FAILURE]
Sequence{catch}[EXIT ON: DONE]
Sequence{finally}[EXIT ON: DONE]

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When we use repeate, exit flow steps?

592


can anyone explain in brief about TN Consloe and Webmethods...? As well as All flow steps in webmethods: Branch Repeat Loop Sequence (explain also Try -Catch block for error Handling)

1415


When we use repeate flow steps?

604


how to configure sap adapter 4.1

5267


Explain what is indices in map flow step?

610






can we build loop step with in the branch in such a way that the interface is look like that branch sequence: Deposit loop xxxxxx sequence: current loop xxxxxxx sequence: savings loop can we achieve the above senario.

1981


Explain header handlers in web services

2112


how to configure sap adapter6.1

1959


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

628


If I have a parent sequence with the property set- exit on success, and the try sequence block set to exit on failure, and the catch sequence block too set to failure, what is the result?

643


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

2249


What are the advantages of eai?

656


How many kinds of log files in webmethods?

593


Where do you implemented pub-sub architecture?

625


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

659