diff --git a/projects/appointment-reminders-and-delius/tech-docs/diag/east-of-england-upw-reminders.d2 b/projects/appointment-reminders-and-delius/tech-docs/diag/east-of-england-upw-reminders.d2 index 7da3177785..eae41899e9 100644 --- a/projects/appointment-reminders-and-delius/tech-docs/diag/east-of-england-upw-reminders.d2 +++ b/projects/appointment-reminders-and-delius/tech-docs/diag/east-of-england-upw-reminders.d2 @@ -18,7 +18,7 @@ deduplicate: Deduplication { "" { explanation: |md Where there are multiple appointments for a mobile number\ - only consider a single reminder + only send a single reminder | } } @@ -42,6 +42,8 @@ validate: Validation { validate_activity: Activity Validation { explanation: |md - The person has an active unpaid work requirement + - The unpaid work requirement is not related to\ + Education, Training and Employment - There is time remaining on the unpaid work requirement - The appointment does not have an outcome | @@ -67,11 +69,11 @@ end2: End { shape: circle } -data -> deduplicate -deduplicate -> validate +data -> validate validate -> ok: OK validate -> fail: Fail -ok -> send +ok -> deduplicate +deduplicate -> send send -> end1 fail -> end2 diff --git a/projects/appointment-reminders-and-delius/tech-docs/source/img/east-of-england-upw-reminders.svg b/projects/appointment-reminders-and-delius/tech-docs/source/img/east-of-england-upw-reminders.svg index 8a34b74323..77b7928bf6 100644 --- a/projects/appointment-reminders-and-delius/tech-docs/source/img/east-of-england-upw-reminders.svg +++ b/projects/appointment-reminders-and-delius/tech-docs/source/img/east-of-england-upw-reminders.svg @@ -1,27 +1,27 @@ -Delius DataDeduplicationValidationValidation OKValidation FailSend SMSEndEndPerson ValidationCommunication ValidationActivity ValidationGOV.UK Notify

Name, mobile number and appointment date

-

Where there are multiple appointments for a mobile number
-only consider a single reminder

-
    +Delius DataDeduplicationValidationValidation OKValidation FailSend SMSEndEndPerson ValidationCommunication ValidationActivity ValidationGOV.UK Notify

    Name, mobile number and appointment date

    +

    Where there are multiple appointments for a mobile number
    +only send a single reminder

    +
    • The person is not in custody or on remand
    • The person is not unlawfully at large
    • The person is not Limited Access
    -
      +
    • The mobile number is formatted correctly
    • The person has not opted out of SMS contacts
    -
      +
    • The person has an active unpaid work requirement
    • +
    • The unpaid work requirement is not related to
      +Education, Training and Employment
    • There is time remaining on the unpaid work requirement
    • The appointment does not have an outcome
    -

    Send SMS appointment reminder to person on probation

    -
    OKFail - +

Send SMS appointment reminder to person on probation

+
OKFail + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - + + + + + + +