Methods
addContext
- addContext<T>(type: T, defn: FlowContextMap[T]): FlowContextMap[T]
-
Type parameters
-
T: "variables" | "constants" | "formulas" | "structs"
Parameters
-
type: T
-
defn: FlowContextMap[T]
Returns FlowContextMap[T]
the definition.
addNode
- addNode<T>(type: T, meta: FlowNodeMetaMap[T]): FlowNodeMetaMap[T]
-
Type parameters
-
T: "assignments" | "decisions" | "loops" | "breaks" | "waits" | "recordCreates" | "recordUpdates" | "recordDeletes" | "recordLookups" | "fastCreates" | "fastUpdates" | "fastDeletes" | "fastLookups" | "actionCalls" | "subFlows" | "innerFlows"
Parameters
-
type: T
-
meta: FlowNodeMetaMap[T]
Returns FlowNodeMetaMap[T]
the metadata.
addStartNode
- addStartNode<T>(type: T, meta: FlowNodeMetaMap[T]): FlowNodeMetaMap[T]
-
Type parameters
-
T: "assignments" | "decisions" | "loops" | "breaks" | "waits" | "recordCreates" | "recordUpdates" | "recordDeletes" | "recordLookups" | "fastCreates" | "fastUpdates" | "fastDeletes" | "fastLookups" | "actionCalls" | "subFlows" | "innerFlows"
Parameters
-
type: T
-
meta: FlowNodeMetaMap[T]
Returns FlowNodeMetaMap[T]
the metadata.
setStartElement
- setStartElement(name: string): void
The flow builder to build a flow.