Examples

Employee onboarding

HR, IT and the hiring manager prepare for a new hire in parallel, with an escalation when equipment is late.

Once a candidate accepts the offer, HR creates their record. Then three things happen at once:

  • IT sets up the laptop and accounts.
  • The hiring manager plans the first week.
  • HR sends a welcome pack.

When all three are done, the manager welcomes the new hire. After 30 days, the manager holds a check-in.

This is the Employee onboarding template. To open it in the app, select Templates in the rail, then View all beside BPMN process, then Employee onboarding.

Flowmark
process Employee onboarding
lanes HR | IT | Hiring manager

lane HR
start:message Offer accepted
user Create employee record
and #prepare
  -> Set up laptop and accounts
  -> Plan first week
  -> Send welcome pack

lane IT
user Set up laptop and accounts
  on:timer(P3D) Equipment delayed -> Escalate to IT lead
xor #it_done
  -> #ready

lane Hiring manager
user Plan first week
  -> #ready

lane HR
send Send welcome pack
  -> #ready

lane IT
user Escalate to IT lead
  -> #it_done

lane Hiring manager
and #ready
user Welcome new hire
user Hold 30-day check-in
end Onboarding complete

What to notice

  • Parallel split and join. and #prepare starts three branches, and and #ready waits for all of them. See Parallel work.
  • The join is declared where it's used. and #ready sits in the Hiring manager lane, right before the steps that follow it. Every branch points to it.
  • An escalation inside a branch. If IT takes more than three days, the interrupting timer leads to Escalate to IT lead. Both IT paths meet at xor #it_done before the branch joins the others. So the parallel join still gets one arrival from IT.
  • A message start. start:message Offer accepted shows that the process begins when a message arrives.

On this page