How to Create user filter from expression rule

I am trying to create a user filter with the results from an expression rule which displays distinct options from my table.

I have researched the documentation, and was unable to find any answers with an example. 

How do I call the expression rule to populate the options for this user filter based on the results from the expression rule I have created?

Many thanks in advance for your assistance.

  Discussion posts and replies are publicly visible

Parents Reply
  • This is where I get lost. You're using an expression rule which is a pre-defined query of the data, but the grouping section accesses the field of the recordType, not the output of the expression rule. 

    a!localVariables(
    local!category:
      rule!WAR_QR_getDeficiencyCode(
        fields: a!affregationFields(
          groupings: {
            a!grouping(
              field: "WAR_Defiency code.category" <--- Isn't this from your record Type?

Children