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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
xkr
Contributor II
Contributor II

Joblet usage in data service project / trigger a separate lookup flow

Hi Guys,

I'm developing a relatively simple interface which does the following

Accepting a JSON, parse it, extract one field (ISO2 country codes) which i need to lookup an ID in another system by given country code, and unite all the information back to do further stuff.

For the lookup part, i've designed a straight forward joblet, which you can see in the screenshot.

xkr_1-1725362249316.png

 

If i run the job in Studio as plain job everything works fine.

But if i run the job as an deployed endpoint, the joblet wont't get executed, resulting in a job dead lock....

xkr_2-1725430979778.png

 

But even when I resolve the joblet and put it all in one flow, running as data service, it won't trigger the lookup part, while running it as job everything works fine

What do i have to change, so that the lookup part in the joblet will be executed/triggerred when running an endpoint service?


thanks a lot  and cheers

 

Labels (4)
1 Solution

Accepted Solutions
Xiaodi_Shi
Employee
Employee

Hello,

The connection type OnComponentOK behavior is totally dependent on the predecessor component.

OnSubjobOK and OnComponentOK are trigger links, which can link to another subjob. The main difference between them lies in the execution order of the linked subjob.

For more information, please refer to this official documentation:

https://community.qlik.com/t5/Official-Support-Articles/Talend-Studio-What-is-the-difference-between...

Hope it helps.

Best regards

Sabrina

 

View solution in original post

3 Replies
xkr
Contributor II
Contributor II
Author

In the meantime i figured out that, if I run the data service job, the subjob for the lookup gets executed once at start immediately, and doesn't wait for the REST call, so to precise my upper question, how can i trigger a subjob/flow or wait until a component says "OK, now it's your turn" .... I did an OnComponentOK, but that doesn't prevent the subjob from being executed once at startup, and not until the needed data is present

Xiaodi_Shi
Employee
Employee

Hello,

The connection type OnComponentOK behavior is totally dependent on the predecessor component.

OnSubjobOK and OnComponentOK are trigger links, which can link to another subjob. The main difference between them lies in the execution order of the linked subjob.

For more information, please refer to this official documentation:

https://community.qlik.com/t5/Official-Support-Articles/Talend-Studio-What-is-the-difference-between...

Hope it helps.

Best regards

Sabrina

 

xkr
Contributor II
Contributor II
Author

Beside the fact that it doesn't actually solved my initial problem when using a joblet, after refactoring my job combined with the hint you gave me, i now have a working solution...

Thanks Sabrina