Hi Everyone,
I am getting this error while I am trying to fetch the data.
A user picker component [label="User Name"] has an invalid value for "value". All users must be valid and visible to the viewer.
Please help me on this.
Discussion posts and replies are publicly visible
Hi, looks like you don't have valid value for selected users. Could you please share your code here ?
This might be caused by a problem in the group visibility setup.
I have checked, it is not group visibility issue
Due to security reason I cant share the code
OK. Then, following the error message, there must be an invalid value. You will need to find it.
Expression evaluation error [evaluation ID = f4152:fa492] in rule 'abs_section_modificationrequest' (called by rules 'abs_section_detailstabs' > 'abs_form_newmodificationrequest') at function a!forEach [line 1577]: Error in a!forEach() expression during iteration 1: Expression evaluation error at function a!pickerFieldUsers [line 1683]: A user picker component [label="User Name"] has an invalid value for "value". All users must be valid and visible to the viewer.
"A user picker component [label="User Name"] has an invalid value for "value". All users must be valid and visible to the viewer"
One of the values is invalid. You will need to find out which one and resolve the issue.
Are you using save!value at Value parameter?
No
local!validDetails: if( rule!APP_isValid( local!username, ri!group ), displayvalue( local!username, index( ri!employeeInfo, "LOGIN", "" ), ri!employeeInfo, "" ), "" )
The above code is not working as expected, In UI it is throwing error due to invalid user.
If USER is not present I want to show blank .