Queue Monitor Thread
The Queue Monitor (referred to as Scheduler) thread runs at the end and is responsible for creating the Case Schedule, populating the with cases, and prepares the Queues for Case Dispatcher Module.
aatest
The
Queue Monitor
(referred to as Scheduler
) thread runs at the Queue Server end and is responsible for creating the Case Schedule, populating the Case Queues with cases, and prepares the Queues for Case Dispatcher Module.This thread works as follows:
- It wakes up at a predefined interval and fetches the list of all the latest cases from the database where:
- At least one transaction shows the Fraud Status asUndetermined.
And- The case has not expired.
- Caches the Queues with cases.
- Based on the case state and other criteria (such asTransaction Date,Transaction Amount, orNext Action Date), the thread assigns the cases into the Case Queues.
- For more information about case states, see 'Case States'.
- When a case is assigned to the Queue, an in-memory list is created for the Queue.
- On completion of the case assignment to a Queue, the state of all the assigned cases is changed to OPEN.
- When the Customer Service Representatives (CSRs) click theSave and Go to Next Caseor theGo to Next Casebutton:
- A request to fetch the next case in the Queue is sent to the through Queue Server.
- In response, the Case Dispatcher Module picks the case from the memory queue and returns its Case ID to the Administration Console instance from where the request originated.
- The state of the case is then changed to IN PROGRESS, and the CSRs can work on the case.
- On receiving the Case ID, the Administration Console instance fetches all the transactions for the case from the database and displays the same to the CSR.Based on the case review process, the case state can change. See 'Case States' for more information.