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
2 replies
Subscribers
6 subscribers
Views
1160 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Hi, I have two groups; admins and supervisors. Admins can only key transac
karlk
over 11 years ago
Hi,
I have two groups; admins and supervisors. Admins can only key transactions; supervisors can key and approve transactions. A supervisor is not allowed to approve a transaction that they keyed. When I assign a task to the supervisors group is there a straightforward way of excluding a specific user, please?
I can impose restrictions on the actual input form but am interested if there’s anything I can do at the assignment stage.
Thanks
Karl
...
OriginalPostID-102543
OriginalPostID-102543
Discussion posts and replies are publicly visible
Parents
0
karlk
over 11 years ago
Thanks, works nicely! I'm conditionally returning a group or users:
=load(
local!oldUsers:getdistinctusers(topeople(ri!supervisorGroup)),
local!newUsers:difference(local!oldUsers,{ri!supervisorToRemove}),
if(
length(local!oldUsers) = length(local!newUsers),
ri!supervisorGroup,
local!newUsers
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
karlk
over 11 years ago
Thanks, works nicely! I'm conditionally returning a group or users:
=load(
local!oldUsers:getdistinctusers(topeople(ri!supervisorGroup)),
local!newUsers:difference(local!oldUsers,{ri!supervisorToRemove}),
if(
length(local!oldUsers) = length(local!newUsers),
ri!supervisorGroup,
local!newUsers
)
)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data