Getting an error while Save / Update the RITM form "Submit canceled due to a script error - please contact your System Administrator servicenow".

santhoshb
Kilo Expert

Getting an error while Save / Update the RITM form "Submit canceled due to a script error - please contact your System Administrator servicenow".The user is having the required write roles as per ACL on RITM form and the user can see the Save button. Where as Admin/Itil can Save the form normally.I suspect this error message is out of box but no clue about the script. please advise.I hopw this was happening in FUJI only.

Appreciate your help.

1 ACCEPTED SOLUTION

santhoshb
Kilo Expert

Hi all,


Thanks for the suggestions and spending your valuable time here.


Found the solution from HI Snow saying,


Solution:


need to give read access on sc_request table to update the sc_req_item table for a particular user who had full permissions on sc_req_item table to update/edit.


Reason:


The reason if you have a reference field in Fuji to be able to read the information from that table you need read access to the table. That is why I just gave them read access to the number field and that is it.



So the culprit is, the user don't have the read access on REQ table, i more concentrated on child table and UI Macros that i created but the Offender is at parent table.


Thanks, Mani kanta KoradaSrinivas TheluPradeep SharmaHarish Murikinati


View solution in original post

12 REPLIES 12

Hi Srinivas,


showing an error "Uncaught ReferenceError: g_form is not defined" in the Developer console which used in UI Macro.I tried after commenting the code but no result. Also a warning message showing.


New Picture (5).bmp


manikorada
ServiceNow Employee
ServiceNow Employee

Santhosh,



Try to deactivate the scripts which are on Catalog Item as these will also apply on the RITM and see if the issue is fixed


santhoshb
Kilo Expert

Hi all,


Thanks for the suggestions and spending your valuable time here.


Found the solution from HI Snow saying,


Solution:


need to give read access on sc_request table to update the sc_req_item table for a particular user who had full permissions on sc_req_item table to update/edit.


Reason:


The reason if you have a reference field in Fuji to be able to read the information from that table you need read access to the table. That is why I just gave them read access to the number field and that is it.



So the culprit is, the user don't have the read access on REQ table, i more concentrated on child table and UI Macros that i created but the Offender is at parent table.


Thanks, Mani kanta KoradaSrinivas TheluPradeep SharmaHarish Murikinati