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
When Should You Use Flow Diagram View?
What are the advantages of eai?
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)
how to configure sap adapter 4.1
Explain what are the new features in 8.0 compared to 7.1?
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?
How to convert document list to document? If document list contain documents and documents contain strings field. How to convert?
When we use repeate, exit flow steps?
How many interfaces you implemented sofar?
How many kinds of log files in webmethods?
Explain about pub-sub architecture, where do you implemented this?
can we build loop step with in the branch
in such a way that the interface is look like that
branch
When we use repeate flow steps?
Explain what is indices in map flow step?
How we can catch exception error on run time mode using flow language in webmethods?