Skip to the content.

ProcessAutomation Foundations

This guide consolidates core automation patterns for ProcessAutomation.

Address Resolution

Addresses are resolved in this order:

  1. Optional area prefix (Area::...)
  2. Unit name
  3. Stream-port token (if present)
  4. Property token

Use exact names from discovery APIs and rebuild address maps when topology changes.

Variable Cataloging

Use:

Recommended pattern:

Unit Handling

getVariableValue(address, unit) and setVariableValue(address, value, unit) are unit-aware.

Practical conventions:

Always persist both value and unit in logs/results payloads.

Safe Accessor JSON Schema

Safe accessors (getVariableValueSafe, setVariableValueSafe) return JSON payloads with fields such as:

Treat responses as machine-readable retry/control flow signals.