How to hide options in the drop down of "Actions on selected rows"?

Swati36
Tera Contributor

Hello!

 

I am looking for a way to hide the "Delete" and "Delete with preview" options from the "Actions on selected rows" section on the "Affected CIs" tab of a normal change when the change is in the Authorize / WIP state.

Swati36_0-1698670793158.png

 

Please suggest any ideas!

 

2 REPLIES 2

Harsh_Deep
Giga Sage
Giga Sage

Hello @Swati36 

 

Goto the UI Action and search for these buttons and then use conditions that if current.state !='authorized'.

Please note while searching for the ui action you have to search for the "Affected CI" table.

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.

Utpal Dutta
Tera Guru
Tera Guru

Hi Swati,

These actions are the UI actions. You can see these UI Action records in System UI > UI Action module.

To control the visibility of these UI actions you need to modify the conditions of these UI Actions as these actions are global action please be careful.

If your conditions are too long, I will suggest you to please create a Script Include and call it in conditions field of UI action as this condition field is server side.

 

If my answer helps then please mark it Helpful or Correct!

 

Thanks,

Utpal