Salesforce-org-Impact-Labs / 01HousingandHomelessness

Impact Lab - Housing & Homelessness
BSD 3-Clause "New" or "Revised" License
12 stars 11 forks source link

Bug - User is able to refer a service via SMS when the mobile carrier is not populated #277

Open szeitz opened 3 years ago

szeitz commented 3 years ago

In order to successfully send a referral through SMS in Service Match, the Phone and Mobile Phone Carrier fields on the Contact must be populated. Service match will allow a referral to appear to be sent as a SMS message without the Mobile Phone Carrier set but will fail in the apex jobs with an error that a valid 'Mobile Phone Carrier' is required to be able to send the message.

Proposed Updates:

  1. Add Mobile Phone Carrier to the Service Match Contact page layout directly under the required phone field (I believe this is phone, can we validate?)
  2. If a user selects SMS as the referral type and there is a valid phone number but no carrier, the user should receive an error message: "This contact does not have a valid Mobile Phone Carrier, please add a Mobile Phone Carrier or select Email instead."