workflow.go 803 B

12345678910111213141516171819
  1. package constant
  2. //定义clazz常量
  3. const (
  4. USER_TASK string = "userTask" // 审批节点
  5. //SCRIPT_TASK string = "scriptTask" //脚本节点
  6. //RECEIVE_TASK string = "receiveTask"
  7. //MAIL_TASK string = "mailTask" //邮件节点
  8. //TIMER_START string = "timerStart" // 定时节点
  9. //MESSAGE_START string = "messageStart" // 消息节点
  10. EXCLUSIVE_GATEWAY string = "exclusiveGateway" // 排他网关
  11. INCLUSIVE_GATEWAY string = "inclusiveGateway" // 包容网关
  12. PARELLEL_GATEWAY string = "parallelGateway" // 并行网关
  13. FLOW string = "flow" // 连线
  14. START string = "start" // 开始节点
  15. END string = "end" // 结束节点
  16. //PROCESS string = "process" // 基础节点
  17. )