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

Harish Murikina
Tera Guru

Hi Santosh,



                      Is the user trying to change the state field on RITM, If yes to my question, the state field is from task table, thats why he is getting error, check user have access, by debugging ACLS.


Hi Harish,


The scenario doesn't change the state.The user has the proper ACLs, I debugged as well.


srinivasthelu
Tera Guru

Please paste the UI Action script here.



This normally happens with the access restrictions.


Yes, but the user can see the Save and Update buttons( OOB).


Action name: sysverb_update_and_stay


The code is as simple as it is,


        action.setRedirectURL(current);


        current.update();



It is working perfectly for all other user except a particular user group.