- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2016 09:17 PM
auto assign an incedent number onsubmit of incident form instead of assigning onload?
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2016 10:01 PM
Hi Subrat,
Yes you can auto assign an incident number onsubmit instead of onload.
Just go to Navigation filter << sys_properties.list << Search for glide.itil.assign.number.on.insert and set it to true.
Note: Make sure you don't uncheck the Dynamic default of the number from Dictionary of the table.
Thanks,
Akhil
Hit Like/Helpful/Correct, if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2016 10:10 PM
thank u soo much akhil for d quick response..

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-23-2016 10:19 PM
Welcome
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 12:53 AM
hello bro..
Actually i need to modify only on incident form not change,request etc.
did u get it?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-24-2016 04:16 AM
Hi,
The property will allow you to modify the number field for every table.
Actually if you modify the number field that comes from task table so every table extending that inherits the properties.
If you even uncheck the default value from the number field , it would apply to all the tables using that field.
So , as a workaround I would suggest to write two client scripts on incident table.
First an onload client script :
function onLoad() {
//Type appropriate comment here, and begin script below
g_form.setValue('number','');
}
Second an onsubmit client script:
function onSubmit() {
//Type appropriate comment here, and begin script below
var g1="INC" + Math.floor(Math.random()*1000+1);
g_form.setValue('number',g1);
}
Thanks
Hit Like/Helpful/Correct, if applicable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2016 11:42 AM
Thanks again bro.