Post sharing and quarantine
Description
Currently multiple people can have placements against the same post at the same time in TIS with no limits. these placements (if the post is reconciled) will have applicant records produced. These records maybe against multiple positions (e.g. separate positions for host and lead employer). There is a total limit of 40 applicant records per post per file from ESR,
Example scenarios
This could be reached by:
40+ individual applicants
20+ applicants where the post has a host and lead employer set up.
There is also a fairly common scenario in the original code base where the post position mapping has changed over time and previously deleted position numbers are sent against e.g. if we had 5+ applicants and had the post mapped against 8 positions (of which 7 were historical deleted positions) we would produce 40 applicant records.
Result
If the file has more than 40 applicant records against a post in a single file then that whole file will be “quarantined” and not processed by ESR. This impacts any applicant record in the file i.e. not just those 40+ against the one post. There are a few solutions to this currently:
Split the applicant records into multiple files to bypass the 40 per file limit e.g. 21 for the the same post could be sent today and another 21 the next day.
In the case of the deleted positions we can manually remove those erroneous records from the file and reupload it for reprocessing by ESR
Slack: https://hee-nhs-tis.slack.com/
Jira issues: https://hee-tis.atlassian.net/issues/?filter=14213