KBEC-00357 - How do I get the pipeline runtime ID?

Article ID:360032826552
1 minute readKnowledge base
On this page


How do I find the flowRuntimeId for a pipeline run?


You may need to retrieve the flowRuntimeId for running various commands (such as ectool getPipelineRuntimeDetails), which will not work with the pipeline runtime name.

Using ectool

getPipelineRuntimes API can be used to get all flowRuntimes associated with a pipeline. Following ectool request can be used to get the latest flowRuntime and corresponding Id:

ectool getPipelineRuntimes --pipelineName testPipeline --projectName testProject --sortOrder descending --maxResults 1

Using Web UI

To find this UUID easily, go to the pipeline run in the web UI. The URL for this page will contain two UUIDs. For example:

The first UUID is the pipeline definition ID. The second one (2014811b-e2a3-11e6-800e-080027f1374e), is the pipeline run ID.

You can then run ectool as follows:

ectool getPipelineRuntimeDetails --flowRuntimeIds 2014811b-e2a3-11e6-800e-080027f1374e