Hi, You can pass {job_id}} and {{run_id}} in Job arguments and print that information and save into wherever it is needed
please find below the documentation for the same:
https://docs.databricks.com/data-engineering/jobs/jobs.html#task-parameter-variables
{{job_id}}
The unique identifier assigned to a job
1276862
{{run_id}}
The unique identifier assigned to a job run
3447843
{{parent_run_id}}
The unique identifier assigned to the run of a job with multiple tasks.
3447835
{{task_key}}
The unique name assigned to a task thatโs part of a job with multiple tasks.