SFReg Legacy mode testing - First Aid Level 2

SFReg Legacy mode testing - First Aid Level 2

HHSJ-UAT · FIS mode · Legacy rows set by Adrian 19-Nov-26 1:00–1:27 pm on First Aid Level 2 (FA2P) and First Aid Level 2 (Private) (FA2C): ProductUsesSFReg NO, CertificatesUsesDynamic NO, both booking-confirmation rules LEGACY · master switch still on · evidence read 19-Nov-26 4:35 pm NZ from the bookings made since the switch · 22 use cases. Each executed case lists its record Ids and the emails it sent.

5Pass
1Fail
1Blocked
15Not Run

Summary

Executed32%7 of 22 cases
Pass rate (executed)71%5 of 7
Open defects11 failing case
Waiting on a decision1blocked case
Legacy path sends (positive)2 / 7 pass
SFReg stays silent (negative)1 / 9 pass
Edge cases and controls2 / 6 pass
PassFailBlockedNot run

Coverage by functionality

Weakest first · overall pass 23% (marker on each bar) · select a row to see its open cases.

NOT RUNL10Attendee completes: certificate goes to FISNOT RUNL11Completed without NSN: not heldNOT RUNL12Control: First Aid Level 1 completion
NOT RUNL13T+2 email reminderNOT RUNL14Gate proof for L13 (needs your go)NOT RUNL15T+49 day reminderNOT RUNL16Eight-week closure batch
NOT RUNL17Pre-switch booking opens its SFReg linkNOT RUNL18Pre-switch booking leaves the formNOT RUNL19Pre-switch booking completes the class
NOT RUNL06Staff "Resend registration link" on a Legacy bookingNOT RUNL08T-2 pre-course textNOT RUNL09Swap between two FA2P classes
NOT RUNL01Website booking, FA2P, no NZQA add-onFAILL03Order Quick Create, public FA2P: attendee gets no booking confirmationNOT RUNL04Order Quick Create, private FA2C
BLOCKEDL20Other First Aid Level 2 variants stay on SFReg

Open items

L03 · OQC Legacy booking gets no attendee confirmation · L03DefectSFReg stands down correctly, but the legacy confirmation never arrives for staff-made orders. The queue completes without error. Repeat one order with a debug log on.
Three First Aid Level 2 variants are not Legacy · L20DecisionBlended (Private), AIR NZ and Powernet inherit YES from the family. Decide whether they follow FA2P/FA2C.
4 pre-switch FA2P bookings still hold an active SFReg link · L17DecisionThey can still finish the form, but from now on they get no reminders and no "registration confirmed" email, and FIS prints their certificate.
Only 2 of 5 email rules are LEGACY on FA2P/FA2C · L21Set-upEMAIL_ABANDONED, EMAIL_REMINDER_2D and EMAIL_REMINDER_7W still inherit _Dyn, so the scope report reads DIFFER. Production sets all five.
Post-course cases wait on the attendance fix · L13WaitingFATattendance__c is never written, so the T+2, T+49 and closure jobs never select these bookings; L14 needs your go.

All FA L2 Legacy use cases

IDUse caseGroupResult
L01Website booking, FA2P, no NZQA add-onBooking confirmationNOT RUN
L02Website booking, FA2P with NZQA RequiredBooking confirmationPASS
L03Order Quick Create, public FA2P: attendee gets no booking confirmationBooking confirmationFAIL
L04Order Quick Create, private FA2CBooking confirmationNOT RUN
L05Control: another public FAT course still on SFRegBooking confirmationPASS
L06Staff "Resend registration link" on a Legacy bookingBefore the classNOT RUN
L07No abandoned-registration emailBefore the classPASS
L08T-2 pre-course textBefore the classNOT RUN
L09Swap between two FA2P classesBefore the classNOT RUN
L10Attendee completes: certificate goes to FISCertificatesNOT RUN
L11Completed without NSN: not heldCertificatesNOT RUN
L12Control: First Aid Level 1 completionCertificatesNOT RUN
L13T+2 email reminderAfter the classNOT RUN
L14Gate proof for L13 (needs your go)After the classNOT RUN
L15T+49 day reminderAfter the classNOT RUN
L16Eight-week closure batchAfter the classNOT RUN
L17Pre-switch booking opens its SFReg linkBookings made before the switchNOT RUN
L18Pre-switch booking leaves the formBookings made before the switchNOT RUN
L19Pre-switch booking completes the classBookings made before the switchNOT RUN
L20Other First Aid Level 2 variants stay on SFRegControls and reportsBLOCKED
L21Product scope reportControls and reportsPASS
L22No spill to other productsControls and reportsPASS
L01

