Appian Community and Appian Academy are being upgraded. As a part of the upgrade, Appian Community is currently in read-only mode, and user registration is disabled until August 3. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

I am using the pickerFieldUsers component on 7.5 to display all users from group

I am using the pickerFieldUsers component on 7.5 to display all users from group A who are not in group B. I have got a rule to bring back an array of users and I want to bind the pickerFieldUsers component to that array, using the groupFilter parameter. However, groupFilter only accepts a value of type "Group". Is there a way to bind this picker to an array of users? Or maybe an expression to convert an array of users to a group type?

Thanks!...

OriginalPostID-121247

OriginalPostID-121247

  Discussion posts and replies are publicly visible

Parents
  • I was using a custom picker originally, binding it to an array of users returned from this rule (GroupB is a subset of GroupA):

    difference(
    getgroupmemberuserspaging(cons!GroupA, 0, 2500),
    getgroupmemberuserspaging(cons!GroupB, 0, 2500)
    )

    It works fine when there aren't many users (few hundreds), but on environments where there are thousands of users, the performance is very slow during loading of the page and when searching for users. That is why I wanted to switch to using the new pickerFieldUsers component.

    I have looked into creating a rule-based group, but I don't think there are membership rules in place to mimic what I want to do up there. Unless I am missing something? Any suggestions?

    Thanks!
Reply
  • I was using a custom picker originally, binding it to an array of users returned from this rule (GroupB is a subset of GroupA):

    difference(
    getgroupmemberuserspaging(cons!GroupA, 0, 2500),
    getgroupmemberuserspaging(cons!GroupB, 0, 2500)
    )

    It works fine when there aren't many users (few hundreds), but on environments where there are thousands of users, the performance is very slow during loading of the page and when searching for users. That is why I wanted to switch to using the new pickerFieldUsers component.

    I have looked into creating a rule-based group, but I don't think there are membership rules in place to mimic what I want to do up there. Unless I am missing something? Any suggestions?

    Thanks!
Children
No Data