Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
JavierRequena
Contributor
Contributor

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.

Labels (2)
15 Replies
Anonymous
Not applicable

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. 


step2.png
step3-input.png
step3-output.png
step4.png
JavierRequena
Contributor
Contributor
Author

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.

 

 

Anonymous
Not applicable

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. 

JavierRequena
Contributor
Contributor
Author

Hi dnarayanasamy;

Many thanks for your answer.

We await the resolution of the request
Regards.
chrissuen
Contributor II
Contributor II

@akhabali is there an ETA for this?  we are unable to monitor scheduled executions from TMC at this moment without having to look at run history manually.

Anonymous
Not applicable

Hello @ris.tan ,

 

For now, ETA is the end of April 2020. 

tbouffard1014
Contributor
Contributor

@akhabali is this ETA still holding?

Thanks

Anonymous
Not applicable

Hello @tbouffard1014  this feature was moved to the July release. please check back in the next few weeks. 

rgimmy
Contributor
Contributor

Is this still scheduled for July? I need this feature as well.