File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 99109910 "startWorkflowResult" : {
99119911 "$ref" : " #/definitions/v1WorkflowExecution" ,
99129912 "title" : " If action was start_workflow:"
9913+ },
9914+ "startWorkflowStatus" : {
9915+ "$ref" : " #/definitions/v1WorkflowExecutionStatus" ,
9916+ "description" : " If the action was start_workflow, this field will reflect an\n eventually-consistent view of the started workflow's status."
99139917 }
99149918 }
99159919 },
Original file line number Diff line number Diff line change @@ -7434,6 +7434,21 @@ components:
74347434 allOf :
74357435 - $ref : ' #/components/schemas/WorkflowExecution'
74367436 description : ' If action was start_workflow:'
7437+ startWorkflowStatus :
7438+ enum :
7439+ - WORKFLOW_EXECUTION_STATUS_UNSPECIFIED
7440+ - WORKFLOW_EXECUTION_STATUS_RUNNING
7441+ - WORKFLOW_EXECUTION_STATUS_COMPLETED
7442+ - WORKFLOW_EXECUTION_STATUS_FAILED
7443+ - WORKFLOW_EXECUTION_STATUS_CANCELED
7444+ - WORKFLOW_EXECUTION_STATUS_TERMINATED
7445+ - WORKFLOW_EXECUTION_STATUS_CONTINUED_AS_NEW
7446+ - WORKFLOW_EXECUTION_STATUS_TIMED_OUT
7447+ type : string
7448+ description : |-
7449+ If the action was start_workflow, this field will reflect an
7450+ eventually-consistent view of the started workflow's status.
7451+ format : enum
74377452 ScheduleInfo :
74387453 type : object
74397454 properties :
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ import "google/protobuf/timestamp.proto";
4141
4242import "temporal/api/common/v1/message.proto" ;
4343import "temporal/api/enums/v1/schedule.proto" ;
44+ import "temporal/api/enums/v1/workflow.proto" ;
4445import "temporal/api/workflow/v1/message.proto" ;
4546
4647// CalendarSpec describes an event specification relative to the calendar,
@@ -269,6 +270,10 @@ message ScheduleActionResult {
269270
270271 // If action was start_workflow:
271272 temporal.api.common.v1.WorkflowExecution start_workflow_result = 11 ;
273+
274+ // If the action was start_workflow, this field will reflect an
275+ // eventually-consistent view of the started workflow's status.
276+ temporal.api.enums.v1.WorkflowExecutionStatus start_workflow_status = 12 ;
272277}
273278
274279message ScheduleState {
You can’t perform that action at this time.
0 commit comments