cancel
Showing results for 
Search instead for 
Did you mean: 

Terminate Transaction action block

Former Member
0 Kudos

When I use a Terminate Transaction action block in a transaction that is called by another transaction, does it also termiante the transaction that called the transaction that was terminated?

Or in other words, is just the child transaction terminated or is the master also termianted?

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the Configuration links set TerminateWithError to 0.

May be this will resolve your problem.

Thanks

Anshul

Former Member
0 Kudos

That doesn't answer my original question - does it or does it not terminate the calling transaction?

Former Member
0 Kudos

The main transaction will also get terminated if the you have terminate action in child transaction.

if you set the terminate error to false, then the sub-transaction will get terminated but the main transaction will not get terminated

Former Member
0 Kudos

It does not terminate the calling transaction.

If you want to terminate it. check the transaction success in condition and put a terminate in parent transaction as well.

agentry_src
Active Contributor
0 Kudos

Hi Sue,

A mix of information here. The Terminate Transaction block can be set to terminate with or without a change to the Success Flag. So, the called transaction can be terminate with a success flag set to true or false. Default is to set the Success flag to false. It does not terminate the calling transaction automatically. As said above, you can build the logic and add a Terminate action block to the calling transaction based upon the Success flag from the Call Transaction Success flag.

There are times when you would not want to set the success flag to false. Depends on your scenario.

Regards,

Mike