topcoder-platform/taas-apis

Issues with Post Interview Action Reminder email notification when interview 2 is scheduled

Closed this issue · 4 comments

sdgun commented

Steps
Issue 1
In the below instance, noticed two records on the same candidate interview 1 and 2. When we schedule interview 2 we shouldn't receive post interview reminder on interview 1)

image

Job title: ABC
Link to the interview: https://platform.topcoder-dev.com/taas/myteams/18690/positions/05bdcac3-b86b-4070-bfe3-483c1cb47706/candidates/interviews

Issue 2
No Post Interview Action Reminder email notification received on the below Interview 2 but received in app notification:

Interview(2):
https://platform.topcoder-dev.com/taas/myteams/18690/positions/05bdcac3-b86b-4070-bfe3-483c1cb47706/candidates/interviews

Gmail(only received interview completed email):
image

In app notifications are received as expected:
image

Sum up:

  • For now we have to fix only the first part: avoid duplicated interviews. I guess this happens because for one JobCandidate we can re-schedule interview so there could be multiple rounds: 1, 2 and 3. So we only have to send email for the last round.
  • We also must ensure, that we don't send duplicate notification for interview completed reminder ('taas.notification.interview-awaits-resolution').
  • Please, create demo data with several rounds of interview so we could check that only 1 interview is listed in email when we run demo script https://github.com/topcoder-platform/taas-apis/tree/dev/scripts/demo-email-notifications

@sdgun the first part of this issue is ready for review.

QA guidelines:

  • check that if we schedule 2-3 rounds then Post Interview Action Reminder email list only the latest round for the Job Candidate
  • verify the same for Interview Awaits Resolution email
sdgun commented

Verified Post Interview Action Reminder email and Interview Awaits Resolution email with 1st, 2nd and 3rd interviews, both emails only had the latest round for the job candidate.