Subscribe to Record and Join Concepts
Upon completion of this module, you will be able to:
Before diving into related records, let's review which field types can share data between workflows:
| Field Type | Can Share? | Reason |
|---|---|---|
| Workflow Instance Fields | ❌ No | Private to specific workflow |
| Workflow State Fields | ❌ No | Private to specific state |
| Standard Record Fields | ✅ Yes | Record-level, available to all workflows |
| Custom Record Fields | ✅ Yes | Record-level, available to all workflows |
Understanding which fields can pass data between workflows is critical when configuring the Subscribe to Record action.
A join is the ability to access another record type's data in the context of the base record that the workflow is running on.
A Sales Order record has its own fields, but also has several joined (related) records:
Joins are defined at the record level by specifying the list record you want to join to the base record. Once established, these are referred to as related records.
The Subscribe to Record action allows you to monitor a related record for data changes. When the related record value changes, the workflow "wakes up" and evaluates transition conditions.
Subscribe to Record is used with transitions, not actions. Changes to subscribed records do not cause Before/After Record Submit events—the only valid transition trigger is blank.
Configure the action to subscribe to the related record you want to monitor.
Configure a transition that evaluates the subscribed record's data for changes.
When using Subscribe to Record with Create Record:
Subscribe to Record must execute after Create Record (when subscribing to the created record's fields) but before the transition condition evaluates the data.
A workflow running on a Customer record monitors a related Task record:
Perfect for approval workflows where a task completion should trigger the next step in the parent record's workflow.
| Step | Action | Purpose |
|---|---|---|
| 1 | Create Record (optional) | Create related record, store in custom field |
| 2 | Subscribe to Record | Monitor related record for changes |
| 3 | Configure Transition | Set TRANSITION ON = blank, add condition |
| 4 | Related Record Updated | Workflow wakes up automatically |
| 5 | Transition Evaluates | Executes if condition is true |