uncommented the code block

This commit is contained in:
Hari Krishna
2026-02-09 21:26:04 +05:30
parent 6eb783c1b1
commit af7b59e4bb
+4 -14
View File
@@ -4530,21 +4530,11 @@ func checkStandaloneRun() {
// Anything else here. // Anything else here.
} }
// workflowExecution.Results = newResults workflowExecution.Results = newResults
// workflowExecution.Status = "EXECUTING" workflowExecution.Status = "EXECUTING"
// workflowExecution.CompletedAt = 0 workflowExecution.CompletedAt = 0
// Creating a minimal payload to force reset without sending the full execution marshalledResult, err := json.Marshal(workflowExecution)
// This helps avoid validation issues and potential complexity limits
simpleReset := map[string]interface{}{
"execution_id": executionId,
"authorization": authorization,
"status": "EXECUTING",
"results": []interface{}{},
"completed_at": 0,
}
marshalledResult, err := json.Marshal(simpleReset)
if err != nil { if err != nil {
log.Printf("[ERROR] Failed marshalling body: %s", err) log.Printf("[ERROR] Failed marshalling body: %s", err)
os.Exit(1) os.Exit(1)