Website booking, FA2P, no NZQA add-on

NOT RUN
UseAn upcoming FA2P class, e.g. 25-Nov 02iAD000008iwJpYAI
  • Not run yet: all five bookings made since the switch ticked NZQA Required.
  • Expected: the legacy "<Name>, thanks for your booking" email (bookingConfirmationAttendee), no SFReg BookingConfirmationAttendee_Dyn, no attendeeRegistration token, no Attempts row.
L02

Website booking, FA2P with NZQA Required

PASS
Order01725221 · 801AD00001GOu2dYAD · My StJohn · OrderId 12586928
CARa04AD000009kNCXYA2 · Service-8383898 · NYA · Contact (testmail.com)
Add-onNZQA Required (Addon0016) = TRUE
Email02sAD00000CB9kDYAT "Amy, thanks for your booking" · template bookingConfirmationAttendee
  • SFREG_Log 01:42:21Z, SFReg_EmailDispatchHandler.handleBookingConfirmation: "NOT owned by SFReg (reason=PRODUCT_NOT_ON_SFREG); the legacy path sends it. Nothing dispatched."
  • The legacy confirmation arrived 4 seconds later; it is not the SFReg BookingConfirmationAttendeeNZQA_Dyn.
  • Tokens: one confirmBooking (the legacy "Verify Email Address" button). No attendeeRegistration token and no AttendeeRegistrationAttempts__c row, so there is no SFReg link.
Email 02sAD00000CB9kDYAT
02sAD00000CB9kDYAT · Legacy booking confirmation
L03

Order Quick Create, public FA2P: attendee gets no booking confirmation

FAIL
Orders01725218 (Shail) · 01725222 (Apurva) · 01725224 (Adrian) · 01725225 (Apurva)
CARsa04AD000009kMl7YAE · a04AD000009kNE9YAM · a04AD000009kNHNYA2 · a04AD000009kNIzYAM (all on a Lead, NZQA Required TRUE)
Jobs8 × OrderSchedulePdfQueueable Completed, 0 errors
Email02sAD00000CB5ofYAD "Thanks for your purchase: Purchase summary" (purchaser only)
  • SFReg part passes: each CAR logs PRODUCT_NOT_ON_SFREG; no attendeeRegistration token; no Attempts row.
  • Legacy part fails: no attendee email of any kind. Each order logged only the purchase summary. The CARs carry ExternalCode__c (9000741…9000746), the orders carry OrderId__c (90000754…90000759) and the product is public, so the queue's legacy bookingConfirmationAttendee post (V0.99.84 RP-34: "gets the booking confirmation above") should have run.
  • History: every bookingConfirmationAttendee email in UAT since 1-Nov was sent by My StJohn (the website). None came from an OQC order, so the post from the queue does not reach an email.
  • Next: repeat one OQC FA2P order with a debug log on, to see what Notification returns to the queue.
  • The OQC Legacy badge was not checked in this pass.
Email 02sAD00000CB5ofYAD
02sAD00000CB5ofYAD · Purchaser summary only (order 01725218)
L04

Order Quick Create, private FA2C

NOT RUN
UseA First Aid Level 2 (Private) class
  • Expected: Legacy badge in OQC; only the order-level private comms; no attendee confirmation (private-course rule) and no SFReg link.
L05

Control: another public FAT course still on SFReg

PASS
Orders01725219 (OQC, Apurva) · 01725220 (website) · 01725223 (OQC, Adrian)
CARsa04AD000009kMtBYAU FARP · a04AD000009kN9JYAU FARP · a04AD000009kNFlYAM RINT
Emails02sAD00000CB7NRYA1 · 02sAD00000CB83NYAT · 02sAD00000CB9qfYAD
  • Same hour, same users: each got BookingConfirmationAttendee_Dyn "…your training is booked - please confirm your details", an active attendeeRegistration token and an Attempts row (INITIAL_REGISTRATION, BookingConfirmedEmailedAt__c set).
  • So the difference on FA2P comes from the product rule, not from the users or the channel.
Email 02sAD00000CB7NRYA1
02sAD00000CB7NRYA1 · SFReg confirmation (control)
L06

Staff "Resend registration link" on a Legacy booking

NOT RUN
Usea04AD000009kNCXYA2 (L02)
  • Not run: pressing the action writes a log row in UAT, so it needs your go.
  • Expected: refused, "EMAIL_ABANDONED not sent: the product is not on SFReg"; no email, no token.
L07

No abandoned-registration email

PASS
CARsThe five post-switch FA2P bookings (L02, L03)
  • No "you haven't finished your training registration" email or Task on any of them, two to three hours after booking. The abandoned sweep was running: it sent one for another booking at 02:00:20Z.
  • There is no SFReg form session to abandon (no attendeeRegistration token).
