Give us contact

Do you prefer to ask us directly?

Call us +420 605 203 938 (the Czech Republic)

or use this contacts

AyMINE

Related links


FI - Finance Management

System events

System event internally automates system and build up platform for loosely coupled modules

Technical documentation and notes for system events (frmEvent object).

processing time-based events

Time-based events are not stored in the list of events but generated directly by the manager in the planTimerEvents method

processing stored events

Processing is managed by runTimer methods. Steps are:

  • planStoredEvents
    • loads events waiting for processing and change the status to inProcess – the processing will never be called twice
    • puts all events to the internal FIFO queue including frmEventID
  • processEventFromList process:
    • starts processing
    • changes status to completed or error

Error handling for event processors

Event processor should inform about the error. They can do:

  • Fails with an exception – that is cough by the processor
  • Return error status and message in response

In both cases status of the message in the stored. Queue processing register error and set the message processed with error so that it is never processed again. The error message is stored.