Skip to main content

Class: FlowExecutionResult

Handles preparing a flow input for transmission to the server.

Constructors​

Constructor​

new FlowExecutionResult(execution): FlowExecutionResult

Parameters​

execution​

ExecutionResponse

Returns​

FlowExecutionResult

Methods​

getCompletedAt()​

getCompletedAt(): Date | undefined

Returns​

Date | undefined

A date object representing the point in time this execution completed.


getFailedAt()​

getFailedAt(): Date | undefined

Returns​

Date | undefined

A date object representing the point in time this execution failed.


getInputs()​

getInputs(): FlowExecutionNodeResult[]

Returns​

FlowExecutionNodeResult[]

A list of input nodes that exist in this execution.


getNodes()​

getNodes(): FlowExecutionNodeResult[]

Returns​

FlowExecutionNodeResult[]

The nodes contained within the execution.


getNodesByType()​

getNodesByType(type): FlowExecutionNodeResult[]

Parameters​

type​

NodeType

The type of node to return.

Returns​

FlowExecutionNodeResult[]

A list of nodes matching the requested type.


getOutputs()​

getOutputs(): FlowExecutionNodeResult[]

Returns​

FlowExecutionNodeResult[]

A list of out put nodes that exist in this execution.


getRaw()​

getRaw(): ExecutionResponse

Returns​

ExecutionResponse

The raw response from the server.