Replies: 1 comment 1 reply
-
you do not need flows to achieve this feature, just use two more queues and add a job to one queue or the other from your "parent" job. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know this may not be the ideal place to ask for help on this but I thought I would give it a try. Example use case, e-commerce order processing. I saw the new feature for Flow but I am not sure if it solves my use case. My ideal scenario is first an initial job is created then based on its return value then you decide what the next step should be. For example, the order is placed, if the order is above $100 then do these additional jobs and pass the return value to them. I would like to use the Flow feature but I can't find a solution on how to use the return value of a job to decide which task to perform or not to perform next. The reason I need it decoupled as some of the tasks require calling a third-party API, if it fails I want to retry just that one step. I hope it makes sense.
Beta Was this translation helpful? Give feedback.
All reactions