Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Assignment ¶
type Assignment struct {
ConnectedNode
AssignmentItems []*AssignmentItem `json:"assignmentItems"`
}
Assignment the assignment node definition.
type AssignmentItem ¶
type AssignmentItem struct {
AssignTo string `json:"assignTo"`
Operator string `json:"operator"`
Value string `json:"value"`
}
AssignmentItem the assignment item.
type ConnectedNode ¶
ConnectedNode the node with single connector.
type Decision ¶
type Decision struct {
Node
DecisionRules []*DecisionRule `json:"decisionRules"`
DefaultConnector string `json:"defaultConnector"`
DefaultConnectorLabel string `json:"defaultConnectorLabel"`
}
Decision the decision node definition.
type DecisionRule ¶
type DecisionRule struct {
ConnectedNode
Criteria string `json:"criteria"`
}
DecisionRule the rule of a decision.
type FlowDef ¶
type FlowDef struct {
Label string `json:"label"`
Description string `json:"description"`
Name string `json:"name"`
Version string `json:"version"`
StartElement string `json:"startElement"`
Variables []*Variable `json:"variables"`
Assignments []*Assignment `json:"assignments"`
Decisions []*Decision `json:"decisions"`
}
FlowDef the Flow definition.
This is the metadata of the execution process, not the runnable part. The execution engine will transpile this structure into the runnable part to do the eventual execution.
Click to show internal directories.
Click to hide internal directories.