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 an application, such as its location. For example, you could write a formula that adds a Zoning assignment group to any application that requires a zoning review. When a zoning review is added to an application, Infor Public Sector looks for the specific assignment area value defined in the assignment group, such as a postal code or parcel ID. If found, Infor Public Sector assigns the group's reviewer to the review.
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 to automatically assign reviewers to reviews of that type. You define assignment groups using
under in the menu. You then create the assignments for those groups using under . Assignment group formulas use the oBuildingApplication
object (an instance of the Hansen.CDR.Building.iBuildingApplication
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 application has a high priority. Otherwise a State assignment group is added.
If oBuildingApplication.Priority.Code.ToUpper = "HIGH" Then
AssignmentGroup = "Priority"
Else
AssignmentGroup = "State"
End If