Skip to content

Conversation

Hassanmir92
Copy link
Collaborator

@Hassanmir92 Hassanmir92 commented Jun 12, 2025

Tickets:
https://dfedigital.atlassian.net/browse/AQTS-979
https://dfedigital.atlassian.net/browse/AQTS-980

This work introduces the new "Other work experience in England" spoke within the application form. This new task item for application forms becomes available once the applicant completes their "work history" task. The purpose of this new task item is to capture any work experience that the applicant may have in England which may not necessarily be a teaching role but is within an educational setting.

Following the completion of "work history" applicants are presented with a question around whether they have other educational work experience in England within the last 12 months.
Screenshot 2025-06-16 at 09 47 08

Only when applicants select "Yes, I have other work experience in England that meets this criteria" they will then need to start filling out these records which is almost identical to the normal work history with key content difference, with not "Hours worked per week", validation to ensure the country must always be "England" and validation in place on the "End date" that either the applicant is either still employed or the end date is within the last 12 months. Beyond this step, the referee details form will be identical to the normal work history.
Screenshot 2025-06-16 at 10 07 17

The flow also ends up asking the applicant whether they want to add more valid educational work experience in England which is similar to the normal work history task.
Screenshot 2025-06-16 at 10 10 35
Screenshot 2025-06-16 at 10 11 23

These new roles do not qualify towards the number of years/months of teaching experience the applicant needs to have to qualify for QTS and act purely as information used to determine whether they are prioritised.

The new "Other work experience in England" are also stored as work_histories records with a key difference of having a new column is_other_england_educational_role as true and they do not have hours_per_week set as there is no need for determining the duration of months worked in these roles and only whether they were in the last 12 months. Additionally, using this key difference, existing functionality has been added to exclude all these new type of work history records from work history month calculations and what is displayed to to assessors during assessment and reference checks.

Notes:
This new flow is not included on existing applications and only available on applications which have includes_prioritisation_features set as true which is only when the prioritisation feature flag is active. This design ensures that we can ship this feature hidden behind a feature flag.

@Hassanmir92 Hassanmir92 force-pushed the AQTS-979-dev-prioritisation-application-form branch 2 times, most recently from eb908f1 to f0da2cc Compare June 12, 2025 14:02
This will be used to determine whether the new "Other work experience in England" entries will be available to the applicant or not. It will be based on whether at the time of the application form being generated, the feature flag for "prioritisation" was enabled or not.
This commit introduces the flow where once the applicant has completed the "work history" entries, another task item is presented to them for "Add other work experience in England" where they will enter other work history entries with validations in place where it must be in England and a postcode must be present. Unlike the regular work history entry, we do not capture any hours worked in these roles as they will not be counted towards their work history months when assessing and purely for the purpose of prioritisation.

This commit introduces a new column within the work_histories table "is_other_england_work_history_role" which creates a separation between regular teaching roles that will count towards work history and these new type of roles which are purely for prioritisation purposes.
…hs" form to ensure end date of an experience cannot be over 12 months ago if they are not still employed in the role
…ies for work history duration calculation

The WorkHistoryDuration was already excluding it as hours_per_week is not present on other work history roles but as an extra step, we are adding the teaching_role scope as well
…answers before submitting your application" page for applicants that have provided it
… work experience in England" spoke if they have not yet started it

This allows a natural flow into the "Other work experience in England" if it is their first time without taking the user to the main application task list. Updates to the normal work history spoke after completing both of these steps will no longer link the two and instead takes the user to the application task list instead.
…on assessment and verification stages for reference requests
@Hassanmir92 Hassanmir92 force-pushed the AQTS-979-dev-prioritisation-application-form branch from 1d93c5c to 7303dc8 Compare June 13, 2025 11:03
@Hassanmir92 Hassanmir92 self-assigned this Jun 13, 2025
@Hassanmir92 Hassanmir92 changed the title [AQTS-979] Prioritisation "Other work history in England" within application form [AQTS-979] Prioritisation - "Other work history in England" within application form Jun 13, 2025
@Hassanmir92 Hassanmir92 marked this pull request as ready for review June 16, 2025 10:01
@Hassanmir92 Hassanmir92 requested a review from a team as a code owner June 16, 2025 10:01
Copy link

Copy link
Contributor

@syed87 syed87 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Hassanmir92 Hassanmir92 merged commit 294ffd8 into main Jun 23, 2025
25 of 26 checks passed
@Hassanmir92 Hassanmir92 deleted the AQTS-979-dev-prioritisation-application-form branch June 23, 2025 09:02
Copy link

Review app for PR 2781 was deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants