ManageGroupMembership (V1)

 This activity was migrated to a new namespace. For new workflows use ManageGroupMembership (V2) in Cmc.Nexus.Common.Workflow.

The ManageGroupMembership activity enables you to automate the addition (or removal) of a group member.

This activity is based on the entity.GroupMembership which contains a Group Id and a Person Id. The ManageGroupMembership activity captures a Group Id and a Person Id from an event.

Manage Group Membership

Properties

ManageGroupMembership Properties
Property Value Required Notes
Action InArgument<GroupAction> Yes A drop-down list enabling you to select an action to take when the event occurs. The options are:

  • Add to Group
  • Remove from Group

DisplayName String No Specify a name for the activity or accept the default.
Group Id InArgument<Int32> Yes The Group Id captured from an event.
Person Id InArgument<Int32> Yes The Person Id captured from an event.

Note: If a preceding activity in a workflow returns an Id that is not a Person Id, insert a CVueIdToPersonIdActivity into the workflow before using this property.

User Id InArgument<Int32> Yes The User Id of the staff who added or removed the group member.

To see how this activity can be used in a workflow, refer to Add Students to a Group.