how to add save button on to the incident form

google1
Kilo Contributor

how to add save button on to the incident form? What are the steps to it?

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Menna,



Navigate to UI action and search for save button->Now modify the record i.e change the table name to incident->Right click on select insert and stay. This will create a new record for incident table.


View solution in original post

8 REPLIES 8

Thank you.



Easier to copy and paste the code below.


======================================


Comments:


Saves an existing record and redirects back to current screen



Hints:


Save record and remain here



Condition:


!(current.isNewRecord() && !current.canCreate()) && current.canWrite()



Script:


action.setRedirectURL(current);


current.update();


hari_goshika
Tera Contributor

Hi Menna,



              Go to incident form right click on header and go to UI Actions you can be created any button.


google1
Kilo Contributor

can anyone help? i need to know how to hide a save button on the updated incident form in the Istanbul version of servicenow. Please post a screen shot ot it.


wngirard
Kilo Contributor

See the following post:   Creating a Save button using UI Action



Chuck is always watching to help us learn.



Change the Table to Incident, update the Action Name so it is unique and then save your new UI Action.



Load the incident form and you should see the Save button now.