Get workflow_id of the currently running workflow pipeline from a job in this pipeline

Hi, is there a way to retrieve the workflow_id of the current pipeline from a job in the pipeline itself if it wasn’t triggered through the API.

The reason why I need that is to approve another job which is part of this pipeline.


I may be misunderstanding something but aren’t you just looking to read CIRCLE_WORKFLOW_ID from the built-in environment variables?

You’re right, thanks!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.