Verification Rules (previously Verification Flags)

Verification Rules (previously Verification Flags)

Overview

Each service delivery is verified automatically by the system upon submission by running the data through the configured Verification Rules for the Opportunity. If a service delivery fails any of the criteria in any Verification Rule, it’s automatically Rejected, otherwise it’s automatically Approved. These decisions cannot be overruled and effectively removes the concept of a “Pending” visit from the Connect platform.

Rules may be set and configured by the Program Manager. Learn more about roles in Connect here: Workspace, Program, and Opportunity Roles and Permissions

 

Any Opportunities created after June 1 will be on the Verification Rules system. Any Opportunities created before June 1 will be kept on the Verification Flags system until the Opportunity is complete.

Configuring Verification Rules

On the Opportunity Dashboard , select the Verification Rules option in the Opportunity Menu to access the Configuration page. Select the relevant rules and parameters.

Verification Flags in Opportunity Menu
image-20260617-142704.png

 

Summary of Rules

Flag Name

Description

Configuration Level

Default/Config Value

When Applied

Flag Name

Description

Configuration Level

Default/Config Value

When Applied

Form Submission Hours

Form was submitted before start time or after end time

Opportunity

form_submission_start and form_submission_end (TimeField, optional)

Form submitted outside allowed time window

Duration

The form was completed too quickly

Deliver Unit

duration (PositiveIntegerField, minutes, per deliver unit)

Form completion time is less than minimum required duration

Form Validation Rules

Form does not satisfy {rule_name} validation rule

Deliver Unit

FormJsonValidationRules (custom rules)

Custom form JSON validation rule is not satisfied

User Suspended

This user is suspended from the opportunity

System

Automatic

Worker is suspended from the opportunity (auto-rejects visit)

Verification Flags information [deprecated]

Background

Each visit is verified automatically by the system upon submission. If a visit is not automatically approved, it is left in Pending status and flagged for further manual investigation. Flags may be set by the Program Manager.

Additional Notes

  • Multiple flags can apply to a single visit

  • Flagged visits require justification when approving (for managed opportunities). Read more: Visit Verification PageVisit Verification Page

  • The user_suspended flag automatically sets visit status to rejected

Summary of Flags

Flag Name

Description

Status

Configuration Level

Default/Config Value

When Applied

Flag Name

Description

Status

Configuration Level

Default/Config Value

When Applied

Duplicate

A beneficiary with the same identifier already exists

Deprecated

Opportunity

duplicate = True (default)

Visit status is already marked as duplicate

GPS

GPS data is missing

Deprecated

Opportunity

gps = True (default)

Visit has no location data (location is None)

Location

Visit location is too close to another visit

Deprecated

Opportunity

location = 10 meters (default)

Visit is within configured distance of another visit for same deliver unit

Catchment

Visit outside worker catchment areas

Deprecated

Opportunity

catchment_areas = False (default)

Visit location is outside all active catchment areas assigned to worker

Form Submission Hours

Form was submitted before start time or after end time

Converted to Verification Rule

Opportunity

form_submission_start and form_submission_end (TimeField, optional)

Form submitted outside allowed time window

No Attachment

Form was submitted without attachments

Deprecated

Deliver Unit

check_attachments (BooleanField, per deliver unit)

Deliver unit requires attachments but form has none (excluding form.xml)

Duration

The form was completed too quickly

Converted to Verification Rule

Deliver Unit

duration (PositiveIntegerField, minutes, per deliver unit)

Form completion time is less than minimum required duration

Form Validation Rules

Form does not satisfy {rule_name} validation rule

Converted to Verification Rule

Deliver Unit

FormJsonValidationRules (custom rules)

Custom form JSON validation rule is not satisfied

User Suspended

This user is suspended from the opportunity

Converted to Verification Rule

System

Automatic

Worker is suspended from the opportunity (auto-rejects visit)