Helpdesk

Add and Remove User Group

Comments

1 comment

  • Avatar
    AgilePoint NX Support

    Hello Jordan,

    Here is an alternate approach to keep the process flow cleaner.

    AgilePoint supports adding or removing multiple users through the "Edit Group" and "Remove Group Members" activities.

    The "Add Group Members" field supports multiple valid group member names separated by a semicolon (`;`) and can also accept a process data variable. 

    Since you have a subform with two dropdown fields:

    1. Add to Group
    2. Remove from Group

    You can use the AgilePoint Helper Method getSubFormData to retrieve the subform data and identify the users selected for each option, avoiding the need to manually loop through the subform data in the process.
    In your case, create a semicolon-separated list of usernames and store it in a text field and bind that field to the respective activity configuration.

    Here is the documentation link
    https://documentation.agilepoint.com/1000/appbuilder/cloudjsMethodsIntro.html

    Regards,
    Aravind


    0
    Comment actions Permalink

Please sign in to leave a comment.