Skip to main content
June 30, 2025
Solved

Error in Filters.

  • June 30, 2025
  • 4 replies
  • 0 views

So i created a constant for all the company names which is normally a best practise in the appian application. 

and then i called this constant in a filter

But then when i was using the filter it wasnt working and all the values were showing in the same line

idk why this is happening can anyone guide me how to rectify this error.

    Best answer by stefanhelzle0001

    This creates only a single filter option. Instead, create a filter expression. Use a!foreach to create a filter option for each item in your list.

    4 replies

    stefanhelzle0001
    June 30, 2025

    This creates only a single filter option. Instead, create a filter expression. Use a!foreach to create a filter option for each item in your list.

    June 30, 2025

    Didn't quite get the point can you kindly elaborate a little more please.

    stefanhelzle0001
    June 30, 2025

    Your constant is a list of values. The guided configuration creates a single filter option for each row. When you assign your constant, Appian will just concatenate all values and put it into that single filter option.

    Do this instead:

    docs.appian.com/.../filter-the-record-list.html