temporalio/background-checks

Bug: Failure to verify an SSN should be recorded

robholland opened this issue · 2 comments

Currently our code does not allow an SSN trace to come back as invalid. We should expect this to be possible and cleanly handle this as part of the report. This will be similar to the case when a check was declined, just one step further on.

To be a bit more specific, the only thing an SSN trace can return currently is a list of known addresses. There needs to be some kind of Valid bool or similar as well to indicate when the SSN was not validated.

Extended ssn trace workflow and activity response types to include 'SSNIsValid' flag. TODO: Need to build mock database and SSN parameter entry for more complete candidate lookups.