Running Global Projects
Transaction Audit Trail
: Processing of Results and Messages
Processing of Results and Messages
When operations execute they may generate successes and failures. These are buffered and written to the transaction database as TRSUCC and TRFAIL elements when the operations becomes “Complete”. Specific messages may also be generated. Messages are automatically generated for each success and failure, each time an operation or output command stalls.
Input Commands can have messages. These are automatically generated if the create operations stage stall and if a cancel is attempted. There may also be failures and successes but these are rarely generated.
Messages are not stored in the database except under the TRINCO that was originally received from a user (not another locations TROUCO) and under the TROPERs and TROUCOs that the TRINCO owns. This is because messages are collected together regularly by each TRINCO as its operations progress and these are passed back to the TRINCO’s originating TROUCO. If the sender was the user then the messages are stored in the database for review under the relevant element: In particular when these messages are passed between sites the TROUCO receives a set of messages each of which may have been generated by different operations, and yet they will now all belong to the single TROUCO. The messages contain sufficient attribute information to indicate the location that the message originated from, the operation type etc.
When the messages are finally stored below the originating command successes and failures are persisted as TRSUCC and TRFAIL elements under a TRMLST element. This will distinguish them from the result successes and fails that are persisted when the operation or output command finally completes.
The diagram on page describes the elements created for a simple command claim, between 2 locations. It provides an idea of the elements created in both transaction DBs.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.