Hi Neal,
Yes multiple records for that date and then it find the latest one with state initial which means newly created.
Hi Raja,
I can update the logik with this addition that wont harm for sure but i think that wont be very helpful because there is only one client. The failure case i am analyzing is in the productive system where the qid of the previously finshed session was passed again to the job and not of the new session.
Thanks