Timer / Measure Duration

date-time · A425 · starter-package 7.0.1

Calculates how long an action took.

Use

Start, inspect, stop, or measure a timer while keeping the same recorded times throughout the workflow run.

What happens when it runs

This block performs the timing or fallback step using the visible settings.

Inputs

  • mode — Mode: text; options start, elapsed, stop, measure; default start.
  • timer — Timer: record; —; default none.
  • timestampEpochMs — Timestamp (epoch ms): number; minimum 0; maximum 8640000000000000; default none.

Outputs

  • timer — Timer: record; checked before the workflow continues.
  • durationMs — Duration (ms): number; checked before the workflow continues.
  • running — Running: boolean; checked before the workflow continues.
  • fire — Fire: true after successful execution.

Settings

Connected values take precedence over saved settings with the same ID.

IDSettingControlDefaultBounds
modeModeselectstartoptions start, elapsed, stop, measure
timestampEpochMsTimestamp (epoch ms)numbernoneminimum 0; maximum 8640000000000000

Error handling

  • Invalid input stops before the action begins and names the affected setting or connection.
  • If a required service or connected output is unavailable, the message explains what to reconnect or configure.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
modeModeselectstartoptions: start, elapsed, stop, measure
timestampEpochMsTimestamp (epoch ms)numberNot set—