Setting Up Time Rules

Time rules are a set of policies that uses the input code enforcement inspection parameters – due date type, trigger date, priority, and occurrence to calculate due dates.

The following logic is used to calculate due date:

Due Date = Trigger date + Dates based on the time rule

If the number of transactions created exceed the policy count, then the time rule that is defined for the highest policy occurrence will be triggered.

Time rules are assigned to the issue subtype of the incident, the values of which are sourced from the Code Enforcement Options page. See Setting Up Agency-Level Options for Code Enforcement.

Note: Important!: Agency administrators add and modify time rules and assign them to issue subtypes so that appropriate rules are applied for each subtype. Every issue subtype must have a time rule assigned for every system-defined due date type. See Setting Up Issue Subtypes. The following table shows the various delivered due date types and their details.

Due Date Type

Description

Events that calculate the due date

Trigger Date

Usage

Policy Occurrence Count value

ORA_ABATE_APPL_PRD_DUEDT

Appeal in case of mandatory abatement

Case status change to Mandatory Abatement

Date on which the case status changed to Mandatory Abatement

The appeal due date is updated with this date when the case status is changed to mandatory abatement.

1 or more

ORA_INC_REV_DUEDT

Incident review date

Incident creation

Incident report date

The incident in the worklist is marked with a status of Overdue when the calculated review due date is less than the current date.

1

ORA_INIT_INS_DUEDT

Initial inspection date

Initial inspection creation

Inspection schedule date

The Inspection due date is updated with this date when the initial inspection is scheduled.

1

ORA_RE_INS_DUEDT

Re-inspection date

Re-inspection creation

Compliance date

The Inspection due date is updated with this date when the re-inspection is scheduled.

2 or more

ORA_VIOL_CMPL_PRD_DUEDT

Due date for compliance

  • Case creation

  • Inspection resulting in Violation or Remains in Violation.

Case creation date

The date is displayed as the compliance date on the Case page.

The value for the policy occurrence count is one (1) at the time of case creation.

1 or more

2 or more for subsequent inspections that result in Violation or Remains in Violation.

ORA_VIOL_APPL_PRD_DUEDT

Violation appeal period

  • Case creation

  • Case status change to violation as a result of a hearing decision.

  • Inspection resulting in Violation or Remains in Violation.

  • Case creation date

  • Inspection completion date

  • Hearing decision date

Ensures that the Request Appeal option is available only during the calculated appeal period.

1 for case creation and 2 or more for either an inspection that resulted in Remains in Violation or a hearing decision that was updated to Violation.

ORA_CITATN_CMPL_PRD_DUEDT

Due date for citation compliance

  • Citation issuance

  • Inspection resulting in Remains in Citation.

  • Citation issue date

  • Inspection completion date that resulted in Remains in Citation.

Updates the compliance date displayed on the Case detail page.

The first issuance of citation. Subsequently, this rule is applied when citations are issued or when inspections result in Remains in Citation.

ORA_CITATN_DUEDT

Due date for citation payment

Payment initiation

Citation issue date

Late fee is added after the citation payment due date.

1 or more

ORA_CITATN_APPL_PRD_DUEDT

Citation appeal period

Case status change to Citation.

Citation Issue Date

Inspection completion date

Ensures that the Request Appeal option is available only during the calculated appeal period.

1 or more as per citation issuance.

Adding Time Rules

You configure the time rules and policies using the Time Rule page.

  1. Select Code Enforcement Setup > Time Rule. The Time Rule page lists all the time rules that are configured by the agency.

  2. Click Add on the Time Rule page to add a new time rule.

  3. On the Time Rule Detail page, add values to the following fields:

    Page Element

    Description

    Time Rule

    Enter a name for the time rule.

    Description

    Enter a description about the time rule.

    Due Date Type

    Select the type of due date, which determines the time period or due date for a transaction.

  4. Verify that the Enabled switch is turned on. The option is active by default for a new time rule.

  5. In the Time Policy section, click the Add button to define a time policy.

  6. On the Time Policy Details page, select values for the time policy:

    Page Element

    Description

    Priority

    Select the priority for the time policy:

    • High

    • Normal

    Unit of Measure

    Displays the unit of measure of time, which is days.

    Unit of Measure Value

    Select the number of days.

    Policy Occurrence Count

    Select an occurrence count value for the event, such as an inspection.

    Note: The value can't be 0.

    Default

    Turn on this switch to set the time policy as the default for the time rule.

    The first time policy that you create for each priority type is set as the default policy. When you create additional time policies for a priority type, you can select any one of them as the default policy. Designating a time policy as the default removes the default designation from the previously designated policy.

Modifying Time Rules

  1. Select Code Enforcement Setup > Time Rule.

  2. Select the time rule row you want to modify.

  3. On the Time Rule Detail page you can change the time rule description, due date type, and the time policy.

  4. Click the Enabled switch to enable or disable the time rule.

  5. Click Save to save changes.

Deleting Time Rules

  1. Select Code Enforcement Setup > Time Rule.

  2. Select the time rule row you want to delete.

  3. On the Time Rule Detail page, click the Delete button.

Modifying Time Policies

  1. Select Code Enforcement Setup > Time Rule.

  2. On the Time Rule page, select the time policy row to open the Time Policy Detail page. You can change values for priority, unit of measure, unit of measure value, and policy occurrence count.

  3. Click Save to save any changes.

Deleting Time Policies

  1. Select Code Enforcement Setup > Time Rule.

  2. On the Time Rule page, select the time rule row for which you want to change the time policy.

  3. On the Time Rule Detail page, click the time policy row to open the Time Policy Detail page.

  4. Click the Delete button.

  5. To delete multiple time policies from the Time Rule Detail page, click the Edit button in the Time Policy section and select the check boxes for the rows you want to delete.

  6. Click Delete.