Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current Restore this Version View Page History

« Previous Version 4 Next »

This use case describes the steps a User performs to log out of the MediaBar and end their Agent session with the switch.

Actors

Name

Type

Role

 

 

 

 

 

 

Basic Flow

Preconditions

  • The User has logged an Agent into the MediaBar

Steps

  1. The user clicks the Logout button located in the upper right corner of the MediaBar

  2. The MediaBar sends the session.request.logout request to HIS. See the Client Connectivity documentation for details of the request contents

  3. If the switch platform requires a Logout Reason from the User, this flow ends and AF 1 - Logout Reason is executed

  4. Decision 1: HIS checks each active channel to see if the Agent has any ongoing interactions

    1. If an ongoing interaction is found, this flow ends and EF 1 - Ongoing Interaction is executed

  5. Decision 2: HIS checks the agent state of each channel to see if the agent is in the Ready state

    1. If the Agent is in the Ready state, HIS performs the server side portion of Go Not Ready generating the appropriate events

      1. If an error occurs trying to enter the Not Ready state, this flow ends and EF 2 - Not Ready Failure is executed

  6. Decision 3: HIS checks each channel to see if it is active

    1. If the channel is active and the platform supports channel deactivation, HIS performs the server side portion of Deactivate Channel, generating the appropriate events

      1. If an error occurs trying to deactivate the channel, this flow ends and the EF 3 - Deactivation Failure is executed

  7. HIS disposes of each existing channel and its associated workflow, generating the appropriate events

  8. HIS disposes of the channel group and its associated workflow, generating the appropriate events

  9. HIS disposes of the session and its associated workflow, generating the appropriate events

  10. The HIS message bus connection is closed

  11. This flow ends and the MediaBar begins the Basic Login flow

Post Conditions

  • The Agent session and all associated resources are closed and disposed of

  • The MediaBar initiates the Basic Login flow

Alternate Flow 1 - Logout Reason

Some platforms require the User to provide or select a reason for their log out request. This flow manages the collection of that reason and its delivery to the switch.

AF1 Preconditions

  • A logout request has been made

  • The switch platform requires a reason for the logout request

AF1 Steps

  1. HIS sends a NeedInfo error response related to the logout request to MediaBar

  2. The MediaBar presents the Logout Reason Selection Screen to the User populated with the logout reasons collected during the Basic Login use case

  3. The User selects, or if allowed enters, the appropriate logout reason and clicks the Checkmark button

  4. The MediaBar hides the Logout Reason Selection Screen

  5. The MediaBar resubmits the session.request.logout request including the selected logout reason

  6. This flow ends and the basic flow resumes at step 3

AF1 Post Conditions

  • The logout reason has been added to the logout request

Error Flow 1 - Ongoing Interaction

EF1 Trigger Conditions

EF1 Steps

EF1 Post Conditions

Error Flow 2 - Not Ready Failure

EF1 Trigger Conditions

EF1 Steps

EF1 Post Conditions

Error Flow 3 - Deactivation Failure

EF1 Trigger Conditions

EF1 Steps

EF1 Post Conditions