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
10 subscribers
Views
4112 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
dynamically creating default filters on record type?
erickp
over 7 years ago
I am using Appian 16.2. Every user in our application is part of different line of businesses and I would like to add a default filter to a record so that a user can only view the records for whatever line of business he/she is part of. (The record is an entity-backed record which is using a View) The problem is the user can be part of multiple line of businesses so for one row of data, there could be multiple line of businesses. So somehow I need to apply over the line of businesses and dynamically add default filters using the "include" operator. For example, if loggedInUser() is part of three line of businesses, then there has to be three default filters using the includes operator. Note: I can't use the "in" operator in this case. Any ideas on how I can accomplish this?
OriginalPostID-236537
Discussion posts and replies are publicly visible
Parents
0
erickp
over 7 years ago
Let's say one line of business code is 200 and another one is 300. Let's say a logged in user is part of those two line of businesses so I want to return rows that includes 200 and 300. For the rows of data that contains multiple line of businesses (in the format 200::300), I don't think the "in" operator will work. Will it? Which is why I need to do "includes" for 200 and 300 (or however many there are)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
erickp
over 7 years ago
Let's say one line of business code is 200 and another one is 300. Let's say a logged in user is part of those two line of businesses so I want to return rows that includes 200 and 300. For the rows of data that contains multiple line of businesses (in the format 200::300), I don't think the "in" operator will work. Will it? Which is why I need to do "includes" for 200 and 300 (or however many there are)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data