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
9 subscribers
Views
3371 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, we are using the user picker and put in a groupFilter to a specific group.
garym
over 10 years ago
Hi, we are using the user picker and put in a groupFilter to a specific group.
a!pickerFieldUsers(
label: "Author",
instructions: "Start typing any letters of the Author's name and select from picklist that will appear. As more letters are typed, the picklist will narrow down",
maxSelections:1,
groupFilter: cons!BMD_BaselineAuthorGroup,
value: ri!selectedDocument.documentAuthor,
saveInto: ri!selectedDocument.documentAuthor
),
The problem is if that particular user gets removed from the group. When we try to go back to that form, it gives us the following error:
Expression evaluation error in rule 'bmd_marketbaselinedocumentdetails'.
A user picker component [label="Author"] has an invalid value for "value". All users must be valid and visible to the viewer.
What would be the best way around this?
...
OriginalPostID-116553
OriginalPostID-116553
Discussion posts and replies are publicly visible
Top Replies
Arun Manoj Senthil Kumar
over 9 years ago
+1
Certified Lead Developer
I too faced the same issue when I tried to store the value in CDT. When i tried the same saving in Rule input(multiple) , it works fine
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Perhaps replace the value() line with the code below; I would suggest refining your logic with respect to what happens to the values passed into the SAIL form and how the "go back" works, but that depends too much on your specific requirements...
value: if(
isusermemberofgroup(ri!selectedDocument.documentAuthor, cons!BMD_BaselineAuthorGroup),
ri!selectedDocument.documentAuthor,
null()
)
(note that this may utilize the peopleFunctions plug-in, I don't remember clearly)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Arun Manoj Senthil Kumar
Certified Lead Developer
over 9 years ago
I too faced the same issue when I tried to store the value in CDT. When i tried the same saving in Rule input(multiple) , it works fine
Cancel
Vote Up
+1
Vote Down
Sign in to reply
Verify Answer
Cancel