I'm trying to start a workflow execution with CronSchedule set with SDK 2.7.2
Describe the bug
When CronSchedule is configured for a workflow, the server rejects the start request with error "CronSchedule and WorkflowStartDelay may not be used together"
Minimal Reproduction
Execute the Cron sample in php-samples, no need for any modification.
Environment/Versions
OS and processor: Linux
Temporal Version: 1.21.5
Are you using Docker or Kubernetes or building Temporal from source? Kubernetes
What are you really trying to do?
I'm trying to start a workflow execution with CronSchedule set with SDK 2.7.2
Describe the bug
When CronSchedule is configured for a workflow, the server rejects the start request with error "CronSchedule and WorkflowStartDelay may not be used together"
Minimal Reproduction
Execute the Cron sample in php-samples, no need for any modification.
Environment/Versions
Additional context
What I think is happening:
In Go SDK they check if WorkflowStartDelay is not zero and only send it if it is not. PHP SDK sends it on every request, so when CronSchedule is set as well, the server rejects the request.