Hot To get service name

when a service bombs out due to the Exit Flow ‘signal failure’ - how do we get the service name?

tia
T

Assuming that you are using sequences and you are catching errors, use pub.flow:getLastError

In the errors record, there are several variables. One is the actual webmethods service that threw the error. In the catch sequence, I create and set a variable that contains my flow name, since it will not necessarily show up. Also, remember that if you call a child flow that does not contain the sequence setup for try/catch, it will throw to the calling parent error trap.

Hope this helps.

Ray

Hi,

Refer to error handling sample given in wMSamples.
It gives generic routine in which it gets the error dump and the service name in it.
I guess ray has expained the same.

Regards,
Prabhu

it’s great- thanks to you both for your guidance