Qus:    How you can implement finally block in flow services ?
Feb 08, 2021 11:20 1 Answers Views: 113 SWEETY
Prev Next
Answers (1)
DIVYA Feb 09, 2021 10: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 course is right for you?

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


Let`s Connect