LookupServiceListItem

alert The LookupReferenceItem activity replaces the LookupServiceListItem activity in the new Anthology Student object model. For new or migrated workflows, use the LookupReferenceItem activity under Cmc.Nexus.Common.Workflow.

The LookupServiceListItem activity can be used to retrieve a list of records from the Student Services module. This enables you to reference specific list record data for use within the workflow you are designing. One common use for this is to populate the value of an attribute that is part of an entity record that will be created/updated as within the workflow logic when an instance of the workflow is executed.

The Service Item Types include the following:

Lookup Service List Item Types

After you select the Service Item Type from the drop-down list, the Service List Item drop-down list is populated with valid values for the selected Service Item Type.

For example:

  • If you select Athletic Status in the Service Item Type list, the Service List Item list displays all Athletic Status values that are configured in the Anthology Student database.

  • If you select Veteran Code in the Service Item Type list, the Service List Item list displays all Veteran Codes that are configured in the Anthology Student database.

You can use multiple LookupServiceListItem activities within a workflow.

LookupServiceListItem

Note: The Service List Item field can be a variable that gets a value from the Service List Item Entity object from the event. As shown in the example below, the EventDocType is a variable of type LookupItem.

LookupServiceListItem

Properties

LookupServiceListItem Properties
Property Value Required Notes
DisplayName String No Specify a name for the activity or accept the default.
ServiceItemId InArgument<Int32> Yes The Service Item Id captured from an event.
ServiceListItem OutArgument<LookupItem> Yes The Service List Item 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, and select LookupItem.

variable type

ServiceListItemTypeId InArgument<Int32> Yes The Service List Item Type Id captured from an event. Select a value in the drop-down list of the activity in the Designer window.