Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Hide Cancel Button for Cases

Travis Michigan
Mega Sage

I think I must be missing something easy, but can anyone tell me how to hide the Cancel button for fulfillers properly with workplace case/move case?  Only thing I found that wasn't read-only and removed the button, broke the ability of the customers to cancel their case from the service portal.

TravisMelvin_0-1695318955898.png

 

Any help is most appreciated.

1 ACCEPTED SOLUTION

Travis Michigan
Mega Sage

Found the way to accomplish this.  It was the UI Action, but even though it was Read-only I should have looked closer, at the bottom there was a spot to change the visibility.  I can include it in nothing (screenshot) or exclude it from specific  views.

TravisMelvin_0-1695330947450.png

 

View solution in original post

7 REPLIES 7

Jaspal Singh
Mega Patron
Mega Patron

Hi Travis,

Did you check for ui actions? Did you try disabling it from there? 

That was what I thought I was supposed to do, but when I found the Cancel button for sn_wsd_case_workplace_case it was listed as read only.  I was going to make it so only admins could see the button, so someone could still cancel it but the rest wouldn't accidentally click on Cancel.

TravisMelvin_0-1695322372414.png

 

Strange. Did check in my PDI and does not show the read-only thing. 

I made a new Developer instance today and it does also show Read only:

TravisMelvin_0-1695326509125.png

Unless I'm going to the wrong spot to do this and have done so in both instances.