LookupAdvisor (V1)

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

The LookupAdvisor (V1) activity looks up staff members that are flagged as an advisor in Anthology Student. The returned StaffGroupMember entity (see mapping table Cmc.Nexus.Sis) can be filtered by Staff Group, Campus, and Module Type (Academic = AD, Admissions = AM, etc.). The AssignStudentAdvisor (V1) activity can be used to assign the returned StaffGroupMember entity to a student.

If your institution assigns advisors as AD Advisor, an FA Advisor, a CS Advisor, etc. when a student enrolls, use the LookupStudentAdvisors (V1) activity instead of the LookupAdvisor (V1) activity.

LookupStaff

Properties

LookupAdvisor Properties
Property Value Required Notes
Advisor enum Yes Select a value in the drop-down list of the activity in the Designer window.

— OR —

Specify the StaffId using a VB expression or variable.

Business Unit enum Yes Select a value in the drop-down list of the activity in the Designer window.
DisplayName String No Specify a name for the activity or accept the default.
Module Type enum Yes Select a value in the drop-down list of the activity in the Designer window.
Staff Group enum Yes Select a value in the drop-down list of the activity in the Designer window. Staff Groups are filtered based on Module Type selection.

— OR —

Specify the StaffGroupId using a VB expression or variable.

StaffGroupId InArgument<String> Yes Specify the Staff Group Id using a VB expression or variable.

— OR —

Select a value in the drop-down list of the activity in the Designer window.
StaffGroupMember OutArgument<StaffGroupMember> Yes The LookupAdvisor activity returns the StaffGroupMember entity based on the selected Staff Group, Business Unit, and Module Type (Academic = AD, Admissions = AM, etc.) filter. The Id field (mapped to SyStaffByGroup.SyStaffByGroupId) is returned as "0".

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..., navigate to Cmc.Nexus.Contracts > Cmc.Nexus.Sis, and select StaffGroupMember.

variable for staff group member

StaffId InArgument<Int32> Yes Specify the Staff Id using a VB expression or variable.

— OR —

Select a value in the drop-down list of the activity in the Designer window.