L08

T-2 pre-course text

NOT RUN
Due21-Nov for the 23-Nov classes
  • Expected: no text. The Pre_Course_Reg_Reminder use case is inactive in UAT anyway, so this only shows that nothing was sent.
L09

Swap between two FA2P classes

NOT RUN
UseAny L02/L03 booking
  • Expected: no AttendeeSwapped_Dyn or AttendeeSwapBookerNotice_Dyn; SFREG_Log PRODUCT_NOT_ON_SFREG for EMAIL_SWAPPED_OUT.
L10

Attendee completes: certificate goes to FIS

NOT RUN
UseThe first FA2P class after the switch (22-Nov 19:30Z)
  • Expected: CertificatesUsesDynamic NO sends it to FIS: PRINT_CERTIFICATE for the order, CAR C to CR, the FIS certificate email; no PostCourseCompletionCert_Dyn from Salesforce.
L11

Completed without NSN: not held

NOT RUN
UseA completed FA2P attendee who never registered
  • Expected: FIS prints straight away, reason NOT_ON_SFREG; CertificateHeldAt__c never set.
L12

Control: First Aid Level 1 completion

NOT RUN
UseA completed FA1P attendee
  • Expected: the full SFReg route decision (family rule YES), so a different route reason from L10.
L13

T+2 email reminder

NOT RUN
DueFrom 24-Nov
  • Expected: none. Today the job doesn't select these bookings at all (FATattendance__c is never written); with it set, dispatch would stop at PRODUCT_NOT_ON_SFREG.
L14

Gate proof for L13 (needs your go)

NOT RUN
UseOne FA2P test booking
  • Set FATattendance__c = Attended and wait for the next :15 run. Expected: "EMAIL_REMINDER_2D not sent: the product is not on SFReg"; no email, no token, no marker. It is a UAT data write, so it needs explicit approval.
L15

T+49 day reminder

NOT RUN
DueFrom 10-Jan-27
  • Expected: no AttendeeRegistrationReminder7w_Dyn email and no text.
L16

Eight-week closure batch

NOT RUN
DueFrom mid-Jan-27
  • Expected: no AutoOptOutNZQACertSend_Dyn; a certificate already with FIS reads ALREADY_SENT; nothing prints twice.
L17

Pre-switch booking opens its SFReg link

NOT RUN
Pool30 upcoming FA2P bookings made before the switch: 20 have an Attempts row, 4 still hold an active SFReg link
  • Expected from the code: the form still opens (it doesn't read the product rule); finishing it saves the registration, but no "registration confirmed" email goes out (EMAIL_REG_CONFIRMED stops at the product gate). Decision needed (open item 3).
L18

Pre-switch booking leaves the form

NOT RUN
PoolThe 4 active links (L17)
  • Expected: no abandoned email (PRODUCT_NOT_ON_SFREG).
L19

Pre-switch booking completes the class

NOT RUN
PoolThe 20 bookings with an Attempts row
  • Expected: FIS prints; no route was recorded before the switch, so CertificatesUsesDynamic NO decides.
L20

Other First Aid Level 2 variants stay on SFReg

BLOCKED
ProductsFAT-PRC-PFA-F2BC-30 Blended (Private) · FAT-PRC-ANZ-FAD1-30 AIR NZ · FAT-PRC-PNT-PNF2-30 Powernet
  • None has rows of its own, so each inherits YES from First Aid Training. The scope report shows F2BC as YES / YES / AGREE LIVE.
  • Blocked on a decision: should the whole course be Legacy? If so, these three need the same four rows.
L21

Product scope report

PASS
RunSFReg_ProductScopeReport.csv(325, 40) · anonymous Apex, read-only · 19-Nov 4:32 pm
  • First Aid Level 2 FAT-NHP-FIA-FA2P-20: NO, NO, LEGACY, LEGACY, Abandoned_Dyn, Reminder2d_Dyn, Reminder7w_Dyn → DIFFER.
  • First Aid Level 2 (Private) FAT-PRC-PFA-FA2C-30: the same → DIFFER.
  • DIFFER is expected: only 2 of the 5 email rules are LEGACY (open item 4). It is harmless while ProductUsesSFReg is NO.
L22

No spill to other products

PASS
RunThe same scope report, plus the L05 bookings
  • First Aid Level 1, Level 1 (Private) and Level 1 Blended read YES / YES / AGREE LIVE.
  • FARP and RINT bookings made in the same hour went the SFReg way (L05). The master switch bookingConfirmationAbsorptionEnabled__c is still true.