Lifecycle state and overrides
Lifecycle state describes an identity's employment stage in terms Owlie policies and reactions can
use. Rules turn source attributes into states such as HIRED, shown as Active, or TERMINATED, so
policies do not need to handle each HR system's status names separately.
People lifecycle shows who is in each state and what happens
there.
Lifecycle state is separate from Owlie account status. Lifecycle state can drive access policy. Owlie Status controls whether the person can use their Owlie account. An identity can therefore show a non-terminated lifecycle state while its Owlie account remains disabled.
From source data to lifecycle state
Identity Sync first maps source fields into identity attributes. Owlie then evaluates the tenant's
ordered lifecycle rules against those resolved attributes. The first matching rule supplies the
derived lifecycle state. If no rule matches, the person is in the fallback state, UNKNOWN.
Diagram placeholder: Show a left-to-right normalization flow: raw HR status values from two fictional sources → resolved
employment_statusattribute → ordered lifecycle rules → one effective lifecycle state → access policies and lifecycle reactions. The visual must distinguish source values from Owlie lifecycle values and label the first-match/fallback decision.
For example, one HR source might send HIRED, TERMINATED, or ONLEAVE, while another sends
different strings for the same business conditions. Those are illustrative source values, not fixed
Owlie lifecycle states. Map the incoming value to an identity attribute, then define lifecycle rules
that express your organization's meaning. Do not assume that ONLEAVE should become a particular
lifecycle state: leave handling is a policy decision.
New organizations start with these built-in rules, checked from the top:
| Built-in rule | Lifecycle state | Matches when |
|---|---|---|
| Terminated | Terminated (TERMINATED) | employment_status is TERMINATED |
| End date passed | Terminated (TERMINATED) | end_date is today or earlier |
| Leaving | Leaving (LEAVING) | end_date is within the next 14 days |
| Suspended | Suspended (SUSPENDED) | employment_status is SUSPENDED |
| On leave | On leave (ON_LEAVE) | employment_status is ON_LEAVE |
| Pre-hire | Pre-hire (PRE_HIRE) | employment_status is PRE_HIRE, or start_date or hire_date is in the future |
| Hired | Active (HIRED) | employment_status is ACTIVE, or start_date or hire_date is today or earlier and no end_date is today or earlier |
| No rule matches | Unknown (UNKNOWN) |
The first rule that matches decides, so order matters. Someone whose status is still ACTIVE after
their end date has passed is Terminated, and someone whose status is ACTIVE but whose start date
is next month is Pre-hire. Rules that read a date count whole days in the person's time zone: a date
begins at midnight where they are, or in the organization's time zone when they have none.
Because the rules read dates as well as a status, an HR source that sends only dates still moves people from Pre-hire to Active, then to Leaving and Terminated. A source that sends neither leaves everyone in Unknown, and People lifecycle > States shows that as values to map.
You can edit the built-in rules but not delete them, and add rules of your own, for example to map a status value your HR system sends. Edit them under People lifecycle > States > Rules, or choose a state for a value on the Mapping tab. A rule can also produce a lifecycle value of your own, so the states shown for an identity may extend beyond the built-in ones. Use source priority to control which source wins when several systems contribute the input attribute.
How policies and reactions use the state
Grant and deny policies can select identities by lifecycle state. When that state changes, Owlie evaluates the applicable policies again. Reactions can run once when someone moves from one state to another. Each state's page under People lifecycle lists both.
Configure policies to grant or remove access for each state, then check that provisioning completes. Mapping a leave status, for example, does not suspend access unless a policy requires it. Owlie ships a Suspended access deny that removes access while someone is suspended. It is off until you roll it out, and access returns when the suspension ends.
Entering TERMINATED immediately disables the identity's Owlie account and signs the person out
everywhere, even if the account was already disabled: their sessions end and any SSO refresh tokens
are revoked at once. Their password, passkeys, MFA factors, and SSO links are untouched, so a later
rehire signs in again with whichever of those they still have, rather than starting over. While an
identity is terminated its Owlie account status can't be set to Active: the control is disabled
until you move it off TERMINATED. The built-in Terminated access deny removes their access in
other systems, except what you keep for a handover. See When someone is
terminated. Changing the state or
returning to automatic derivation does not re-enable the Owlie account. You must restore account
access separately, and enabling it again has a rule of its own.
Temporarily override an identity
Use a manual override when the derived value is temporarily wrong or an urgent lifecycle decision
must take effect before a source is corrected. You need the identity.lifecycle.manage permission.
- Open the identity in Admin > Directory.
- Open the identity actions menu. Select Set lifecycle state… to choose a manual value or
return to automatic derivation. Until the identity is terminated, the menu also offers
Emergency termination…, which opens the same editor with
TERMINATEDselected. - In Set lifecycle state, choose one of the configured lifecycle values.
- Enter a Reason. Owlie requires it and records it with the override for audit and operator context.
- Select Save lifecycle state. Choosing
TERMINATEDrequires a second confirmation with Terminate now because it immediately disables the Owlie account.
The manual value becomes the effective lifecycle state and takes precedence over the derived value. Source sync and derivation continue underneath, but they do not replace the override.
Return to automatic derivation
Correct the source data or lifecycle rules before clearing an override. Otherwise the same incorrect derived value takes effect again.
Open the lifecycle editor, choose Automatic (derived), enter a reason, and save. Owlie removes the override and immediately uses the current derived state, without waiting for the next Sync.
Check both badges on the identity afterward:
- Lifecycle State should show the value selected by the current lifecycle rules.
- Owlie account status remains independent. If a prior termination disabled it, returning to automatic does not make it active again.
Rehiring someone who returns
A rule matched on a stable identifier, such as employee_id, can be set to reactivate a terminated
match instead of holding it for review. Identity Sync then links the returning person's new HR
record to their existing identity and updates it as data flows in. This moves the lifecycle off
TERMINATED through derivation, but it does not restore the Owlie account. Owlie account status
stays disabled until an administrator enables it. Rules that match only on an address or a name hold
a terminated match for review by default. Either could belong to a new hire who happens to share it,
not the same person returning.
Their access in other systems follows their policies again. When a policy grants them an account that their termination disabled, Owlie enables that account again instead of creating a new one. An account an administrator disabled by hand stays disabled. Access kept in a handover window stays if they return before the window ends.
Enabling the Owlie account is refused while either is true:
- the identity's lifecycle state is still
TERMINATED. Move it off Terminated first, through HR data or the lifecycle editor. - its sign-in email is now another identity's email or secondary email. Change or release that address from the other identity first. The refusal names them.
Both checks exist because the returning person's old sign-in email may have gone to someone else while they were away. Enabling the account would otherwise let whoever now reads that mailbox sign in as them. Once enabling succeeds, the held sign-in email is usable again, and the person signs in fresh with their password, passkey, or SSO link, all of which survived the termination.
Reusing a sign-in email
An identity keeps its sign-in email until an administrator releases it or the identity is removed. To give that address to someone new:
- Open the leaver's identity and release the sign-in email from its Attributes tab. Owlie sends no notice to that address: the leaver can't sign in, and the mailbox may already belong to the next person.
- Invite the new person, or set the address as their sign-in email. Their invitation stays pending until they redeem it.
Inviting someone, or setting a sign-in email, with an address a leaver still holds is refused. The message names the leaver and what to do: release it from them, or, if this is the same person returning, follow Rehiring someone who returns instead.
Removing an identity
Removing is permanent and is the only way an identity ends. It is separate from termination: termination disables the Owlie account and can drive access removal through policy, while an identity keeps its history and can be reactivated. Remove goes further and cannot be undone.
Use Remove identity on the identity's Attributes tab. You need the identity.remove
permission and a recent sign-in. The identity must already be disabled. While anything is in the
way, the button is disabled and Owlie shows what, so you can clear it first. The same things refuse
the removal if they appear after the page loaded:
- access that hasn't been revoked, such as an assigned resource or a grant from a policy or request
- an active account at a connected system. Remove or unlink it there first: sync would only link it again. Records from an HR source don't block removal.
- a pending ticket assigned to it, or a group ticket it has claimed
- a review step or request approval it still has to decide
- an open request it made or that is for it
- a function whose Owlie Access runs as it
- a reaction still running for it
Removing:
- signs the identity out everywhere and revokes its sessions, keys and enrolled authenticators
- removes its roles, permission grants and group memberships
- clears its name, address and attributes, replacing its display with "Deleted user"
What removing does not erase: records that already name the identity (changelog entries, audit events, and review evidence) remain, but only as "Deleted user" going forward. This preserves evidence that a distinct person acted or was reviewed without keeping their personal data. Stored copies of the identity's display are cleared automatically within minutes of removal, not instantly. A few classes of copy are accepted as out of reach for now, and expire or are retained on their own schedule instead:
- free text someone typed about the person (comments, reasons, notes, function logs)
- job records that already expire on a fixed schedule
A person who returns after being removed is not reactivated: they get a new identity.