6 EA Transaction Post Processing
- Coherence Post-Processing
- Database Post-Processing
The Coherence Post-Processing is a Helidon job which is scheduled to run every minute. This job fetches all the completed accounting entries and performs further processing as needed based on the different flags set in it. These flags are updated during balance processing as required. Once an accounting entry is processed by coherence post-process job, it will be marked as "Coherence Post-Processing is Completed", and then it is written to the database using coherence Write-back. Coherence invokes Write-back for all accounting entry inserts/updates but the Write-back implementation will allow the database write for an accounting entry only if Coherence Post-Processing is 'Completed' for that entry.
The Database Post-Processing spring-scheduled batch job picks up these accounting entries and updates Value-Dated, Book-Dated and Turnover balances; and marks the entry as "Database Post-Processing Completed". These entries do not require any further processing. For an accounting entry, the Coherence Post-Processing batch job executes all pending coherence post-processing sequentially as shown in the below diagram and if it completes successfully, it marks the entry as "Coherence Post-Processing Completed".
If one/more processing fails, it increments the Coherence post-processing count in the entry by one. In the next Coherence Post-Processing batch job, the same entry is picked up again and all pending processing will be attempted. If there is a failure, the coherence post-processing count gets incremented. This repeats until the accounting entry exceeds the configured number of coherence Post-Processing attempts. Once the entry exceeds the allowed post-processing attempts, it will be marked as "Retry-Exceeded" and this entry will not be considered in the future Coherence Post-Processing Job executions.
Figure 6-1 EA Transaction Post Processing

- Statement Handoff
As part of post processing, the leg level accounting entries are handed off to statement domain which are used in the account statement generation. - Handoff to Interest Domain
As part of daily batch, TBS indicates and hands-off those accounts having transactions for the day to the IC domain.