Welcome to FlowZap, the App to diagram with Speed, Clarity and Control.

流程管理器工作流

patterns

此工作流模拟编排多个服务以完成一个流程。

完整 FlowZap 代码

user { # User
  n1: circle label:"Start Process Manager"
  n4: rectangle label:"Execute Process Manager action"
  n7: rectangle label:"Monitor Process Manager status"
  n10: circle label:"End Process Manager"
  n1.handle(bottom) -> app.n2.handle(top)
  n4.handle(bottom) -> app.n5.handle(top)
  n7.handle(bottom) -> app.n8.handle(top)
}

app { # App
  n2: rectangle label:"Receive Process Manager event"
  n5: rectangle label:"Record Process Manager outcome"
  n8: rectangle label:"Monitor Process Manager status"
  n2.handle(bottom) -> service.n3.handle(top)
  n5.handle(bottom) -> service.n6.handle(top)
  n8.handle(bottom) -> service.n9.handle(top)
}

service { # Service
  n3: rectangle label:"Validate Process Manager conditions"
  n6: rectangle label:"Monitor Process Manager status"
  n9: diamond label:"Monitor Process Manager status"
  n3.handle(right) -> user.n4.handle(left) [label="Processed"]
  n6.handle(right) -> user.n7.handle(left) [label="Success"]
  n9.handle(left) -> app.n8.handle(left) [label="Retry/Rejected"]
  n9.handle(right) -> user.n10.handle(bottom) [label="Valide"]
}

相关模板