Identify a job name in case notebook is triggered from another notebook/

Suman-Sourav
New Contributor II

I am running an another notebook from one of the notebook as below. The main notebook is scheuled with a job/workflow.

dbutils.notebook.run("./ABC/XYZ/another_notebook", 1000)
 
Usually to get the workflow/job name i use any of the below 2 options.
 
1.  desc history dbw_lakehouse.uat.table_name  (if  notebook loads to table)
 
or
 
2. Through API call
 
 
But in my scenario where i am calling notebook from extreanl notebook, i am not seeing the job name in any of the option output.
 
Auy suggesiton?