LookupAdvisor (V2)

The LookupAdvisor (V2) activity looks up staff members that are flagged as an advisor in Anthology Student. The returned StaffGroupMember entity can be filtered by Staff Group, Campus, and Module Type (Academic = AD, Admissions = AM, etc.). The AssignStudentAdvisor (V2) 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 (V2) activity instead of the LookupAdvisor (V2) activity.

LookupAdvisor

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. Advisors are filtered based on Campus.

— OR —

Specify the StaffId using a VB expression or variable.

Campus 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
<StaffGroupMemberEntity>
Yes The LookupAdvisor activity returns the StaffGroupMember entity based on the selected Staff Group, Campus, 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.... In the 'Browse and Select a .NET Type' window, navigate to Cmc.Nexus.Common.Contracts > Cmc.Nexus.Common.Entities, select StaffGroupMemberEntity, and click OK.

variable type

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.