How do I hide options on the Add an approval modal?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Update Choice List values
Navigate to System Definition → Choice Lists.
Filter by:
Table: sysapproval_approver (or Approval depending on your exact version).
Element: wait_for.
Deactivate (uncheck “Active”) or delete the unwanted choices (Anyone to approve, Everyone to approve).
Keep only the ones you want visible.
Note: If you remove values that are still referenced in flows/policies, those may break — so safest is to mark them Inactive rather than delete.
Shashank Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
This is what I see and none of these are the right ones - I deactivate them all and I still see the same options in the modal.
I am in Zurich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
Use OnLoad Client Script :
function onLoad() {
// Remove unwanted choices from "wait_for"
// g_form.removeOption('<field_name>', '<choice_value>');
// First param: field name (wait_for) ,
//Second param: the Value from sys_choice (not the Label).
g_form.removeOption('wait_for', 'workflow');
g_form.removeOption('wait_for', 'process_flow');
}
Hope it helps!
Shashank Jain
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a month ago
@Shashank I can load this in Agent Workspace when the modal appears? How do I put that script on the Modal?