# Assign My Own Unique JobID

**URL:** <https://discuss.hangfire.io/t/assign-my-own-unique-jobid/3806>\
**Category:** question\
**Created:** [September 17, 2017, 4:02am UTC](https://discuss.hangfire.io/t/assign-my-own-unique-jobid/3806 "2017-09-17T04:02:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KenCox](https://avatars.discourse-cdn.com/v4/letter/k/3bc359/32.png) [@KenCox](https://discuss.hangfire.io/u/KenCox)\
**Post date:** [September 17, 2017, 4:02am UTC](https://discuss.hangfire.io/t/assign-my-own-unique-jobid/3806/1 "2017-09-17T04:02:55Z")

</div>

I know that I get a jobID as a returned value as in

var jobId = BackgroundJob.Schedule(

However, I would like to assign my own unique ID as the job ID so that the ID is always known to my code and associated with a given task (and easy to remove).

Is this possible, e.g.,

BackgroundJob.Schedule(jobID=1234(() =\>…

or

BackgroundJob.Schedule.jobID=1234;

Thanks,

Ken

---

<div class="post-metadata">

**Author:** ![pieceofsummer](https://dub1.discourse-cdn.com/flex017/user_avatar/discuss.hangfire.io/pieceofsummer/32/785_2.png) [@pieceofsummer](https://discuss.hangfire.io/u/pieceofsummer)\
**Post date:** [September 17, 2017, 5:07am UTC](https://discuss.hangfire.io/t/assign-my-own-unique-jobid/3806/2 "2017-09-17T05:07:02Z")

</div>

No. This is up to storage to decide how to assign ids for jobs, and what type do they have.
