Wait for platform event
Suspends the process until the next platform event of the selected type for the explicitly correlated resource.
Vue d’ensemble
Suspends the process until the next platform event of the selected type for the explicitly correlated resource.
Exemple
After issuing an invoice, wait for invoice.paid for that exact invoice before continuing a fulfillment step.
Parameters 2
foreground favors a short visible wait before degrading to background; background immediately presents an external wait that may take longer.Outputs 1
common.event contract.Behavior
Install correlation
After selecting the event type, the editor exposes correlation objects compatible with its contract. At least one resource must be mapped so the wait cannot capture an event unrelated to the instance.
Suspendre l’instance
If the expected event is not yet available, the node enters a durable wait. The instance remains observable during this period.
Resume on the event
The node returns the received event along with the business projections declared by its contract.
Limits and responsibilities
- Correlation that is too broad can resume the process on an event that does not represent the expected case; map the discriminating objects available.
- The node resumes on the next matching event; it does not aggregate complete event history.
- To start a new instance from an event, use a launcher rather than a wait node.
Troubleshooting
- If the instance remains waiting, first check the event type and then the correlation values actually stored on the node.
- Then verify in the event catalog that the expected event actually exposes the resource or object used for correlation.
- For a wait visible in a User Journey, also check the selected continuation mode.