How to set Parameter as a List

Update to this Tip

If you are using an approach to displaying your results that incorporates a reusable element, you would not be able to use this method…and in fact this method may be able to be adjusted using the following approach and avoids the multiple custom states for ‘is in’ vs ‘is not in’

You can do this without using any custom states

Essentially the extract with regex pattern takes the parameter and turns it into a text list so that the contains and doesn’t contain functions associated with lists will work.

Here is how to add it as a filter

Screen Shot 2020-12-10 at 2.57.50 PM Screen Shot 2020-12-10 at 2.57.42 PM

I actually ended up needing to filter some results and it works very well…I have a data type of Meetings with a related Data type of ‘Event-Types’

I set up a double filter to get to filter my results using the reusable element

The second portion of this ‘double filter’ is shown just above: the first portion is below

All of this would mean the use of multiple custom states as explained in the first post is probably unnecessary overall and you could just use this strategy of the extract with regex pattern.

5 Likes