Retrieve the status execution for a Task via Tmc Public Api?

Highlighted
Five Stars

Retrieve the status execution for a Task via Tmc Public Api?

Good morning;

 

We tried to retrive excution information about a task in talend cloud, using talend managment console public API. In the API documentation, we see that there is a method that return information about a execution  (Get)/executions/{id}, but to use this method is necesary to know the execution_id. We need to retrive the last execution status for each task executed in a workspace.

 

 

Can we obtain the execution_id for the las task execution?

 

Regards.

Employee

Re: Retrieve the status execution for a Task via Tmc Public Api?

Hello Javier,

 

To get the task execution id, you can following the steps below:

 

1. Log into public api by clicking on Authorize and provide your account credentials. 

2. Use Get available Tasks - /executables method-- get the value called "executable" and use it in the next method
3. In Execute Task - /executions, pass the executables in the request -- the response here is the task execution id.
4. Get Task execution status - /executions/{id} -- use the task execution id from the step above to check the jobs status. 

 

I've also attached screenshots for your reference. 

Five Stars

Re: Retrieve the status execution for a Task via Tmc Public Api?

Hello dnarayanasamy;

 

Many thanks for yoyur answer. We tried it but we have a little problem in 3 step. The method executions that accept the executables in the request is a POST method. This method creates a new excution in Talend Cloud Task. We need recover the last execution to shcedule jobs. 

 

Regards.

 

 

Employee

Re: Retrieve the status execution for a Task via Tmc Public Api?

Hi Javier,

 

There is a feature request that is currently open to retrieve the execution task id for a task that is run from the TMC as a scheduled job. There is no ETA for it yet. 

Five Stars

Re: Retrieve the status execution for a Task via Tmc Public Api?

Hi dnarayanasamy;

Many thanks for your answer.

We await the resolution of the request
Regards.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Self-service Talend Migration: Moving from On-Premises to the Cloud

Move from On-Premises to the Cloud by following the advice of experts

Read Now

Talend Summer 2019 – What’s New?

Talend continues to revolutionize how businesses leverage speed and manage scale

Watch Now

6 Ways to Start Utilizing Machine Learning with Amazon We Services and Talend

Look at6 ways to start utilizing Machine Learning with Amazon We Services and Talend

Blog