-
Notifications
You must be signed in to change notification settings - Fork 3
DPS Offender Matching
##Introduction The DS Offender Matching module is used to match offenders to members.
##New in Offender Matching
###Model
Offender
This holds all relevant data on an offender, to be compared against People entities.
Match A Match is a potential on confirmed match between an offender and a person, and has attributes include percentage likelyhood and confirmed or not.
###Workflow Type There is now a new workflow type, Offender Matching Request, that will gather offenders from a CSV file and save potential matches to the database.
###Workflow Actions
Import Sexual Offenders
This action imports offenders from a provided CSV file into the Offenders table, by executing a stored procedure of the same name.
Populate Potential Matches Table
This action compares offenders to people and saves the matches to the Matches table, by executing a stored procedure of the same name.
###Tag There is now a new Offender tag that will be attached to anyone marked as an offender.
##Page Layout ###Offender Match Page This page is a child to the People page on the internal site, and is where a staff worker will go through potential matches and mark them as an actual match, not a match, or mark them to be hidden until the probability changes. The DPSEvaluation block is placed here.
##Business Workflow Setup:
- In the DPS workflow config, assign a worker to be sent an email alert
This is how it works:
-
The requester creates a work order with a csv file with a list of offenders.
-
The workflow does the following:
- Rock will fire off the import offenders action, that runs a stored procedure that stores the offenders into the database
- Rock then fires off the Populate Matches Table action, that runs a second stored procedure that compares offenders to the people in the database and populates a table with potential matches.
- Rock then sends an email to the worker assigned to the workflow that alerts them
-
The worker then goes to the Offender Match page under People -> Manage
-
The worker then steps through each offender, declaring people either a match, not a match, or unknown, until they are finished,
- Each time a person is marked as an offender, a tag titled "Offender" is attached to said person and an alert note is created on their timeline with a link to their offender page
-
The worker will then send an email to the requester with a link to the page for the "Offender" tag.
-
The requester will then disseminate the email as appropriate
##Block Attributes
###DPS Evaluation Block
Note Text
The text for the note that is placed on the person's timeline.
Completion Text
The text to be shown upon verifying all matches.