Override or remove a UI action for an extended table

This example describes how to override or remove a UI action for a table that is extended from another table.

About this task

When a UI action is defined for the Task table, it applies to all tasks, including incidents, changes, problems, and any other tables that extend the Task table. Similarly, a global UI action applies to every table. However, you can override a UI action for a specific table. This example demonstrates how to override a UI action on the Task table for only the Incident table.

Procedure

  1. Complete the following steps to override a UI action on the Task [task] table for just the Incident [incident] table.
    1. Create a UI action on the Incident table with the same Action name.
      If the Action name is not defined, use the same Name.
    2. Enter a script that is specific to the Incident table.
  2. Complete the following steps to remove a UI action on the Task [task] table for the Incident [incident] table.
    1. Navigate to the UI action definition for the Task table.
    2. Add the condition current.getRecordClassName() !='incident'.