Removing Remediate UI action from the Staleness Remediation Task

Suvetha S
Tera Contributor

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.

8 REPLIES 8

VivekSattanatha
Mega Sage
Mega Sage

@Suvetha S 

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.

 

VivekSattanatha_0-1697545429212.png

 

Or you can exclude it  from default view and create a new view for deduplication task.

VivekSattanatha_2-1697545835235.png

 

Or if you are fine with reviewing skipped records after upgrade then you can change it directly.

VivekSattanatha_1-1697545528377.png

Regards,

Vivek

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. 

Then you can exclude it from the default view and create a new view for de-dup table.

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. 

SuvethaS_0-1697624083656.png