承运商选择工作流
logistics
承运商选择工作流,包含费率比较、运输时间对比、服务水平匹配、承运商绩效评分以及最优承运商分配。
完整 FlowZap 代码
supplier { # Supplier
n1: circle label:"Start Carrier Selection"
n4: rectangle label:"Make Carrier Selection decision"
n7: rectangle label:"Continue Carrier Selection process"
n10: circle label:"End Carrier Selection"
n1.handle(bottom) -> warehouse.n2.handle(top)
n4.handle(bottom) -> warehouse.n5.handle(top)
n7.handle(bottom) -> warehouse.n8.handle(top)
}
warehouse { # Warehouse
n2: rectangle label:"Receive Carrier Selection request"
n5: rectangle label:"Update records for Carrier Selection"
n8: diamond label:"Continue Carrier Selection process"
n2.handle(bottom) -> iot_sensor.n3.handle(top) [label="Next"]
n5.handle(bottom) -> iot_sensor.n6.handle(top) [label="Done"]
n8.handle(bottom) -> iot_sensor.n9.handle(top) [label="Processed"]
n8.handle(right) -> supplier.n7.handle(right) [label="Retry/Rejected"]
}
iot_sensor { # Iot_Sensor
n3: rectangle label:"Review Carrier Selection details"
n6: rectangle label:"Continue Carrier Selection process"
n9: rectangle label:"Continue Carrier Selection process"
n3.handle(right) -> supplier.n4.handle(left)
n6.handle(right) -> supplier.n7.handle(left)
n9.handle(right) -> supplier.n10.handle(bottom)
}