Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

Count To..Function Def EndFunction Def StartRun Function ParallelRun Function SeriesIf-ThenFor LoopWhile LoopDelayProcedure OrderStopSwitch Case
Widgets

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesOperation

Run Function Series

Slot Usage: 0
Related Nodes
Function Def Start
Function Def End
Run Function Parallel

Overview

Run Function Series calls a function defined by Function Def Start and Function Def End on this flow path, in sequence. This node waits until the function finishes, then continues with the function return value as outValue.

Place this node on a trigger path. The function definition stays on its own subgraph.

Use Run Function Parallel instead when the function should run on a separate path. See How function nodes work together.

Input

Function Definition Node

string required

Function Def Start node to run.

The picker lists Function Def Start nodes anywhere on the canvas, not only upstream of this node.

The selected Start must have a paired Function Def End so this node's outValue can follow the End return schema.

Output

outValue

object

Function return value from this call. Structure and field types follow the paired Function Def End Function Return Schema.

This node has no argument fields. Pass data into the function with shared variables, by referencing nodes that already ran on this path from the function body, or through the Start node's Function Arguments Schema. See Arguments and return values.

Flow Behavior

This node always waits. On the same path it jumps to the selected Function Def Start, runs the body through Function Def End, copies the End return onto this node's outValue, then continues this node's default output.

jump resume this path Run Function Series Function Def Start body Function Def End default output

Runtime notes:

  • Function Def End does not finish this trigger path. Flow returns here, then continues downstream.
  • The body can read nodes that already ran on this path, and can read/write shared variables.
  • The body may call other functions (or this one) with Series or Parallel. Nested and recursive calls are allowed, up to depth 8.
  • After a successful call, downstream nodes read this node's outValue, not Function Def End.

Run Function Parallel

Previous Page

If-Then

Next Page

On this page

OverviewInputFunction Definition NodeOutputoutValueFlow Behavior