quick-window-91705
08/24/2026, 5:39 PMquick-window-91705
08/24/2026, 5:41 PMrun.status
Meaning: Did the automation run finish at the system level?
Values: PENDING, RUNNING, COMPLETED, FAILED, CANCELLED, SKIPPED
Use for the primary run state badge.
2. System / execution error details
Fields: run.error_detail, run.status_detail
Meaning: Why the run infrastructure or script failed.
Examples: sandbox timeout, callback failure, rate limit, transport/server error, environment unavailable.
Use for technical failure messages, retry hints, and infrastructure blockers.
3. Task outcome
Field: run.run_metadata.finish_tool_response
Meaning: What the agent says happened with the userβs actual task.
Current shape:
{
"status": "success | partial_success | blocked | failed | unknown",
"outcome_summary": "Concise human-readable summary"
}
Use for the user-facing task summary, blocker explanation, and next steps.
Key distinction: a run can be system-level COMPLETED but task-level blocked.
Example:
{
"status": "COMPLETED",
"error_detail": null,
"run_metadata": {
"finish_tool_response": {
"status": "blocked",
"outcome_summary": "Could not post the report because Slack credentials were missing."
}
}
}
Meaning:
β’ The automation ran successfully.
β’ The agent completed its execution.
β’ But the actual user task was blocked.breezy-kilobyte-39430
08/25/2026, 4:47 AMerror_detail.
β’ Pending / Running β lifecycle
β’ Run crashed, cancelled, or skipped β lifecycle
β’ `COMPLETED`+`finish_tool_response`β task badge
β’ `COMPLETED`with no task outcome β Successful
Task status β Badge
success β Successful
blocked β Blocked
failed β Failed
partial_success β Partial
unknown β Needs review
The HubSpot case (COMPLETED + blocked, missing key) should read Blocked plus the agent summary β not Successful with a red env error. Infra copy stays in details.
Details (inspect)
Label all three: Run (COMPLETED), Task (Blocked + summary), System (error_detail / status_detail when present).
Preview of every state in the real page chrome: /automations/preview-activity-log on activity-log-row-preview
github.com/FraterCCCLXIII/openhands-main/tree/activity-log-row-preview
Let me know what you think!breezy-kilobyte-39430
08/25/2026, 4:08 PMquick-window-91705
08/25/2026, 5:16 PMbreezy-kilobyte-39430
08/27/2026, 5:49 PMquick-window-91705
08/27/2026, 5:51 PM