# Automatic Violation Notice

The Automatic Violation Notice Script sends New and Past Due violation notice emails to ParkAdmin users.

For a Lucid Chart Diagram See: Technical Schematic - Step #1

## OPSCOM Settings to be Confirmed:

<div class="columnLayout single" data-layout="single" id="bkmrk-notice-related-setti"><div class="cell normal" data-type="normal"><div class="innerCell"><div class="table-wrap"><table class="wrapped confluenceTable tablesorter tablesorter-default" role="grid"><colgroup><col></col><col></col></colgroup><thead><tr class="tablesorter-headerRow" role="row"><th aria-disabled="false" aria-label="Notice related settings are set under System Config > Notice Literature:: No sort applied, activate to apply an ascending sort" aria-sort="none" class="confluenceTh tablesorter-header sortableHeader tablesorter-headerUnSorted" data-column="0" role="columnheader" scope="col" style="text-align: left; border: 1px solid var(--ds-border,#ddd); vertical-align: top; min-width: 8px; background: var(--ds-background-accent-gray-subtlest,#f0f0f0) center right no-repeat; font-weight: bold; color: var(--ds-text, #172b4d); cursor: pointer; user-select: none; padding: 7px 15px 7px 10px !important;" tabindex="0">Notice related settings are set under System Config &gt; Notice Literature:</th><th aria-disabled="false" aria-label="Violation days until due is set in Tomahawk Options > System Settings:: No sort applied, activate to apply an ascending sort" aria-sort="none" class="confluenceTh tablesorter-header sortableHeader tablesorter-headerUnSorted" data-column="1" role="columnheader" scope="col" style="padding: 7px 15px 7px 10px; text-align: left; border: 1px solid var(--ds-border,#ddd); vertical-align: top; min-width: 8px; background: var(--ds-background-accent-gray-subtlest,#f0f0f0) center right no-repeat; font-weight: bold; color: var(--ds-text, #172b4d); cursor: pointer; user-select: none;" tabindex="0">Violation days until due is set in Tomahawk Options &gt; System Settings:

