chronolgical problems in workflows
i have a ESS-workflow. employees can enter their absence in ESS. the absences will then be approved/disapproved by the boss of the employee.
so far so good, BUT:
AFTER the approving of the absence i have an background-step in my workflows, which calls an method of an Z-class. in this method i send absence data via interface into an file on the server. in the evening the file will be send to another system.
in some cases i have the wrong chronologic sequence in this file, for example abcenses are approved in the following sequence:
Employee 4711, caneling of abcense A
Employee 4711, canceling of absence B
Employee 4711, entering new absence C
Employee 4711, entering new absence D
The boss of employee 4711 approves ALL 4 absences in the RIGHT sequence (A, B, C, D).
A at 11.40, B at 11.41, C at 11.42.00 and D at 11.42.30 o 'clock.
But the workflow step with the calling of the Z-class method starts with C at 11.47.00, D at 11.47.12, A at 11.47.22,
B at 11.47.23. so in my interface file i have the wrong sequence, which leads to problems in the system the data
is sent to.
so WHY there is an 'break' of up to 5 Minutes in the workflow after approving the absence. any ideas for that ?
how can i be sure that each single workflow is working in right sequence ?
best regards, Martin