- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 07:02 AM
Hi All,
I am trying to create a Save button on the incident form using UI Actions.
This is what it looks like :
This is how I created my UI Action. I actually copied the entire thing from one of the sample Save UI Actions available in Servicenow instance. But, I am unable to see any button on the incident banner.
I want the Save button to be seen next to Update button on Incident form.
Please help. Thanxx in advance.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 07:17 AM
Check to see if you have any other form buttons (particularly that update) that have the same action name sysverb_insert_and_stay. Within the same type (form button, form menu, etc.) action names must be unique.
Also, try a very simple approach first.
Condition: current.canCreate()
Script:
current.update();
action.setRedirectURL(current);
That's it. See if it works and build on from that.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 07:17 AM
Check to see if you have any other form buttons (particularly that update) that have the same action name sysverb_insert_and_stay. Within the same type (form button, form menu, etc.) action names must be unique.
Also, try a very simple approach first.
Condition: current.canCreate()
Script:
current.update();
action.setRedirectURL(current);
That's it. See if it works and build on from that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 07:24 AM
Thank you Chuck.
Can I script it in such a way that it appears next to Update button?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 07:26 AM
No script needed! The order field on the UI action form determines the placement of the buttons (lower numbers to the left, increasing to the right.) You can use negative numbers if you desire to have extreme left.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-21-2017 07:55 AM
Thank you Chuck. It worked