I have a workflow that needs to send a series of text & email messages.
Once the workflow begins theres about 15 seconds to accomplish the activities (one for a text and one for an email).
However if there is a failure to finish within those 15 seconds to send a third email with a different activity (only on the failure).
So i’ve done just that and created an activity with a startToFinish of 15 seconds - but that’s not exactly what i wanted for the context deadline to exceed.
Additionally i noticed new tasks get queued and sometimes all get stuck in a ‘running’ state.Each task has a unique workflow id but the same task queue id.
How can I make it so all new workflows run concurrently and don’t wait for the old one to finish (i’m not sure if this is the exact behaviour thats going on it might be concurrent but its just hard to tell when everything on the temporal-web ui is ‘Running’ but it seems like nothing is happening). And also how can i have a failure activity that runs if the first 2 activities aren’t run in time.
Thanks for helping me