加薪工作流
hr
包含市场薪酬分析、薪酬比率审查、预算校验、基于涨薪百分比的分级审批以及薪资系统更新的加薪工作流。
完整 FlowZap 代码
employee { # Employee
n1: circle label:"Start Salary Increase"
n4: rectangle label:"Make Salary Increase decision"
n7: rectangle label:"Continue Salary Increase process"
n10: circle label:"End Salary Increase"
n1.handle(bottom) -> manager.n2.handle(top)
n1.handle(bottom) -> hr_system.n3.handle(top)
n1.handle(right) -> n4.handle(left)
n1.handle(bottom) -> manager.n5.handle(top)
n1.handle(bottom) -> hr_system.n6.handle(top)
n1.handle(right) -> n7.handle(left)
n1.handle(bottom) -> manager.n8.handle(top)
n1.handle(bottom) -> hr_system.n9.handle(top)
n4.handle(right) -> n10.handle(left)
n7.handle(right) -> n10.handle(left)
}
manager { # Manager
n2: rectangle label:"Receive Salary Increase request"
n5: rectangle label:"Update records for Salary Increase"
n8: rectangle label:"Continue Salary Increase process"
n8.handle(right) -> employee.n10.handle(bottom)
n5.handle(right) -> employee.n10.handle(bottom)
n2.handle(right) -> employee.n10.handle(bottom)
}
hr_system { # Hr_System
n3: rectangle label:"Review Salary Increase details"
n6: rectangle label:"Continue Salary Increase process"
n9: rectangle label:"Continue Salary Increase process"
n9.handle(right) -> employee.n10.handle(bottom)
n6.handle(right) -> employee.n10.handle(bottom)
n3.handle(right) -> employee.n10.handle(bottom)
}