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
5 replies
Subscribers
7 subscribers
Views
2633 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I want to return unique values from a data store using just a rule and query. Th
james.franklin
over 9 years ago
I want to return unique values from a data store using just a rule and query. This is what I have so far but I can't seem to figure out how to leverage the target field array. for the union function to operate on.
=union(todatasubset(rule!GetAllLrules().PUB),todatasubset(rule!GetAllrules().PUB))
So the .PUB part delivers the data sub set how do I then navigate to the field within it?
Ideas and outright solutions most welcome.
Thanks, James
OriginalPostID-147436
OriginalPostID-147436
Discussion posts and replies are publicly visible
Parents
0
james.franklin
over 9 years ago
Nice work mschmitt! I went for the second solution and that has worked a treat. I see your point about execution, the end result is faster and I can now deploy a rule instead of my process exec solution, which was neat but slower. Very tidy.
Thank You!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
james.franklin
over 9 years ago
Nice work mschmitt! I went for the second solution and that has worked a treat. I see your point about execution, the end result is faster and I can now deploy a rule instead of my process exec solution, which was neat but slower. Very tidy.
Thank You!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data