nandanks
07-27-2006, 04:55
HI
The service I have built has some nested Sequences, It looks like this
Sequence(Main){exit on success}
---Sequence(TRY){exit on failure}
-----invoke service 1 (service1 o/p in the pipeline)
-----Branch based onthe service1 o/p
-------SequenceA{exit on failure}
------------invoke service 2 (service 1 o/p and service 2 o/p in pipe)
-------SequenceB{exit on failure}
------------invoke service 3 (service 1 o/p and service 3 o/p in pipe)
------invoke service 4
---Sequence (Catch) {Exit on Done}
-----get.lasterror
-----smtp.service(send error mail)
The problem that I'm facing now is, suppose if the service 2 errors out, it goes to the Catch block with only the i/p and o/p variables that are specific to the Sequence A. The remaining pipeline values say service 1 o/p gets vanished.
Is there any way that I can maintain the pipeline values inthe Catch block also? Using the Scope option didnt help me much.
Thanks
Nandan
The service I have built has some nested Sequences, It looks like this
Sequence(Main){exit on success}
---Sequence(TRY){exit on failure}
-----invoke service 1 (service1 o/p in the pipeline)
-----Branch based onthe service1 o/p
-------SequenceA{exit on failure}
------------invoke service 2 (service 1 o/p and service 2 o/p in pipe)
-------SequenceB{exit on failure}
------------invoke service 3 (service 1 o/p and service 3 o/p in pipe)
------invoke service 4
---Sequence (Catch) {Exit on Done}
-----get.lasterror
-----smtp.service(send error mail)
The problem that I'm facing now is, suppose if the service 2 errors out, it goes to the Catch block with only the i/p and o/p variables that are specific to the Sequence A. The remaining pipeline values say service 1 o/p gets vanished.
Is there any way that I can maintain the pipeline values inthe Catch block also? Using the Scope option didnt help me much.
Thanks
Nandan