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
6 subscribers
Views
3065 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi Forum I'd like to display array variables received from a Quer
lincolnf454
over 11 years ago
Hi Forum
I'd like to display array variables received from a Query Database smart service onto a paging grid. I know it is something to do with the todatasubset() function in Appian, but the documentation on in it very confusing and I am struggling to understand how to use it. Does anybody have a tried and tested method for my use case? Any help would be greatly appreciated...
OriginalPostID-101784
OriginalPostID-101784
Discussion posts and replies are publicly visible
Parents
0
lincolnf454
over 11 years ago
Hi Nishanthia, thanks for the quick response
Unfortunately for my use case I cannot use a query rule, since I am using a query database smart service.
Basically, I'd like to implement the exact same use case that my colleague posted about a couple days ago -
forum.appian.com/.../e-101358
- namely a multi filter search in Appian.
Please refer to amirula's 1st solution. We are trying to bring through data based on a specific sql query (a query that a standard query rule, to my knowledge, can't handle).
The query in the smart service node looks like this
WHERE ( ac!nfrst IS '' OR FirstName like '%' + ac!nfrst + '%' )
AND ( ac!nlst IS '' OR LastName like '%' + sc!nlst + '%' )
AND ( ac!njob IS '' OR Job like '%' + sc!njob + '%' )
etc etc
So the smart service returns filtered searches into the paging grid based on specific entries that the user filled in for the search.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
lincolnf454
over 11 years ago
Hi Nishanthia, thanks for the quick response
Unfortunately for my use case I cannot use a query rule, since I am using a query database smart service.
Basically, I'd like to implement the exact same use case that my colleague posted about a couple days ago -
forum.appian.com/.../e-101358
- namely a multi filter search in Appian.
Please refer to amirula's 1st solution. We are trying to bring through data based on a specific sql query (a query that a standard query rule, to my knowledge, can't handle).
The query in the smart service node looks like this
WHERE ( ac!nfrst IS '' OR FirstName like '%' + ac!nfrst + '%' )
AND ( ac!nlst IS '' OR LastName like '%' + sc!nlst + '%' )
AND ( ac!njob IS '' OR Job like '%' + sc!njob + '%' )
etc etc
So the smart service returns filtered searches into the paging grid based on specific entries that the user filled in for the search.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data