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, and HR sends a welcome pack. When all three are done, the manager welcomes the new hire and holds a check-in after 30 days.
This is the Employee onboarding template. To open it in the app, select Templates in the rail, then Employee onboarding.
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 completeWhat to notice
- Parallel split and join.
and #preparestarts three branches, andand #readywaits for all of them. See Parallel work. - The join is declared where it's used.
and #readysits in the Hiring manager lane, just before the steps that follow it, and 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_donebefore the branch joins the others, so the parallel join still gets one arrival from IT. - A message start.
start:message Offer acceptedshows the process begins when a message arrives.