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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
pashworth
Contributor III
Contributor III

API Access to runtime variables (Talend Cloud)

Hi All, 
Sorry if this is the wrong area, couldn't really see one for API stuff.

I would like to retrieve some values from the API during runtime. 

Namely
Execution Id,
Task Name,
Workspace name 
Environment name

To achieve this I have,
In the context of a job I've added flow_execution_id which makes it available at runtime from the context.
From the execution id I can us use the api with /processing/executions/{executionid}.
This gives me the workspace id from which I can get the workspace name and the environment name using /orchestration/workspaces?query=id{workspaceid}

However I cannot see a way of getting the flow(task) name associated with the execution id. 
Am I missing something?

I know I can add the context flow_name to the job but I'd rather not.


Many thanks in advance

Phil

Labels (3)
1 Solution

Accepted Solutions
pashworth
Contributor III
Contributor III
Author

Actually solved this myself.
I see the task (flow) id is in the first call as JobId. 
using this I can get job, workspace and environment info required

View solution in original post

1 Reply
pashworth
Contributor III
Contributor III
Author

Actually solved this myself.
I see the task (flow) id is in the first call as JobId. 
using this I can get job, workspace and environment info required