Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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