LookupClassSections (V1)
This activity was migrated to a new namespace. For new workflows use LookupClassSections (V2) in Cmc.Nexus.Academics.Workflow.
The LookupClassSections activity is a lookup function that finds the Course Id for a class section based on a specified Course Name and Term Id. The activity includes a Search tool that returns Course Names and Course Codes. When you select a Course in the Search tool, the selected item is inserted into the Course Name field of the LookupClassSections activity and the Search tool is closed. You can use this lookup function during a course registration activity.
Example
A workflow detects when a student's status changes from any status to an enrolled status and automatically registers the student into an introductory course (Intro101). The LookupClassSection activity is used in the workflow to determine the Course Id (that is, the ClassSectionId of the StudentCourse) for the Intro101 course in the applicable term.
Properties
Property | Value | Required | Notes |
---|---|---|---|
Class Section list | OutArgument
|
Yes | The LookupClassSections activity returns an array of class sections associated with a course. Specify a course name in the Course Name field, or click the Search button to find a course and select it. 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.Sis.Academics, and select ClassSection. The variable type has to be an Array of [Type], where Type is Cmc.Nexus.Sis.Academics.ClassSection. |
Course Id | InArgument<Int32>
|
Yes | The Course Id is a variable captured from an event. |
DisplayName | String
|
No | Specify a name for the activity or accept the default. |
Term Id | InArgument<Int32>
|
No | The Term Id is a variable captured from an event. |
To see how this activity can be used in a workflow, refer to