Thanks Rupinder, but this is not what I was aiming to solve.
Let me explain my problem more clearly !!
Lets assume there are 3 flow services : Parent1 invokes Child1, which in turn invokes Child2.
Here is the brief structure of how these flow services look likes :
Parent1
Flow Overview
1 SEQUENCE
1.1 MAIN: SEQUENCE
1.11 INVOKE WriteToNohup
1.12 INVOKE Child1
1.13 INVOKE WriteToNohup
1.2 SEQUENCE
1.21 INVOKE getLastError
1.22 INVOKE doErrorLogging
1.23 EXIT '$flow'
Child1
Flow Overview
1 SEQUENCE
1.1 MAIN: SEQUENCE
1.11 INVOKE WriteToNohup
1.12 INVOKE Child2
1.13 INVOKE WriteToNohup
1.2 SEQUENCE
1.21 INVOKE getLastError
1.22 INVOKE WriteToNohup
1.23 EXIT '$flow'
Child2
Flow Overview
1 SEQUENCE
1.1 MAIN: SEQUENCE
1.11 INVOKE WriteToNohup
1.12 INVOKE throwNullPointerException
1.2 SEQUENCE
1.21 INVOKE WriteToNohup
1.22 EXIT '$flow'
If I dont do a Exit “$flow” with Signal Failure, Child1 will never know if Child2 failed or not !!
And, if I use Exit “$flow” with Signal Failure, it will generate extra set of emails even though I do errorHandling in Parent1.
Hence, the search of a better solution error handling framework continues !!
Hope I am more clear this time in explaining.
Any suggestions or solutions are welcome !!
Regards,
Saurabh.
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB