cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

How to obtain run_id without using dbutils in python?

RaymondLC92
New Contributor II

We would like to be able to get the run_id in a job run and we have the unfortunate restriction that we cannot use dbutils, is there a way to get it in python?

I know for Job ID it's possible to retrieve it from the environment variables.

1 ACCEPTED SOLUTION

Accepted Solutions
2 REPLIES 2

artsheiko
Valued Contributor III
Valued Contributor III

Thank you that's very helpful, we were not aware of these parameterized task values.

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.