What's Changed

Workflow Start Delay

Time to wait before dispatching the first Workflow task. If the Workflow gets a Signal before the delay, a Workflow task will be dispatched and the rest of the delay will be ignored. A Signal from WorkflowClientInterface::startWithSignal() won't trigger a workflow task. Cannot be set the same time as a WorkflowOptions::withCronSchedule().

/** @var \Temporal\Client\WorkflowClientInterface $client */

$workflow = $client->newWorkflowStub( GreeterWorkflowInterface::class, \Temporal\Client\WorkflowOptions::new() ->withWorkflowStartDelay(\DateInterval::createFromDateString('1 minute')) );

$client->start($workflow, 'Hello world!');

Full Changelogv2.7.0-BETA1...v2.7.0-BETA2