Skip to Content
Business logicLogbookNot-current state behaviour

Not current status

When a member’s currency lapses while one of their logbook skills is in the Open state, the entry transitions to Not Current. The underlying flight time, approvals, and skill linkage are preserved — nothing is lost — but progression on that skill is paused until currency is restored.

Setting Not Current

The currency cron in api/src/crons/currency/ walks members whose currency has lapsed and marks their open logbook entries as Not Current. The depth of the sweep depends on the deactivation kind:

  • Full deactivation — every role’s skills (flyer + any teaching ladder the member is on) move to Not Current.
  • Partial deactivation — only skills at or above the deactivated level move to Not Current; lower-level skills keep their state.

Recovering from Not Current

Currency is restored when the member completes the safety training that drives their role’s cycle. The reverse pass moves the affected entries back to Open.

  • For trainers, military trainers, and coaches, recovery is “all or nothing” — once the cycle’s training is done, every Not Current skill opens at once.
  • For instructors, recovery is more granular: the checkboxes within the instructor safety-training programme map to skill categories, so completing the first set of checkboxes opens the level-1 instructor skills, the next set opens level-2, and so on.

Edge case: Suspended → Not Current → recovery

If an entry is in the Suspended state when currency lapses, the system needs to preserve the suspension on recovery — otherwise restoring currency would silently unsuspend a skill an admin deliberately paused. The implementation stores the pre-Suspension state and replays it on recovery rather than blindly setting Open. This is a subtle interaction worth holding in mind when changing either the currency cron or the suspend/unsuspend logic.

See also

Last updated on