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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Is UI interaction possible from Talend

Hi

 

I am having a question.

 

I will create a html page where I click button that should run my Talend job.

 

Is this possible.

 

If yes, how can we do this?

 

Thanks in advance,

Meghana.

Labels (2)
4 Replies
Anonymous
Not applicable
Author

https://community.talend.com/t5/Migration-Configuration-and/Exporting-a-Job-script-and-executing-it-...

 

another possibility could be to wrap a (rest) service around your job which calls it as a tRunJob

Anonymous
Not applicable
Author

Thanks for the response..

 

But I think this is not my question.

U are talking about running job outside talend open studio.

 

But my question is UI interaction with talend jobs..

I mean response of UI component should be the result of talend job.

 

Thanks,

Meghana

Anonymous
Not applicable
Author

Hi,

 

     You can use the cTalendJob to create a flow between your mediation and DI job.

 

      Could you please refer below article? The routes component will allow the data to flow from mediation to DI job.

 

https://help.talend.com/reader/wPJh3yAxz0baR8imIwmlYA/Mset8_98HGVelKzxdkV~jQ

 

      You will have to use the mediation perspective to do this task. If you will have to use a request-response flow using Talend, then it is also possible. You can use service in Mediation perspective.

 

https://help.talend.com/reader/PVed0_uMunPl8l_z0jaibw/WQEE9V~JEXEursWsVzQysQ

 

       I would also suggest you to go through all the components in Mediation perspective so that you will become a Guru in mediation process of Talend.

 

https://help.talend.com/reader/PVed0_uMunPl8l_z0jaibw/y9Orb7R3cKh9D52KZsevlw

 

       If the response has helped to answer your query, could you please mark the topic as answered? Kudos are also welcome.

 

Warm Regards,

 

Nikhil Thampi

Jesperrekuh
Specialist
Specialist

Alternative Options :

A - (complex) Using a MessageQ : Your talend job(s) consume topics and also produce messages (and do stuff until new/user input is needed). Your UI also consumes the same messages and wait/interact. 
B - (average) Build a RestFul Api with nodeJs to trigger jobs, your UI simply calls the nodeJS talendjobrunner api and triggers a job. (there's no talend restful job api build it yourself)
C - (very easy) - http://lifepluslinux.blogspot.com/2015/06/crontab-ui-easy-and-safe-way-to-manage.html - use crontab, search a little in order to find ui or alternatives to trigger jobs/scripts through web.