AWS Thinkbox Discussion Forums

Resetting JobID to human readable fomat

Hi there:

Is there a way to reset the Deadline JOB ID from alpha numeric to integer only

5d7faaf0dd54201c505e887b -> 000000001?

thanks
/Biju

I dont think so.
the job id, is actually a unique mongo document objectid.
by using the unique object ids, its quicker to looked up linked objects.
All the ids are globally unique: https://www.mongodb.com/blog/post/generating-globally-unique-identifiers-for-use-with-mongodb

That said;
The only way i can think to get an integer for each job id, would be to use one of the job extra info fields an a python script using the “OnJobSubmittedCallback” event. Theoretically you could add your own integer here, but i suspect , you would create a bottle neck on submission as your state machine figures out how to deal with 2 jobs submitted at the same time…

hope that helps.
Kym

Privacy | Site terms | Cookie preferences