Executing a task and returning its status using MetaServlet
In the following scenario, a task is executed using MetaServlet and its status and Job exit codes are returned in the application.
Prerequisites:
-
An existing task is created on the Job Conductor page of Talend Administration Center.
-
you know the ID of this task (if not, you can use the getTaskIdByName command to retrieve the ID of the task).