Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How you can implement finally block in flow services ?

Answers were Sorted based on User's Feedback



How you can implement finally block in flow services ?..

Answer / vijay

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)

Is This Answer Correct ?    22 Yes 2 No

How you can implement finally block in flow services ?..

Answer / haranadha reddy

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]

Thanks

Is This Answer Correct ?    29 Yes 10 No

How you can implement finally block in flow services ?..

Answer / viay

Easy way to remember SFD(EXIT ON: SUCCESS,EXIT ON: FAILURE
EXIT ON: DONE)
Sequence{Main Block}[EXIT ON: SUCCESS]
Sequence{Try Block}[EXIT ON: FAILURE]
Sequence{Catch Block}[EXIT ON: DONE]
Sequence{Finally Block}[EXIT ON: FAILURE]

Is This Answer Correct ?    9 Yes 4 No

How you can implement finally block in flow services ?..

Answer / 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

How you can implement finally block in flow services ?..

Answer / nanaji

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]

Is This Answer Correct ?    6 Yes 5 No

How you can implement finally block in flow services ?..

Answer / sri

Sequence{Main Block}[EXIT ON: DONE]
Sequence{Try Block}[EXIT ON: SUCCESS]
Sequence{Catch Block}[EXIT ON:FAILURE ]
Sequence{Finally Block}[EXIT ON: DONE]

We need finally block to be executed in both failure and
success Scenario's
so,Main block and finally block should be DONE
We dont want Catch block to be executed in Success Scenario
So It should be False.

Is This Answer Correct ?    1 Yes 5 No

How you can implement finally block in flow services ?..

Answer / 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

How you can implement finally block in flow services ?..

Answer / ajitabh kumar sharma

Build your flow service like this:

Sequence{main}[EXIT ON: DONE]
Sequence{try}[EXIT ON: FAILURE]
Sequence{catch}[EXIT ON: FAILURE]
Sequence{finally}[EXIT ON: FAILURE]

Is This Answer Correct ?    4 Yes 35 No

Post New Answer

More WebMethods Interview Questions

Difference between custom sql ,dynamic sql ? when we use custom sql,when we use dynamic sql?

4 Answers   Quinnox,


gate ways in webmethods

4 Answers   IBM,


explain about endpoint url,endpoint alias?

1 Answers   TCS,


What Is a Flow Service?

1 Answers  


Can U Explain JDBC Adapter Transaction types..?

8 Answers   Cap Gemini, LG CNS, STC, Tech Mahindra,


post me important interview question on webmethods

0 Answers  


How to Find Elements in the Navigation Panel?

2 Answers  


Explain about pub-sub architecture?

0 Answers  


when we are using loop and when we use repaet?

1 Answers   Fiserv,


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

0 Answers  


When to Lock an Element?

1 Answers  


How to Create an IS Schema?

1 Answers   ACC,


Categories