You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am implementing a flow in order to have an orderly execution of several jobs but I am facing a problem. I need the end of a child job to trigger the execution of several parents. How to do that ?
Describe the solution you'd like
I'll describe my problem with an example from the doc :
The order of processing would be: 'chassis', 'wheels' and finally 'engine'.
Now let's say I want to add the job 'doors' that needs to start once 'chassis' is done at the same time 'wheels' starts. How am I suppose to make both 'wheels' and 'doors' depend on the same child 'chassis' ?
The text was updated successfully, but these errors were encountered:
hi @pbell23, from the title, looks like a duplicate from #1021, but for your use case, you said you need to add a new job (doors) after chassis is done, you just need to add this doors job just before finishing chassis process as a workaround:
constworker=newWorker('queueName',async(job: Job,token: string)=>{//... some workawaitqueueName.add('car',{step: 'doors'});return;// here you can return some result},{ connection },);
hi @roggervalf this is indeed a duplicate. Thanks for linking it. As for the workaround, I think it will work but it takes away all the point of using flows because there is no longer a parent child relationship with the doors job.
Is your feature request related to a problem? Please describe.
I am implementing a flow in order to have an orderly execution of several jobs but I am facing a problem. I need the end of a child job to trigger the execution of several parents. How to do that ?
Describe the solution you'd like
I'll describe my problem with an example from the doc :
The order of processing would be: 'chassis', 'wheels' and finally 'engine'.
Now let's say I want to add the job 'doors' that needs to start once 'chassis' is done at the same time 'wheels' starts. How am I suppose to make both 'wheels' and 'doors' depend on the same child 'chassis' ?
The text was updated successfully, but these errors were encountered: