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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

create trigger via MetaServlet API

Is there any (hidden) option to trigger tasks via the MetaServlet API?
Labels (2)
7 Replies
Anonymous
Not applicable
Author

Hi,
I have got some information from our TAC developer.
request resume triggers
MetaServletCaller.bat -url http://localhost:8080/org.talend.administrator/ -json-params={"actionName":"requestResumeTriggers","authPass":"admin","authUser":"admin@company.com","taskId":"5"}
run task
MetaServletCaller.bat -url http://localhost:8080/org.talend.administrator/ -json-params={"actionName":"runTask","authPass":"admin","authUser":"admin@company.com","mode":"synchronous","taskId":65}

We can implement the tac trigger but not the job by MetaServlet API.
Hope it will help you.
Best regards
Sabrina
Anonymous
Not applicable
Author

Thanks a lot for your fast reply. I'm aware of the calls that you mentioned. However, I was really looking for something like "createTrigger" so that I can set up a cron job (trigger) for a task. It would be really cool, if you could implement this feature 0683p000009MA9p.png
What do you mean with "We can implement the tac trigger but not the job by MetaServlet API."? Does this mean that you can implement the "simple trigger" but not the "CRON trigger" via the MetaServlet API? I think that we'll the "CRON trigger".
Anonymous
Not applicable
Author

Hi,
Thanks a lot for your fast reply. I'm aware of the calls that you mentioned. However, I was really looking for something like "createTrigger" so that I can set up a cron job (trigger) for a task. It would be really cool, if you could implement this feature

At present, the function of "CreateTrigger" by the MetaServlet API is not available in Talend. What we can do is just running the Ready-made trigger by MetaServlet API. You can report a ticket on Talend Bugstracker, our developer will track it.
Best regards
Sabrina
Anonymous
Not applicable
Author

okay, here is the related JIRA ticket: https://jira.talendforge.org/browse/TDI-24449
Anonymous
Not applicable
Author

Hi,
It is good, and thanks for your feedback.
Best regards
Sabrina
Anonymous
Not applicable
Author

This functionality is available in the command line interface, at least for v5.1.2 and above
Anonymous
Not applicable
Author

Hi, tomasso
This functionality is available in the command line interface

Would you mind giving us more info about that? All of us are very interested in that. Thank you so much!
Best regards
Sabrina