Output Argument Null

How to get the specifically generated JobKey automatically because now I am generating the logs, finding the jobkey, putting it in the URL which is not very robust.

Thanks
Saranya