</th></tr></thead><tbody aria-live="polite" aria-relevant="all"><tr role="row"><td class="confluenceTd">[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/qbximage.png)](https://opscom.wiki/uploads/images/gallery/2024-06/qbximage.png)

</td><td class="confluenceTd">[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/f81image.png)](https://opscom.wiki/uploads/images/gallery/2024-06/f81image.png)

</td></tr></tbody></table>

</div></div></div></div>There are additional settings that will affect whether or not all unpaid violations will be added to the letter or if the selected violations will only be included when it comes time to create the letter report. These settings are found under **System Settings →** **Collections** → **Include All Unpaid Violations.** As mentioned this will allow you to select a single violation in the list and generate a report for all violations associated with that user. Keep in mind that means it will also remove the associated violations from the pick-list on the <span class="legacy-color-text-blue3">Printable Violation Notice Report page even if you only have one of the violations selected.   
</span>

[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/TT9image.png)](https://opscom.wiki/uploads/images/gallery/2024-06/TT9image.png)

<span class="legacy-color-text-blue3">  
</span>

## Notice/Email Summary:

In total there are 4 different types of emails that will be sent once the above is setup:

<div class="columnLayout single" data-layout="single" id="bkmrk-user-overdue-account"><div class="cell normal" data-type="normal"><div class="innerCell">- **User overdue account notice** (lets normal users know they have a violation(s) past due in OPSCOM).
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="6873fa8c-5dcd-435f-8eb9-9b2c1489437a" data-macro-name="expand" resolved=""><div class="expand-control" id="bkmrk-%C2%A0view-email"><span class="expand-control-icon icon"> </span><span class="expand-control-text">View email</span></div><div class="expand-content expand-hidden">  
    </div></div>[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/GF3image.png)](https://opscom.wiki/uploads/images/gallery/2024-06/GF3image.png)
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="6873fa8c-5dcd-435f-8eb9-9b2c1489437a" data-macro-name="expand" id="bkmrk--3" resolved=""><div class="expand-content expand-hidden" id="bkmrk--4"></div></div>
- **User new violation notice** (lets normal users know they have a new violation issued to them the day of, \*note: it seems this will NOT notify older violations once enabled, e.g. violation that is 3 days old vs 1 day old, would only notify the 1 day old user since it's "new").
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="6d65472f-ca1b-41bd-9c1b-a9582ccc7e76" data-macro-name="expand" resolved=""><div class="expand-control" id="bkmrk-%C2%A0view-email-1"><span class="expand-control-icon icon"> </span><span class="expand-control-text">View email</span></div><div class="expand-content expand-hidden">  
    </div></div>[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/iwTimage.png)](https://opscom.wiki/uploads/images/gallery/2024-06/iwTimage.png)
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="6d65472f-ca1b-41bd-9c1b-a9582ccc7e76" data-macro-name="expand" id="bkmrk--5" resolved=""><div class="expand-content expand-hidden" id="bkmrk--6"></div></div>
- **Admin new violation report notice** (emails the OPSCOM administrator telling them how many new violation emails were sent).
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="4c15ff67-d181-45fa-bc21-c532224481e6" data-macro-name="expand" resolved=""><div class="expand-control" id="bkmrk-%C2%A0view-email-2"><span class="expand-control-icon icon"> </span><span class="expand-control-text">View email</span></div><div class="expand-content expand-hidden">  
    </div></div>[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/IO1image.png)](https://opscom.wiki/uploads/images/gallery/2024-06/IO1image.png)
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="4c15ff67-d181-45fa-bc21-c532224481e6" data-macro-name="expand" id="bkmrk--7" resolved=""><div class="expand-content expand-hidden" id="bkmrk--8"></div></div>
- **Admin past due violation report notice** (emails the OPSCOM administrator telling them how many users were emailed past due violation emails AND also how many users couldn't be emailed because they didn't have an email address in the system. These users are added to the "letter report", more info below).
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="da8d2bd4-b2da-4953-bd56-73efe0082006" data-macro-name="expand" resolved=""><div class="expand-control" id="bkmrk-%C2%A0view-email-3"><span class="expand-control-icon icon"> </span><span class="expand-control-text">View email</span></div><div class="expand-content expand-hidden">  
    </div></div>[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/vvDimage.png)](https://opscom.wiki/uploads/images/gallery/2024-06/vvDimage.png)
    
    <div class="expand-container conf-macro output-block" data-hasbody="true" data-macro-id="da8d2bd4-b2da-4953-bd56-73efe0082006" data-macro-name="expand" id="bkmrk--9" resolved=""><div class="expand-content expand-hidden" id="bkmrk--10"></div></div>

</div></div></div>## The NIC Letter

As part of the MTO process an admin can set up a **N**otice of **I**mpending **C**onviction (NIC) letter that can be sent to users who have outstanding violations that will be collected through Ontario courts.  
To configure this letter go to System Messaging and edit the Notice Letter found in the Messages tab.

You can read more about Notice Letters/NIC on this page.

<span data-colorid="mu7sfkl00h">Letter Report:</span>

Users who couldn't be emailed their overdue violations are added to the letter report, which is accessible under Violations &gt; Letter report on the OPSCOM Website. The letter report was created so that OPSCOM administrators can print and mail out overdue violations if they so choose.

[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/GYAimage.png)](https://opscom.wiki/uploads/images/gallery/2024-06/GYAimage.png)

Note: When arriving at this page the results can fall into two categories: Printable Violation Notices and Unprintable. The Unprintable means that there is an incomplete mailing address.

[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/Otfimage.png)](https://opscom.wiki/uploads/images/gallery/2024-06/Otfimage.png)

## Resending a NIC Letter

Once a NIC letter has been sent it is stored with the associated violation. If for any reason you wish to resend or re-output the letter you can do so from the ticket detail. Search for the ticket or locate it on the user's profile then click on the ticket number to view the ticket detail. From here you will see the Overdue Letter button. By clicking on this button you will be able to view and resend the notice.

[![image.png](https://opscom.wiki/uploads/images/gallery/2024-06/scaled-1680-/Mzdimage.png)](https://opscom.wiki/uploads/images/gallery/2024-06/Mzdimage.png)