Stuck on WorkflowWaitingStatus #181
Unanswered
idffoja-dev
asked this question in
Q&A
Replies: 2 comments 5 replies
-
Did you start a worker?
|
Beta Was this translation helpful? Give feedback.
5 replies
-
I noticed that some kind of error is occurring when serializing some exceptions in WorkflowStub::next, more specifically in $result['trace'][]['args'] When I add the following if, the problem is resolved: public function next($index, $now, $class, $result): void
{
if (is_array($result) && isset($result['trace'])){
$result['trace'] = array_map(function ($item) {
unset($item['args']);
return $item;
}, $result['trace']);
}
...
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello good day everyone,
Can I ask if there is a particular reason why a workflow is stucked in WorkflowWaitingStatus?
And is any function to complete the workflow?
Here is the workflow and activity that I created.
and here is the command that I ran in tinker.
The queue is set to database.
Thank you so much everyone.
Beta Was this translation helpful? Give feedback.
All reactions