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
group_0 components jobs should be completed before group_1 components, And components that are inside the group should be following sequential manner. So I have tried flow jobs to accomplish but it didn't work in order jobs.
Expected result == >** group_0->componentsA->job1->job2->job3->componentB->job1->job2
group_1->componentsC->job1->job2->job3->componentB->job1->job3
i have also tried to add {priority:5} in { name: 'job1', data: { item : "test1" }, queueName: 'componentA' },but flowjob doesnt have property like priority.
if the way of approach is wrong then please suggest to me the correct way to do it. I appreciate your help.
Flow job structure is i am looking for.
The text was updated successfully, but these errors were encountered:
As long as you put al the jobs inside one children property as an array they will execute in parallel, if you want it in series you need to put it as a chain of parent->children->children->children, etc.
My requirement is :
group_0
components:
componentA:
job1:
job2:
job3:
componentB:
job1:
job3:
group_1
components:
componentC:
job1:
job2:
job3:
componentD:
job1:
job3:
group_0 components jobs should be completed before group_1 components, And components that are inside the group should be following sequential manner. So I have tried flow jobs to accomplish but it didn't work in order jobs.
Expected result == >** group_0->componentsA->job1->job2->job3->componentB->job1->job2
group_1->componentsC->job1->job2->job3->componentB->job1->job3
Code I have tried:
` const chain = await flowProducer.add({
name: 'Groups',
data: { groups: 'list of groups' },
queueName: 'Groups',
children: [
{
name: 'Group_0',
data: { components: 'list of componenets of group 0' },
queueName : 'Group_0',
children: [
{
name: 'Group_0',
data: { data: 'data' },
queueName:'Group_0',
`
i have also tried to add {priority:5} in { name: 'job1', data: { item : "test1" }, queueName: 'componentA' },but flowjob doesnt have property like priority.
if the way of approach is wrong then please suggest to me the correct way to do it. I appreciate your help.
Flow job structure is i am looking for.
The text was updated successfully, but these errors were encountered: