CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
πŸŒ™β˜€οΈ
Log inStart free
Home/Templates/HR & Workforce

πŸ‘₯ HR & Workforce Β· State Machine

Employee Lifecycle

Every stage of an employee's time with a company: offer, onboarding, probation, active, leave, notice and exit.

More HR & Workforce templates

Opening a template is free and never counts toward your daily diagrams. Asking the AI to change it counts as one.

Drawing diagram…

What this diagram shows

  • Confirmation happens only after probation review
  • Long leave pauses but doesn't end employment
  • Exit includes full and final settlement

Prompt used

Employee lifecycle state machine: candidate accepts offer, joins and is onboarded, then serves probation. After a probation review they are confirmed (or probation is extended or employment ends). An active employee may go on long leave (maternity, sabbatical) and return, move to another role through transfer, or resign or be terminated and serve notice. Exit completes with clearance and full and final settlement.

Mermaid code
stateDiagram-v2
  [*] --> OfferAccepted
  OfferAccepted --> Onboarding: joining day
  Onboarding --> Probation
  Probation --> Confirmed: review passed
  Probation --> Probation: extended
  Probation --> Exited: not confirmed
  Confirmed --> Active
  Active --> OnLongLeave: maternity or sabbatical
  OnLongLeave --> Active: returns
  Active --> Active: transfer or promotion
  Active --> NoticePeriod: resigns or terminated
  NoticePeriod --> Exited: last working day
  Exited --> Settled: full and final settlement
  Settled --> [*]

Inside this diagram

A state diagram with 9 states and 12 transitions.

States

  • OfferAccepted
  • Onboarding
  • Probation
  • Confirmed
  • Exited
  • Active
  • OnLongLeave
  • NoticePeriod
  • Settled

Starts in

  • OfferAccepted

Ends in

  • Settled

Transitions

  • OfferAccepted β†’ Onboarding when joining day
  • Onboarding β†’ Probation
  • Probation β†’ Confirmed when review passed
  • Probation β†’ Probation when extended
  • Probation β†’ Exited when not confirmed
  • Confirmed β†’ Active
  • Active β†’ OnLongLeave when maternity or sabbatical
  • OnLongLeave β†’ Active when returns
  • Active β†’ Active when transfer or promotion
  • Active β†’ NoticePeriod when resigns or terminated
  • NoticePeriod β†’ Exited when last working day
  • Exited β†’ Settled when full and final settlement

Make your own diagram like this

Describe your own system in plain English and CloudSketch AI draws it in seconds. See all AI diagram generators.

Related templates

FlowchartHR & Workforce

Recruitment Pipeline Workflow

A hiring process from job requisition to the new joiner's first day: sourcing, screening, interviews, offer and background checks.

State MachineHR & Workforce

Leave Request Approval Lifecycle

The states of an employee leave request in an HRMS: submission, manager approval, HR escalation for long leave, and cancellation.

C4 ArchitectureProHR & Workforce

HRMS Architecture

A human resource management system: employee records, attendance, leave, payroll, performance and the employee self-service app.

SequenceHR & Workforce

Employee Onboarding Sequence

What happens between an accepted offer and a new joiner's productive first week: documents, background check, accounts, laptop and induction.

Database ERDHR & Workforce

Payroll Database Schema

A schema for monthly payroll: employees, salary structures and components, pay runs, payslips and statutory deductions.

SankeyHR & Workforce

Hiring Funnel Sankey

How candidates move through a hiring funnel for a quarter, by source, and where they drop out.