LookupTerms (V1)

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

The LookupTerms activity is a function that captures the Business Unit Id from an event and returns the Terms for a specified time period.

You could use this activity in a workflow on a Saving event since the Expected Start Date is entered on the Student Master form. The workflow could check whether a valid term start date is entered and provide a validation message.

Another way to use LookupTerms is to create a workflow with a ForEach loop that lists Term start dates within a certain time period of Expected Start Date. The list of Term start dates could be displayed in an Information message.

LookupTerms

Properties

LookupTerms Properties
Property Value Required Notes
Business Unit Id InArgument<Int32> No The Business Unit Id captured from an event.

Note: The Business Id is the Campus Id in Anthology Student.

DisplayName String No Specify a name for the activity or accept the default.
High Start Date InArgument<DateTime> Yes The High Start Date captured from an event.

Note: You can capture a range of dates by specifying different values in the High Start Date and Low Start Date fields. If you are not checking for a range of dates, use the same value in the High Start Date and Low Start Date fields.

Low Start Date InArgument<DateTime> Yes The Low Start Date captured from an event.
Terms List OutArgument<Term[]> Yes The Term List returned by the lookup function. 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 Term.

variable type

The variable type has to be an Array of [Type], where Type is Cmc.Nexus.Sis.Academics.Term.