on 09-25-2014 7:37 AM
Hello,
In MII one of my transaction, i have written a block which catch the exception and have few blocks to be executed. My understanding is, if exception occurs, it should skip all subsequent blocks and end the transaction. But i my case, it is throwing exception and proceeding with execution of other blocks. How can i set the transaction to stop executing other blocks after exception occurs?
-Adarsha.K.S
Hi Adarsha,
After Catch Action block you will find two types of sequences one getting generated with Red Line and other one with Black Line.
The Red Line sequences will be executed in the case some exception is catched by the Catch Action block.
The Black Line Sequences after the Catch Action Block would be executed always.
In your case put the Catch Action block in the end so that exception is caught but no action blocks are executed after the exception.
Regards,
Rohit Negi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your response Rohit Negi!!!. i have fixed my code and it works.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.