Removing Remediate UI action from the Staleness Remediation Task
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2023 04:35 AM
Hi All,
I have a requirement to remove "Remediate" UI action from the Staleness Remediate task form. What is the best practice to achieve this? Please share your inputs.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2023 05:31 AM
That ui action is on two tables 'reconcile_duplicate_task' and 'cert_follow_on_task'. If your requirement is to disable on both tables then you can add a role 'maint' then it will be visible only for Servicenow, with this way you are not making changes to OOB artifact.
Or you can exclude it from default view and create a new view for deduplication task.
Or if you are fine with reviewing skipped records after upgrade then you can change it directly.
Regards,
Vivek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2023 05:43 AM
Hi, @VivekSattanatha We wanted it to remove on the below tables only
stale_ci_remediation, recommended_field_remediation & cert_follow_on_tasks. we dont want to change anything on De-duplication table.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-17-2023 06:35 AM
Then you can exclude it from the default view and create a new view for de-dup table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-18-2023 03:18 AM
Hi @VivekSattanatha @Harsh_Deep Thanks for your response. Instead of adding the condition as mentioned by Harsh can i edit the below from Condition to include Required_field ."current.getRecordClassName().indexOf('_remediation') > -1" i believe its checking the table name that contains the work Remediation. Currently we have 4 tables with the name remediation and its getting extended from TAsk table.