An orchestration has access to output for its stages, steps, and decisions. Query the
status of any stage or step in the orchestration. Use output parameters from any step’s associated
flow. In an orchestration configured to run on API version 58.0 and later, referenced automatic
outputs that contain a record or a record collection are refreshed with their latest values each
time the orchestration run resumes.
Required Editions
| User Permissions
Needed |
| To open, edit, or create an orchestration in Flow Builder: |
Manage Flow |
Add an element or resource to your orchestration.
When you build an orchestration, automatic outputs for every stage and step in that
orchestration are universally available. This universal availability means that you can
potentially use automatic output in your designed orchestration before it’s available in an
orchestration run. So, when using automatic output, consider the order in which an orchestration
executes its elements and resources.
When a background step runs synchronously and updates a record, the orchestration run
doesn’t refresh $Record until it resumes. The stage can’t access updated field values after the
step completes, and you can’t use them in stage or step exit criteria. To access a field value
that a step updated, use the step’s automatic output instead of referencing $Record
directly.
-
In a resource, value, or input parameter field, select a stage or step from the dropdown
list.
-
Select the automatic output field from the dropdown list.
-
Save your work.