LookupGroup (V1)

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

The LookupGroup activity is a function that captures the Group Id from an event and returns the Group (name).

LookupGroup - Search

LookupGroup - Properties

Properties

LookupGroup Properties
Property Value Required Notes
DisplayName String No Specify a name for the activity or accept the default.
Group OutArgument<Group> Yes The Group (name) returned by the lookup function, for example "Leads". This is a variable that can be used as input for subsequent activities in the workflow. Specify the variable's name, type, and scope (and default if applicable) in the Variables pane of the Designer window.

To identify the variable type, in the Variable type field of the Variables pane, select Browse for Types.... In the 'Browse and Select a .NET Type' window, navigate to Cmc.Nexus.Contracts > Cmc.Nexus, and select Group.

variable type cmc.nexus.group

GroupId InArgument<Int32> Yes Specify the Group Id captured from an event using a VB expression or variable.

Refer to the mapping for the GroupId field in the GroupMembership class.

Note: Mapping occurs between Anthology Student and Anthology:
For Student Group: GroupId = (SyGroupsId * 10 ) + 1

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