Workflow with strict ordering #1330
Closed
abrunner94
started this conversation in
General
Replies: 2 comments
-
There's an example in the readme, though I am totally sympathetic if it's not easy to follow: https://github.com/bensheldon/good_job?tab=readme-ov-file#complex-batches The general idea of getting jobs to run serially: enqueue the jobs to the batch after the previous job(s) in the batch have run. You can do that by either adding another job to the batch within a job in the batch or to use the batch callback job to enqueue additional jobs (batches are mutable in GoodJob). |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is great. The callbacks work very nicely! Thank you! 🙏 |
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
-
I'm trying to compose a workflow, where each step in the workflow is executed serially or based on a
next
attribute.Here is an example of my
Workflow
instance:Is this possible using batches? If so, how can I ensure the order of the workflow and what would that look like?
I've tried this, but looks like the execution is not following strict ordering.
Beta Was this translation helpful? Give feedback.
All reactions