Use Cases 6.1: Scheduled Notifications - CBTYoung/Documentation GitHub Wiki

Description

The User requests a scheduled notification, and the notification is sent on schedule.

Actors

User.

Pre conditions

  1. The Patient is logged in (if Patient), otherwise Guest logged in as a Guest.
  2. The User requests a scheduled notification.

Parameters

Notification Data, Time

Post conditions

The notification is sent to the user.

Sequence of events

  1. The User requests a Scheduled Notification to be sent to them on time.
  2. The system waits until the time to send the notification.
  3. The notification is sent to the user.
  4. The User receives the notification.

Alternative flows

  1. The User is not logged into the app, and so doesn't receive the scheduled notification on time.
  2. The server is down, and does not send the notification.
  3. In any other alternative flow, the notification isn't sent to the user.