Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
8 replies
Subscribers
4 subscribers
Views
8924 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
Queryfilter parameters
Richard
over 7 years ago
Given the following:
a!checkBoxField(label: "whatever",choiceLabels: {"banana","apple","strawberry"}, choiceValues: {"banana","apple","strawberry"}, value: split(local!choice,";"),saveInto(local!choice,joinarray(save!value,";")))
can I ....
a!query(
blah
blah
...
filters: { a!queryFilter(field: "fruits", operator: "includes", value: split(local!choice,";"))}
)
or would this work?
a!query(
blah
...
blah
....
filters: {
apply(
a!queryFilter(
field: "fruits",
operator: "includes",
value: _
), split(local!choice,";")
)
}
)
OriginalPostID-272206
Discussion posts and replies are publicly visible
Parents
0
Richard
over 7 years ago
roopeshr - got it, but that really isn't the question. The question is how to handle the queryfilter component of a array that has been condensed into a string. As a string, individual filter items must be contiguous, or they will not match on any substring filter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Richard
over 7 years ago
roopeshr - got it, but that really isn't the question. The question is how to handle the queryfilter component of a array that has been condensed into a string. As a string, individual filter items must be contiguous, or they will not match on any substring filter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data