Finally Method

All,

How to implement the Finally() method in webMethods?

Thx
KarthiK.

I presume you mean Integration Server, and specifically Flow?

In Flow you have:-


MAP worked = false
SEQUENCE (exit on SUCCESS)
  --- SEQUENCE (exit on FAILURE)
     --- busines logic here
          MAP worked = true
  --- SEQUENCE (exit on DONE)
     --- error handling here
finally code here

So if the first SEQUENCE (exit on SUCCESS) will always succeed. So anything after this point is effectively Finally() code, i.e. code that will execute regardless of whether your business logic fails or succeeds.

Hope this helps.