Why are numbers in the serie skipped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2016 03:39 AM
When creating a new Story in the SDLC module, it get number STRY0000001.
Scenario 1
If I click on save and then "Create New" (under Stories in SDLC) the next story will get STRY0000002 as the number.
Scenario 2
If I click on submit instead and then "Create New" then next story will get STRY0000003 as the number (skipping STRY000002)
Scenario 3
If I click on submit and afterwards on the "New" button on top of the Stories list, the next story will have number STRY0000004 (skipping STRY0000002 and STRY0000003)
How come some numbers in the serie are skipped depending on if I use save/submit and Create New/New?
In scenario 1, I'll get the next number in the serie.
In scenario 2, it'll skip 1 number
In scenario 3, it'll skip 2 numbers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2016 03:49 AM
Hi Fredrik,
Whenever you click 'new' button . Servicenow consider as new record even though if you would have not saved the record. (Numbering)
So, when you click 'New' - It creates STRY0000001 and if you cancel or close without saving the STRY0000001 already considered as Taken .
so when you click the 'New' button next time you can see 'STRY0000002' .
This logic applies for all numbering in sevicenow modules. Like INC/PROB/CHE
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2016 04:11 AM
This is not an issue, the question is why the numbers STRY0000002/3 is skipped in scenario 3.
Create a stry and it get number X, click submit and you end up in the stories list again, click on new button above the list. The next number will be X+3 instead of X+1 which it should have been.
There is noone except me working in this instance so it's not someone else opening stories.
I get the same behavior in other applications like problem, change, incident and so on...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2016 04:53 AM
Ok .. Can you try go to story number and over ride the default value to javascript:getNextObjNumber();
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2016 04:15 AM
hi,
what Syed has mentioned that is correct when ever you click new it will add number, if you save it then only it will be saved to database.