How to Hide the new Button in service operation workspace

abdulrehman
Kilo Guru

abdulrehman_0-1770404848403.png

Hey Team,
Hope you are doing good.
Can anyone guide me how I can remove this New button for the Task. Let me clear you these are not RITM related Task

2 REPLIES 2

Gangadhar Ravi
Giga Sage

 

  • Go to this record in your instance /sys_declarative_action_assignment.do?sys_id=77c43124dbc10010b47d54f9489619d1
  • Under the Actions Exclusions tab you can add table you want to exclude new button on. or just deactivate it but that may impact any child tables of task table.

Please mark my answer correct and helpful if this works for you.

sachin23nas
Tera Guru

Hi @abdulrehman abdulrehman,

The recommended way to remove the New button for the Task table is by using Access Control (ACL), not by deleting the UI Action.

Steps

  1. Go to System Security → Access Control (ACL)

  2. Create or update an ACL with:

    • Type: record

    • Operation: create

    • Table: Task (task)

  3. Set the Role condition based on who should be allowed to create Task records

    • Leave empty to block creation for all users

  4. Save the ACL

Result

  • The New button will automatically disappear from the Task list and related lists

  • Users will not be able to create new Task records

  • Existing Task records remain accessible

Why this is best practice

  • ACLs control behavior globally

  • Prevents record creation via UI, API, Import Sets, and scripts

  • Avoids issues caused by disabling default UI Actions


Alternative (Not Recommended)

Hiding the New UI Action only removes the button visually and does not prevent record creation through other methods.

If you find this response helpful, please mark it as Helpful and accept it as the solution if it addresses your question—it would encourage me to contribute more to the ServiceNow Community.



Thanks & Regards,
Sachin Narayanasamy