diff --git a/sqle/api/controller/v2/workflow.go b/sqle/api/controller/v2/workflow.go index 3229f4d9f..eb80730f2 100644 --- a/sqle/api/controller/v2/workflow.go +++ b/sqle/api/controller/v2/workflow.go @@ -1101,6 +1101,8 @@ type WorkflowRecordResV2 struct { Tasks []*WorkflowTaskItem `json:"tasks"` CurrentStepNumber uint `json:"current_step_number,omitempty"` Status string `json:"status" enums:"wait_for_audit,wait_for_execution,rejected,canceled,exec_failed,executing,finished"` + Executable bool `json:"executable"` + ExecutableReason string `json:"executable_reason"` Steps []*WorkflowStepResV2 `json:"workflow_step_list,omitempty"` } diff --git a/sqle/docs/docs.go b/sqle/docs/docs.go index 6df10d57e..a39b29eba 100644 --- a/sqle/docs/docs.go +++ b/sqle/docs/docs.go @@ -18323,6 +18323,12 @@ var doc = `{ "current_step_number": { "type": "integer" }, + "executable": { + "type": "boolean" + }, + "executable_reason": { + "type": "string" + }, "status": { "type": "string", "enum": [ diff --git a/sqle/docs/swagger.json b/sqle/docs/swagger.json index 036a476d1..03436c3d1 100644 --- a/sqle/docs/swagger.json +++ b/sqle/docs/swagger.json @@ -18307,6 +18307,12 @@ "current_step_number": { "type": "integer" }, + "executable": { + "type": "boolean" + }, + "executable_reason": { + "type": "string" + }, "status": { "type": "string", "enum": [ diff --git a/sqle/docs/swagger.yaml b/sqle/docs/swagger.yaml index 538f08e39..9bac8a91f 100644 --- a/sqle/docs/swagger.yaml +++ b/sqle/docs/swagger.yaml @@ -5379,6 +5379,10 @@ definitions: properties: current_step_number: type: integer + executable: + type: boolean + executable_reason: + type: string status: enum: - wait_for_audit