The workflow's execute() function is called, but not its first activity's execute() function.
The workflow class method starts with:
public function execute($email_address = '')
{
dump(__CLASS__ . '::execute()', $email_address);
yield ActivityStub::make(SendEmailAddressVerificationEmailActivity::class, $email_address);
and prints:
"App\Workflows\Tests\VerifyEmailAddress\VerifyEmailAddressWorkflow::execute()"
"test@example.com"
But the activity class method doesn't print or log anything:
public function execute($email_address)
{
dump(__CLASS__ . '::execute()', $email_address);
Log::info('Sending to: ' . $email_address);
In the workflows database table all started workflows have status waiting.
I'm using Laravel 10.
The workflow's
execute()function is called, but not its first activity'sexecute()function.The workflow class method starts with:
and prints:
But the activity class method doesn't print or log anything:
In the
workflowsdatabase table all started workflows have statuswaiting.I'm using Laravel 10.