How to make Incident number readonly?

Eugene3
Mega Contributor

No one should be able to change incident number

1 ACCEPTED SOLUTION

Willem
Giga Sage
Giga Sage

Why do you want to do it? Number is OOTB only editable by the Admin. This is to solve issues in numbering. It is done via a ACL on Task level, which is inherited by all child tables. Setting read-only for everyone makes it harder for admin to resolve numbering issues:

find_real_file.png

View solution in original post

8 REPLIES 8

Pranav Bhagat
Kilo Sage

You can use dictionary overrides to make it read-only.

Regards

Pranav   

Willem
Giga Sage
Giga Sage

If you want to do it anyway. Please do not set it on the dictionary, but use dictionary override:

find_real_file.png

 

Then:

find_real_file.png

 

Then:

find_real_file.png

Mark Roethof
Tera Patron
Tera Patron

Hi Eugene,

Agree with the comment Willem made about the ACL with write access for admin users. Please mark that answer as correct.

I also saw some replies about changing the TASK dictionary entry. You could do that also, though be aware: then YOU own this dictionary record. So might it be changed by ServiceNow in any future patch/upgrade, a skipped update or you miss out on that update.

What for sure not to do:
Making the number field read only through client side scripting. That's really a horrible solution.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

I agree what Mark said, If you are modifying any out of the box configuration, it will be skipped from future upgrades.

Thank you ,

Abhishek

Thank you,
Abhishek Gardade