Calculating which review assignment group to use

You can use an assignment group formula to calculate which review assignment group Infor Public Sector will use to automatically assign reviewers based on information recorded in a license, such as its type. For example, you could write a formula that adds a BackgroundCheck assignment group to any license that requires a background check. When a background check is added to a license, Infor Public Sector looks for the specific assignment area value defined in the assignment group, such as the license's type. If found, Infor Public Sector assigns the group's reviewer to the background check.

You specify an assignment group formula for a review type when you define the review type. You must specify an assignment group formula for a review type if you want Infor Public Sector to automatically assign reviewers to reviews of that type. You define assignment groups using Review Assignment Group. You then create the assignments for those groups using Review Assignment.

Assignment group formulas use the oLicenseApplication object (an instance of the Hansen.CDR.BusinessLicense.iLicenseApplication class) to set AssignmentGroup to a string value that is the exact name of the assignment group you want. For more information about this object and for sample code, click the Information tab in the Formula Editor.

Example

This example adds a Priority assignment group if the license has a high priority. Otherwise a State assignment group is added.

If oLicenseApplication.Priority.Code.ToUpper = "HIGH" Then
  AssignmentGroup = "Priority"
Else
  AssignmentGroup = "State"
End If