How to capture the error details from JTA Command/Commit/Rollback/End
I have used JTA to insert data in multiple tables of a Data source. At the end of BLS I have used Commit, Rollback and End based on the condition. But I need to capture the error details of data insertion failure. The output of Command action block are JTATransactionStartSource
and Output of Commit, Rollback and End action block are
Can anybody tell me how can I capture the error details.
Thanks in Advance
Salvatore Castro replied
Thanks for pointing that out, I have since updated the custom JRA actions, back in February, to support "LastErrorMessage" as an Outgoing link from the JTACommand action block but must have forgotten to post the update to the SDN. The link on the Wiki will be updated shortly to reflect the updated content and in the mean time I will email you the updated action JAR.