For one filter option I want to add to query filter in the record because the filter options are not in the cdt/table, when I apply 2 filters, it ignores the second filter.
How can I use multiple filter for recordfilter list?
Discussion posts and replies are publicly visible
Can you give us a bit more detail? What did you try?
So the filter I am adding is not in the cdt, I added custom filter options and one option can have two different query filters. When I add two filters, appian skipped the second filter.for example:
a!recordFilterListOption( id:1, name:"Show my tasks only", filter:{ a!queryFilter( field:assignedTo operator:"=", value:loggedInUser() ), if(a!isUserMemberOfGroup( username:loggedInUser(), groups:{}),
a!queryFilter( field: status operator: "=", value: cons!STATUS_RETURNED ), {} ) } ),
Is it intentional with line 13? a "}" is missing
a!recordFilterListOption( id:1, name:"Show my tasks only", filter:{ a!queryFilter( field:assignedTo operator:"=", value:loggedInUser() ), if( a!isUserMemberOfGroup( username:loggedInUser(), groups:{ ), a!queryFilter( field: status operator: "=", value: cons!STATUS_RETURNED ), {} ) } )
yeah its {} I removed the sensitive information from the code
A filter list option does only support a single queryFilter.
just to understand, you miss the effect of the second query filter or as second option to choose from as option?
I miss somehow the "" for the field values (as it has to be string)a!queryFilter( field: "status" operator: "=", value: cons!STATUS_RETURNED )
ah yes. always forget that. the parameter of the option already shows it its "filter" as parameter not "filters"