diff --git a/openapi/openapiv2.json b/openapi/openapiv2.json index 4b6a0f19..37318507 100644 --- a/openapi/openapiv2.json +++ b/openapi/openapiv2.json @@ -6247,6 +6247,10 @@ "pauseOnFailure": { "type": "boolean", "description": "If true, and a workflow run fails or times out, turn on \"paused\".\nThis applies after retry policies: the full chain of retries must fail to\ntrigger a pause here." + }, + "keepOriginalWorkflowId": { + "type": "boolean", + "description": "If true, and the action would start a workflow, a timestamp will not be\nappended to the scheduled workflow id." } } }, diff --git a/openapi/openapiv3.yaml b/openapi/openapiv3.yaml index bb7a6c6a..b4328f9e 100644 --- a/openapi/openapiv3.yaml +++ b/openapi/openapiv3.yaml @@ -4397,6 +4397,11 @@ components: If true, and a workflow run fails or times out, turn on "paused". This applies after retry policies: the full chain of retries must fail to trigger a pause here. + keepOriginalWorkflowId: + type: boolean + description: |- + If true, and the action would start a workflow, a timestamp will not be + appended to the scheduled workflow id. ScheduleSpec: type: object properties: diff --git a/temporal/api/schedule/v1/message.proto b/temporal/api/schedule/v1/message.proto index 8867d23a..ad4bff2e 100644 --- a/temporal/api/schedule/v1/message.proto +++ b/temporal/api/schedule/v1/message.proto @@ -243,6 +243,10 @@ message SchedulePolicies { // This applies after retry policies: the full chain of retries must fail to // trigger a pause here. bool pause_on_failure = 3; + + // If true, and the action would start a workflow, a timestamp will not be + // appended to the scheduled workflow id. + bool keep_original_workflow_id = 4; } message ScheduleAction {