Hide Submit Button On Change Request

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2009 03:46 PM
The Create New change request form has both the Submit and Save buttons visible. We would like to hide the Submit button on change request form only but leave it visible on other forms like Incident. I see Save and Submit UI Actions that are Global. Is there a way to disable the button on change request only?
- Labels:
-
Change Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-06-2009 05:40 PM
The following should do the trick:
http://wiki.service-now.com/index.php?title=UI_Actions
Towards the bottom:
Overriding or removing a UI Action for an extended table
If a UI Action is defined on the task table, it will apply to all tasks, including incidents, changes, problems, etc. Same with a "global" UI Action. It is possible to override such a UI Action for a specific table, say the incident table.
Example: To override a higher-level task UI Action and have different behavior for just the incident table, create a UI Action on the incident table with the same "Action name". If the higher-level UI Action does not have an Action name, simply give your new UI Action the same Name.
To have different behavior for the incident UI Action, simply write a different script. To completely remove the UI Action from just the incident table, and have it not show up at all simply put a condition on your UI action of "current.sys_class_name == 'incident'".

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-08-2009 10:09 AM
Thanks for the information. Exactly what I needed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-21-2017 04:41 AM
hi
The following should do the trick:
https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/list-administration/c...
Towards the bottom:
Overriding or removing a UI Action for an extended table
If a UI Action is defined on the task table, it will apply to all tasks, including incidents, changes, problems, etc. Same with a "global" UI Action. It is possible to override such a UI Action for a specific table, say the incident table.
Example: To override a higher-level task UI Action and have different behavior for just the incident table, create a UI Action on the incident table with the same "Action name". If the higher-level UI Action does not have an Action name, simply give your new UI Action the same Name.
To have different behavior for the incident UI Action, simply write a different script. To completely remove the UI Action from just the incident table, and have it not show up at all simply put a condition on your UI action of "current.sys_class_name == 'incident'
Could you please specify what needs to be added in the script if we need to hide the submit button from the Incident form only..
Thanks,
Ankita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-27-2023 11:19 AM
I have got similar scenario
Requirement - Save button should be visible even while creating new record and Submit button should be hidden in new record only for change request.
I have created a new UI action for Change request table with condition !(current.isNewRecord() && !current.canCreate()) && current.canWrite()&¤t.sys_class_name == 'change_request'
and it worked.