How to hide UI action button on change of field value workspace

George_1
Tera Guru

How to hide a ui action on change of a field in CSM workspace.

7 REPLIES 7

@George_1 

Just following up to see whether my suggested post worked for you.

If you're still facing any issues, I'd be happy to help further.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Tera Patron

Hi @George_1 

 

Refer:

Hide the UI Actions in CSM Configurable Workspace 

https://www.servicenow.com/community/developer-forum/how-to-hide-a-ui-action-in-the-csm-workspace-on...

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

ajmalmuhamm
Tera Contributor

Hi @George_1,

In CSM Workspace, UI Actions are not dynamically re-evaluated when a field value changes like they are in the classic UI. Their visibility is determined when the record is loaded.

If you need to hide/show a UI Action based on a field change without reloading the record, you'll generally need to:

  • Use a Workspace Client Script to react to the field change and implement the desired behavior, or

  • Refresh/reload the record so the UI Action conditions are evaluated again.

If the requirement is simply to control visibility, consider moving the logic into the UI Action condition or using Workspace UI Builder if the action is implemented as a workspace component. Native dynamic hide/show of UI Actions on field change is not supported in CSM Workspace.