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
6 replies
Subscribers
4 subscribers
Views
2048 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
123265 - no subject - Is there a way to find out what users se
Keith
over 10 years ago
Is there a way to find out what users select a person as their supervisor? It would be an organization view.
We had a username not change their supervisor and the supervisor in the profile is about three years old.
Since this was high level managers - it alerted us to this issue.
If I put my name in a report or rule - I would want to see everyone using me as their supervisor.
...
OriginalPostID-123265
Discussion posts and replies are publicly visible
Parents
0
Robert Shankin
Appian Employee
over 10 years ago
Here's essentially the same rules in slightly different notation.
See if it evaluates any faster. It may not, but no harm in checking.
rule!COMMON_userSupervisorMatch:
supervisor(ri!theUser)=ri!theSupervisor
/
rule!COMMON_subordinates:
with(
local!allUsers: getdistinctusers(topeople(ri!group))
filter(rule!COMMON_userSupervisorMatch,local!allUsers,ri!theSupervisor)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Robert Shankin
Appian Employee
over 10 years ago
Here's essentially the same rules in slightly different notation.
See if it evaluates any faster. It may not, but no harm in checking.
rule!COMMON_userSupervisorMatch:
supervisor(ri!theUser)=ri!theSupervisor
/
rule!COMMON_subordinates:
with(
local!allUsers: getdistinctusers(topeople(ri!group))
filter(rule!COMMON_userSupervisorMatch,local!allUsers,ri!theSupervisor)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data