Restrict the copy change ui action on change form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 07:27 AM
We are in need the "Copy change" Ui action to be restricted only to normal and standard changes form. It means on the emergency type change form users should not be able to see the copy change ui action.
How can we achieve this
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 07:34 AM
Hi,
You can clone the existing UI action. Put an additional condition in the newly created UI action.
Also populate the override field with the old OOTB copy Change UI action.
This will help you not to touch OOTB ui action.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 07:39 AM
Hi @Black Coder,
Add condition in Copy UI action as -
existing_condition && current.type == ''normal'' || current.type == ''standard''
Thanks,
Sagar Pagar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 07:42 AM - edited ‎12-27-2022 09:49 AM
There is a UI Action called Copy Change as you are aware. You could add to a condition similar to (current.type=='standard' || current.type=='normal') && [the rest of your condition]
You may need to double check the logic above, but that should get you close
Also, you may want to consider only excluding emergency. You would not want to copy a standard change, but use the catalog.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2022 07:54 AM
I tried what you have mentioned But it didnt work