GTNPORTAL-2923 Check if the transaction status is being active before do...

...ing a commit