Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

OnSubjobOk VS OnComponentOk

Can you explain me the difference between the trigger OnSubjobOk and OnComponentOk ?
Reading the official documentation I see that we can use the trigger OnSubjobOk only for the first component of the process. Why ?
Thx.
Labels (2)
3 Replies
_AnonymousUser
Specialist III
Specialist III

Greetings,
there's a difference between them when you connect a component like e.g. tFileList with two other rows of components and you want it to finish the first row before continuing with the second one.
For example I designed a job where I search for a file and then do some actions and finally write to a database. After that I want to do some other operations with another file and so on. So I connected tFileList to it's own row (some actions and then write to database) using OnComponentOk and to the next tFileList using OnSubjobOk.
Hope that makes the difference a bit comprehensible.
Anonymous
Not applicable
Author

Hi
I have a requirement to develop a joblet i need to check the file existence and if existed have to compare the file against source file data if it matches i have to kill the job.
If the file does not exist i have to come out from the joblet.
Please assist me.
janhess
Creator II
Creator II

I think you need to make a new post or your problem won't be found.