Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

When and where to use onSubjectOk and onComponentOk ?

Actually I don't know when we have to use onSubjectOk and OnComponentOk..

Labels (2)
1 Solution

Accepted Solutions
joearun4u
Creator
Creator

Hi @uganesh ,

 

On subjob Ok:

 

When you want to trigger the component x, after the successful completion of all the compoennts in prior subjob, you have to go with onSubjobOK.

 In other words,  if any one component in subjob fails, it will not trigger the next component.

 

On ComponentOk:

 

When you want to trigger the component x, after the successful completion of component y , you have to go with onComponentOK.

 In other words, it will trigger the next component x after successful completion of previous component y. It will not wait until the subjob complete.

 

For more details, below link may be useful:

https://community.talend.com/t5/Design-and-Development/What-is-the-difference-between-OnSubjobOK-and...

 

Thanks,

Joe

 

Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it

View solution in original post

2 Replies
joearun4u
Creator
Creator

Hi @uganesh ,

 

On subjob Ok:

 

When you want to trigger the component x, after the successful completion of all the compoennts in prior subjob, you have to go with onSubjobOK.

 In other words,  if any one component in subjob fails, it will not trigger the next component.

 

On ComponentOk:

 

When you want to trigger the component x, after the successful completion of component y , you have to go with onComponentOK.

 In other words, it will trigger the next component x after successful completion of previous component y. It will not wait until the subjob complete.

 

For more details, below link may be useful:

https://community.talend.com/t5/Design-and-Development/What-is-the-difference-between-OnSubjobOK-and...

 

Thanks,

Joe

 

Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it

Anonymous
Not applicable
Author