CreateStudentCourse (V2)

The CreateStudentCourse activity enables you to create a Student Course so that the student can be registered in that course.

This activity creates an instance of a Student Course; it does not save it to the database. The workflow can include other activities that manipulate the Student Course before it is saved. To persist the Student Course in the database, insert a SaveStudentCourse (V2) activity.

CreateStudentCourse

Properties

CreateStudentCourse Properties
Property Value Required Notes
ClassSectionId InArgument<Int32> Yes Specify the Class Section Id using a VB expression or variable.
DisplayName String No Specify a name for the activity or accept the default.
StudentCourse OutArgument
<StudentCourseEntity>
Yes

The Student Course created by this workflow activity. 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.Academics.Contracts > Cmc.Nexus.Academics.Entities, select StudentCourseEntity, and click OK.

variable type

See StudentCourseEntity Class in the Anthology Student Object Library.

StudentEnrollmentPeriodId InArgument<Int32> Yes Specify the Student Enrollment Period Id using a VB expression or variable.
StudentId InArgument<Int32> Yes Specify the Student Id using a VB expression or variable.
ValidationMessages OutArgument
<ValidationMessageCollection>
No Specify a variable that can be used to capture validation messages. For more information, see Capture Validation Errors.