Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. 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.

Need to remove list of user from all associated groups

Hi All,

We have requirement to remove list of users from All the groups whichever they belongs to. How we can achieve this in Appian 18.3 version? Any help will be appreciated.

Regards,

Sarvesh

  Discussion posts and replies are publicly visible

Parents
  • If you have the People Functions plugin in stalled, this can easily be accomplished.  You can create a process that takes in a single User value, and retrieves the list of their groups with fn!getgroupsformemberuser(), then run a Remove Group Members node as MNI, running once for each group in the listing against the User parameter.  A parent process model will call this sub process also as MNI, once for each user in your list.  

    Note this will only apply to groups these users are Direct members of, if the group membership is defined by a rule, they will not be removed.  Assumptions are that both the list of users and groups per user are under 1000 items, otherwise a looping configuration would be used.  

    OOTB, there is a little more setup involved.  Unfortunately the online documentation does not go back past 2019, so I cannot confirm which functions are available in 18.3.  I would also strongly suggest upgrading to a more recent version of Appian.  

Reply
  • If you have the People Functions plugin in stalled, this can easily be accomplished.  You can create a process that takes in a single User value, and retrieves the list of their groups with fn!getgroupsformemberuser(), then run a Remove Group Members node as MNI, running once for each group in the listing against the User parameter.  A parent process model will call this sub process also as MNI, once for each user in your list.  

    Note this will only apply to groups these users are Direct members of, if the group membership is defined by a rule, they will not be removed.  Assumptions are that both the list of users and groups per user are under 1000 items, otherwise a looping configuration would be used.  

    OOTB, there is a little more setup involved.  Unfortunately the online documentation does not go back past 2019, so I cannot confirm which functions are available in 18.3.  I would also strongly suggest upgrading to a more recent version of Appian.  

Children