avniproject / integration-service

Service for integration Avni with other systems
GNU Affero General Public License v3.0
0 stars 2 forks source link

Prevent duplicate student registration #96

Closed himeshr closed 10 months ago

himeshr commented 11 months ago

Background

While syncing students to Avni, students might go through the same flow multiple times. It is important to remove duplicates as much as possible. As one mechanism of preventing this, we can prevent those with the same business primary key from being registered more than once.

Acceptance criteria

When the integration service notices that the flow for a flow_result_id has already been processed by Avni, it is ignored by the service.

To decide if this has already been processed, we match the contact number, first name, last name, date of birth and gender with Avni to see if they already exist.

Tech details

Out of scope