Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

getNextObjNumberPadded() does not set a value.

Elvin_Salim
Tera Contributor

The field has getNextObjNumberPadded(); as its default value, but it sets a new value after the record is submitted, not while the form is loading.

5 REPLIES 5

@ElvinSalim 

check if this helps

Auto numbering field creates empty numbers and logs the error "Evaluator: java.lang.SecurityExceptio... 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader