Get JobId before it gets enqued

Hello,

Is there any way I can get the job id before the job gets enqueued?

I need to get the job ID and save this to an associated row in my DB so I can reliably link the HF Job with my row, but it’s possible the job gets started before I get a chance to save the job ID returned from Enqueue().

Thanks

Got it - I scheduled the job first with a max time offset - this means it won’t run but I get the JobId back. Then I .Reschedule() the job which puts on the scheduled state.