Nabrio Help
Nabrio Help

Getting Started

Nara Overview

Understanding Nara

Using Nara

Components

If-ThenFor LoopWhile LoopPause ForProcedure OrderStopSwitch Case

Miscellaneous

Nomenclature
Troubleshooting
Notice and DisclaimerEULA
NodesOperation

Procedure Order

Slot Usage: 1

Overview

Procedure Order tracks multi-step process progression and routes to status-based branches.

It can detect:

  • in-progress execution
  • step order deviations
  • step duration deviations
  • successful completion

It also supports optional concurrent procedure instances.

Input

Procedure Configuration

array required

Ordered list of procedure steps.

Each step item:

  • Step Active (required): dynamic boolean indicating whether step is active now.
  • Step Name: display name for step; defaults to Step N when empty.
  • Expected Duration Range (seconds): [min,max] expected duration window.

Runtime interpretation:

  • Rising edge of Step Active marks step start.
  • Completion depends on selected step completion mode.
  • Deviation time is measured outside expected range.

Concurrent Procedures

boolean

When enabled, multiple procedure instances may be tracked in parallel.

When disabled, single-instance progression is enforced.

Transition Time Threshold (seconds)

number

Threshold for time deviation classification.

If any completed step deviation time exceeds this threshold, final status can become time-deviated.

Set 0 (or empty) to disable threshold-based time deviation decision.

Step Complete Condition

string required

Rule for marking a step as completed:

  • Step Inactive (step_inactive): step completes when it transitions from active to inactive.
  • Next Step Active (next_step_active): step completes when next step becomes active.

This choice strongly affects how quickly status advances in edge-triggered signals.

Reset Procedure Counter

boolean

When true, resets aggregate counters (complete/deviation counts).

Runtime behavior:

  • Counter reset can happen during init and on later runs if dynamic input sets it true.

Output

Procedure Status

string

One of:

  • In Progress (in_progress): procedure is running and not yet terminal.
  • Deviate Step Time (deviate_step_time): completed with timing deviation only.
  • Deviate Step Order (deviate_step_order): completed with order deviation only.
  • Deviate Step Order and Time (deviate_step_order_time): completed with both order and timing deviations.
  • Complete (complete): completed without deviation.

Current Step Name

string

Active/current step label.

Step Information

array

Per-step runtime state:

  • stepName
  • stepActive
  • stepWaitingCount
  • stepCompleted
  • stepDuration
  • stepDeviateTime

Procedure Timing

  • startTime (ISO timestamp)
  • endTime (ISO timestamp)
  • duration (seconds)

Procedure Counters

integer
  • completeCount
  • deviateStepTimeCount
  • deviateStepOrderCount
  • deviateStepOrderTimeCount

Branching

In Progress

Triggered when procedure is still active/non-terminal.

Deviate

Triggered for any terminal deviation status.

Complete

Triggered when procedure finishes without deviation.

Pause For

Previous Page

Stop

Next Page

On this page

OverviewInputProcedure ConfigurationConcurrent ProceduresTransition Time Threshold (seconds)Step Complete ConditionReset Procedure CounterOutputProcedure StatusCurrent Step NameStep InformationProcedure TimingProcedure CountersBranchingIn ProgressDeviateComplete