Skip to content

Automate browser based workflows with AI

update workflow webhook resposne (#2459)

Shuchang Zhengbd8ea04077cc
diff --git a/skyvern/forge/sdk/workflow/service.py b/skyvern/forge/sdk/workflow/service.py
index 0264f78cb..f7b67dcac 100644
--- a/skyvern/forge/sdk/workflow/service.py
+++ b/skyvern/forge/sdk/workflow/service.py
@@ -1228,15 +1228,15 @@ class WorkflowService:
workflow_run_response = WorkflowRunResponse(
run_id=workflow_run.workflow_run_id,
run_type=RunType.workflow_run,
- status=RunStatus(workflow_run.status),
+ status=RunStatus(workflow_run_status_response.status),
output=workflow_run_status_response.outputs,
downloaded_files=workflow_run_status_response.downloaded_files,
recording_url=workflow_run_status_response.recording_url,
screenshot_urls=workflow_run_status_response.screenshot_urls,
failure_reason=workflow_run_status_response.failure_reason,
app_url=app_url,
- created_at=workflow_run.created_at,
- modified_at=workflow_run.modified_at,
+ created_at=workflow_run_status_response.created_at,
+ modified_at=workflow_run_status_response.modified_at,
run_request=WorkflowRunRequest(
workflow_id=workflow_run.workflow_permanent_id,
title=workflow_run_status_response.workflow_title,