CVueIdToPersonIdActivity

The CVueIdToPersonIdActivity function captures an Id that is specific to Anthology Student and converts it into a PersonId for use within the workflow.

The Person Type value determines the Id to be converted. Based on the Person Type value, the Id is retrieved from the corresponding database table.

Database Table Id to be Converted
SyStudent SyStudentId
SyStaff SystaffId
SyAddress SyAddressId
PlEmployerContact PlEmployerContactId
SyOrganizationContact SyOrganizationContactId

This conversion activity is required when a Anthology Student specific Id captured from an event (e.g., SyStudentId or SyPersonId) is needed within a workflow activity that uses the PersonId. The PersonId is part of the common data model for applications such as Forms Builder and CampusNexus CRM .

CVueIdToPersonActivity

Properties

CVueIdToPersonIdActivity Properties
Property Value Required Notes
CVueId InArgument<Int32> Yes The CVueId can be one of the following values.

  • SystudentId
  • SyStaffId
  • SyPersonId

Example

DirectCast(CurrentRow(“SystudentId”),Int32)

DisplayName String No Specify a name for the activity or accept the default.
PersonId OutArgument<Int32> Yes The PersonId returned by the conversion 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.
PersonType InArgument<CVuePersonType> Yes The Person Type can be one of the following values.

  • Cmc.Nexus.Converters.CVuePersonType.SyStudent
  • Cmc.Nexus.Converters.CVuePersonType.SyStaff
  • Cmc.Nexus.Converters.CVuePersonType.SyAddress
  • Cmc.Nexus.Converters.CVuePersonType.PlEmployerContact
  • Cmc.Nexus.Converters.CVuePersonType.SyOrganizationContact

To see how this activity can be used in a workflow, refer to