How redirect the form?

Saranya K
Tera Contributor

Hi all,

 

Whenever user try to close the CTASK attachment is mandatory once closed all field became read- only.

If attachment is not there then submission cancelled error msg thrown and the from reload and all fields are read-only but the CTASK is not yet closed then why all fields area read-only .

 

To make Read only i have written ACL

Attachment mandatory before BR.

 

My requirement if form saved then all field should be read-only if not then all fields need to be editable 

 

Thanks 

6 REPLIES 6

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Saranya K The reason can be UI policy or client script which run on load and if match it make it read only.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Joel742Bush
Mega Contributor

Hello!

Ensure fields become read-only only after successful form submission by checking for the attachment before saving. If the attachment is missing, the form should remain editable. Adjust your ACL logic accordingly.

Hope this helps! 

Ankur Bawiskar
Tera Patron
Tera Patron

@Saranya K 

seems your ACL is not configured with the correct State value.

Which ACL is that and what type?

Share the ACL screenshot configuration

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Hi @Ankur Bawiskar 

 Write Acl

SaranyaK_0-1738842638683.png