To Make Fields Read-only on change request form

Vaishnavi35
Tera Guru

Hi,

These are stages in my project instance

find_real_file.png

After Platform Manager has approved- I want Justification, Risk and impact analysis, Backout plan, Test plan, Validate and Communicate Plan, and Implementation plan (on Schedule tab)  fields to be read-only.

Thanks,

Vaishnavi

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

And here an example to start off with, in this case the Backout Plan field. An Access Control like I mentioned.

Again, don't go for Client Side scripting like UI Policy or Client Script. That's absolutely NOT secure!!!

find_real_file.png

Now it's just a matter to add which State this concerns. Or maybe light scripted logic. For example I don't know what you exactly mean with a Platform Manager approver. Is that a State? Is that an actual User Approval? Etc.. Maybe you also want to restrict this to certain roles?

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

View solution in original post

5 REPLIES 5

Kunal Varkhede
Tera Guru

Hi,

 

I want to add one more point in above discussion that using UI policy it is possible simply.

Try below steps

UI Policy:

 

1)Condition: State is approve

 

2)In Related List

UI Policy Action: 

Justification is Read Only(True)

Risk and impact analysis is Read Only(True)

Backout plan is Read Only(True)

Test plan is Read Only(True)

Validate is Read Only(True)

Communicate Plan is Read Only(True)

Implementation plan is Read Only(True)

 

Thanks,

Kunal