The CreatorCon Call for Content is officially open! Get started here.

I cant able to edit the businessrule its showing cannot edit in readonly mode

HansikaM
Tera Contributor

I cant able to edit the businessrule its showing cannot edit in readonly mode is there any configuration that i did incorrectly.

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@HansikaM 

did you try to clear instance cache using cache.do and then logout and login again?

Is that field readonly at dictionary?

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

SupriyaWaghmode
Kilo Sage
Kilo Sage

Hello @HansikaM ,

 

The image what you have pasted its client script. Yes there some script which is restricted from ServiceNow side. 

If this resolve you query make accepted/helpful.

 

You can check your requirement and accordingly create business rule or Client script. Check ServiceNow documentation for more information. 

 

Thanks & Regards ,

Supriya Waghmode |ServiceNow Consultant

M Iftikhar
Giga Sage

Hi @HansikaM ,

This is because your Script-type field is marked as read-only, you can follow these steps:

  1. Go to System Definition → Dictionary.

  2. Select the table containing the Script-type field (for example, I used the Email Filter table).              

    MIftikhar_0-1758112123978.png

     

  3. Open the Dictionary record for the Script field.
    MIftikhar_1-1758112160473.png

  4. Uncheck the Read-only box click Save.
  5. Open a BR of that table you should now be able o write the BR

    Thanks & Regards, 
    Muhammad Iftikhar 

    If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Shashank_Jain
Kilo Sage

@HansikaM ,

Image you pasted is of client script.

Open any client script > Right click on Script column > Configure Dictionary > Uncheck the read only checkbox and save the record.

 

Note : You will be able to edit the client script now.

If this works, please mark it as helpful/accepted — it keeps me motivated and helps others find solutions.
Shashank Jain