Declarative List Actions do not handle conditions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 08:57 AM
I am building a solution and, I would like buttons to only show on a list if ALL of the selected items can run the button.
You would think this would be a simple, check the right boxes, use the same rule that correctly shows and hides the button in a form and, the list would show and hide the button based on all items selected.
I have tried all of the options in the Action Assignment for list.
I can get the button to always show or not show at all, but I cannot get any condition applied to show the button. If I define ANY condition ,with or without the “Experience Restricted” button checked, I get the same results.
I have tried:
- Using the same script condition that works on the form.
- Using “Requires read access”
- Adding the Record conditions in the script condition used in the form
If I add ANY condition, the button never shows at the top of the list.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2024 02:25 PM - edited 01-03-2024 02:38 PM
This link was sent to me in the ticket I opened. I had already found this and tried it: https://docs.servicenow.com/bundle/vancouver-platform-user-interface/page/administer/workspace/task/...
I tried checking "Disable List Actions Based on Dynamic Conditions"
- Tried setting up condition to call the script.
- That did not work.
- I tried using Record filter.
- That did not work.
This still did not update the list so that my buttons became available only when the condition is met. The buttons do not show up on the list if any of the checkboxes are on.
This is a screenshot of what I tried.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2024 08:28 AM
Hi Rob,
Did you ever find a solution to this issue please? I am facing the same issue.
Regards,
Rajnish Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2025 08:10 AM
Hello , did you please find the "List actions configuration" which Rob mentioned in answer to your question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2024 09:05 AM
Rajinish,
Yes, I was missing a configuration on the list view.
- Do you have the LIst's "List actions configuration" set to @context.app.actionConfigId (I think this is what I was missing)
- For Action config did you select the UX Actions Configuration that has the actions?
- In the Action Configuration, do you have "Experience Restricted" checked: