Set Run Outcome
Record how this run went, beyond whether it crashed. Temporal only knows completed or failed, so a run that did its job while something went wrong along the way is indistinguishable from a clean one. Set 'warning' for that case. Becomes a reportable dimension on the run immediately — no table and no logging required. Call it as many times as needed; the last call wins.
Category: Flow Control & Logic · Group: General · Activity name: SetOutcome

Example
if hasWarnings:
SetOutcome("warning")
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Outcome | string | Yes | One of: ok, warning, error. Bounded because every organisation shares this vocabulary. One of: ok, warning, error. |