Sequence Diagrams: On Hold when Agents not Available - mlarizzate/callcenter GitHub Wiki
Script
title CallCenter Customer -> Dispatcher: Call note right of Dispatcher: Add to CallsQueue Dispatcher -> CustomerDispatchStrategy:Find Available Agent note right of IVR: Always Running Thread CustomerDispatchStrategy -> CustomerDispatchStrategy: note right of CustomerDispatchStrategy: Resolve which Agent is Free note right of CustomerDispatchStrategy: Agent not Available CustomerDispatchStrategy -> CustomerDispatchStrategy: note right of CustomerDispatchStrategy: Resolve which IVR is FREE CustomerDispatchStrategy -> Dispatcher: Returns IVR note right of Dispatcher: Call polled from CallsQueue Dispatcher -> IVR: Delegate Customer to IVR note right of IVR: IVRStatus = Busy note right of IVR: Attends Customer Call note right of IVR: AgentStatus = Available IVR->Dispatcher: Add First on CallQueue
Diagram Performed in https://www.websequencediagrams.com/