Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. READ MORE

Qlik Talend API: How to call Talend API to do Plan Execution

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Bo_Yuan
Support
Support

Qlik Talend API: How to call Talend API to do Plan Execution

Last Update:

May 16, 2024 2:42:57 AM

Updated By:

Sonja_Bauernfeind

Created date:

May 16, 2024 2:42:57 AM

To manage and browse executions of your Tasks, Plans and Promotions, please use the correct objects in the processing entity.

As per our API doc https://api.talend.com/apis/processing/2021-03/ and PlanExecutable section, the object step identifier(stepId) should be equivalent to stepExecutionID.

 For example:

{
"executable": "b91cf8b2-5dd1-4b18-915b-4c447cee5267",
"executionPlanId": "0798b8d1-0e12-472f-be02-a0f04e792daa",
"rerunOnlyFailedTasks": true,
"stepId": "09043c9f-02d0-41f6-b3cb-0ea53ffde377"
}

If we put stepId in the field, it is likely to get exception when calling API to execute plan 
"Validation do not allow processing entity"

The solution is to get all steps for a plan execution (order by designed execution, only steps, without error handlers) to gain stepExecutionID from query by issuing this API

{{apiUrl}}/processing/executions/plans/:planExecutionId/steps


And the executionID in the successful response array of StepExecution is the one you need to select and put in the stepID field of API call post /processing/executions/plans

 

Environment

various Talend Products

Labels (2)
Version history
Last update:
‎2024-05-16 02:42 AM
Updated by: