Documentation ¶
Index ¶
Constants ¶
View Source
const AutomationApproval = "automation"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutomationProperty ¶
type ConditionProperty ¶
type ConditionProperty struct {
Name string `json:"name"`
}
type Edge ¶
type Edge struct { Type string `json:"type"` SourceNodeId string `json:"sourceNodeId"` TargetNodeId string `json:"targetNodeId"` Properties interface{} `json:"properties"` ID string `json:"id"` }
Edge 定义线字段
type EdgeProperty ¶
type EdgeProperty struct {
Expression string `json:"expression"`
}
type EndProperty ¶
type EndProperty struct {
Name string `json:"name"`
}
type Node ¶
type Node struct { Type string `json:"type"` Properties interface{} `json:"properties"` ID string `json:"id"` }
Node 节点定义
type ProcessEngineConvert ¶
type ProcessEngineConvert interface { Deploy(workflow Workflow) (int, error) Edge(workflow Workflow, tasks []model.Task) ([]string, error) GetAutomationProperty(workflow Workflow, nodeId string) (AutomationProperty, error) }
func NewLogicFlowToEngineConvert ¶
func NewLogicFlowToEngineConvert() ProcessEngineConvert
type StartProperty ¶
type StartProperty struct {
Name string `json:"name"`
}
type UserProperty ¶
Click to show internal directories.
Click to hide internal directories.