Qus:    How you can implement finally block in flow services ?
Feb 08, 2021 17:20 webMethods 1 Answers Views: 1280 SWEETY
Prev Next
Answers (1)
DIVYA Feb 09, 2021 16:20
Answer:   1)Build your flow service like this:
Sequence{Main Block}[EXIT ON: SUCCESS]
Sequence{Try Block}[EXIT ON: FAILURE]
Sequence{catch Block}[EXIT ON: DONE]
Sequence{finally Block}[EXIT ON: FAILURE]
2)Sequence{Main Block}[EXIT ON: SUCCESS]
Sequence{Try Block}[EXIT ON: FAILURE]
Sequence{Catch Block}[EXIT ON: DONE]
Sequence{Finally Block}[EXIT ON: DONE]// executes all the statements obviously (catch block in flow service is similar to finally block in java).

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect