Skip to main content

FlowNode Constructors

An object defining constructors for the FlowNode class.

FlowNode(name, workflowData, workflowCodeInstance)

Constructor for the FlowNode class. Initializes a new instance of the FlowNode class.

Parameters:

name (required): string
The name of the flow object.

workflowData (required): IRuntimeWorkflowData
The workflow data associated with the flow object.

workflowCodeInstance (optional): IWorkflowCode
The optional workflow code instance.


FlowNode(name, workflowData, workflowCodeInstance)

Initializes a new instance of the FlowNode class.

Parameters:

name (required): string
The name of the node.

workflowData (required): IRuntimeWorkflowData
The runtime workflow data required for the node.

workflowCodeInstance (optional): IWorkflowCode
Optional workflow code instance for node operations.