How do you generate a new ticket number only on save?? Basically prevent unused numbers...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2016 09:19 PM
It appears like by default, if you click on New Incident or New Problem or New Change, a number (SYS_ID) is automatically generated even before you save the ticket so in case you do not need to save it, that number is gone forever.
How would you prevent that from happening - meaning assign a new number (SYS_ID) for a ticket only if you save or submit it?
Joe
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2016 09:28 PM
Hi Joseph,
Go to System Properties > System, and look for the property:
"Assign a task number only upon insert (prevents unused numbers)."
Set this to "Yes" by checking the box. That should do it for you.
Thanks,
-Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-19-2016 09:37 PM
Cheers mate.. I'll try that..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 02:30 PM
I'm guessing the solution you pointed me to is a global setting which will affect ALL forms.. Correct??
Is there a way to restrict this setting to apply to only SPECIFIC forms?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-22-2016 02:40 PM
Yes, I'm sure that setting applies to all task types, and I'm not sure where it gets queried to see what the property setting is. There is a BR on [incident] (insert_incident) that sets the INC number:
current.number = getNextObjNumberPadded();
But I'm not clear on where that property gets used to determine when to assign the number, so that maybe you could customize the process by task type.
-Brian