Stuck in await after running two activities in parallel. #276
Unanswered
chipotlegroove
asked this question in
Q&A
Replies: 1 comment
-
|
After staring at the screen for hours and finally deciding to write a post, a couple of minutes later I found a solution. I ran CreateApprovalRequest2 and 3 sequentially (as all those do, is write to log and in the future save some models in the database I realized there is no need for them to run in parallel) and it worked. Still I'm curious if what I was trying to do is possible. |
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.
-
Hey all!
I'm trying out this package and got stuck trying to continue a workflow after using parallel activities and then using WorkflowStub::await to wait for approval for the two activities that ran previously.
Here is my workflow:
Each of my activities is just a logger that writes: "creating approval request for {RequestNumber}". Like this:
I run the signal methods using buttons on a Livewire component.
The first signaling works flawlessly and both 2 and 3 work when ran sequentially. Only when they are ran in parallel will CreateApprovalRequest4 not execute.
Any ideas as to what I'm doing wrong?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions