logo

NJP

Related List Declarative Action to open a FILTERED List modal

New article articles in ServiceNow Community · Feb 16, 2026 · article

I eventually got the action payload definition to actually update with my newly added parameter.

The new parameter was "query". I added the query (copied and pasted encoded from the list) and then, foolishly expected it to just work. But it doesn't.

I also tried "filter". I've tried adding it as reference to the payload map, I've tried....EVERYTHING else but the list doesn't filter. I thought I'd cracked it when I realised that I'd added it to the Target Payload Mapping as "type": "EVENT_PAYLOAD_BINDING" but I changed it to JSON literal and it still doesn't filter.

Is there a special trick to this?

I get my list as specified here:

andrewbettc_0-1771254172276.png

But it's the entire list. How do I get it to see the filter?

View original source

https://www.servicenow.com/community/developer-forum/related-list-declarative-action-to-open-a-filtered-list-modal/m-p/3490104#M1247600