Skip to main content
November 29, 2025
Question

To Restrict a user in picker field -User Should not be displayed in suggestions

  • November 29, 2025
  • 3 replies
  • 0 views

Hi Team, 

I have a requirement where I should not display test.admin user in suggestion

This is my current condition which I have implemented to restrict a user, but it still displays the user in suggestion

Users from Appian Directory, ri!user : User (Type)

a!pickerFieldUsers(
label: "Select User",
maxSelections: 1,
value: if(ri!user = "test.admin", {}, ri!user),
saveInto: ri!user,

required: true,
),

Could someone please help us on this.

    3 replies

    yashwantha0914
    November 29, 2025

    Hi [mention:e73fba090a2740c98337da1ae54dea4d:e9ed411860ed4f2ba0265705b8793d05] 
    Create a group, add the required users to it, and pass the group to the groupFilter parameter in a!pickerFieldUsers() using a constant.

    December 1, 2025

    Yes, thanks yashwanth it worked .

    stefanhelzle0001
    December 1, 2025

    You can use the groupFilter feature, or create a custom picker field based on your specific requirements which users to show.