HelperStable

Refresh process instance

Reloads the current version of a process instance already carried by the process, using its ID.

process instance
Refresh process instance
Canonical refresh
process instance refreshed

Overview

refresh_process_instance retrieves an object's current state after a step that may have changed the resource. It keeps the same identity and replaces the context snapshot with a more recent read.

Key point Refresh does not “synchronize” an external provider and writes no data. It only rereads the canonical Ormuz object identified by its ID.

Parameters 1

process_instanceRequiredProcess instance
Object platform.process_instance already known to the process. Its ID is used to read the current canonical version.

Outputs 1

process_instanceProcess instance
process instance read from the platform at node execution time. Use this downstream when the previous state may have become stale.

Behavior

Read the identity

The node extracts the ID from process_instance.

Reread the resource

Ormuz loads the canonical state available at execution time.

Replace the downstream snapshot

The following nodes can bind the output process_instance instead of the older object provided as input.

Limits and responsibilities

  • This node does not guarantee that an external system reflects the same state; it only reads the canonical Ormuz process instance object.
  • It is useful only when the object may have changed since it was produced or last read.
  • If the resource no longer exists or is not accessible within the instance scope, the node fails.