Capabilities
Capabilities | Supported |
Connector Capabilities | |
Read | Yes |
Backfill | Yes |
Bidirectional Capabilities | |
Incident Create | No |
Incident Update | No |
Narrative Update | No |
Bidirectional capabilities are not available for this connector.
Overview
The Data Agent reads closed incidents from the TAC Public Safety SQL Server database with read-only access. It reads either the GOVCALLS and GOVUNITS views or the CALL and UNIT tables.
The Data Agent reads incidents closed within a rolling window of 30 minutes by default. It resumes from the last closed incident it read. Backfill reads a fixed time interval instead.
No CAD data is stored on the local server running the Data Agent.
SQL Server Configuration Notes
To ensure a successful and secure connection, verify the following:
Firewall Access: Ensure the server hosting the GovWorx Data Agent can reach the SQL Server over the appropriate network and port (typically TCP 1433).
Minimum Permissions: The provided database user must have read-only access to relevant tables, views, or stored procedures. Write access is not required or recommended.
Instance Visibility: If using a named instance, confirm SQL Server Browser service is running, or explicitly provide the port number.
Troubleshooting Tips
Login Failed? Verify the SQL user is enabled and not locked out.
Timeout Errors? Check network routes and firewall rules.
Invalid Database? Ensure the
databasefield in the config matches the actual schema name.No responders on incidents? In views mode, the INCIDENTNUMBER column in the unit view must match the INCIDENTNUMBER column in the call view in type and format.
Invalid source name? The call and unit names accept a plain or bracketed object name with an optional schema, such as [dbo].[GOVCALLS].
Network Requirements: The server running the Data Agent should be able to connect to the CAD Reporting server over port 1433. This can be tested using PowerShell.
PowerShell Command:
Test-NetConnection -ComputerName {CAD Reporting Server name or IP} -Port 1433
Standard Data Fields
These are the standard data fields the Data Agent reads from TAC Public Safety. The tables below show each GovWorx field and the column it comes from, for both the views and the tables. The Data Agent trims blank padding from text values.
Note: Additional fields are considered enhancement requests.
Incident fields
GovWorx field | TAC Public Safety source | Notes |
Incident ID |
| CAD record key. |
Incident Number |
| |
Case Number |
| In table mode, the first value that is not empty. Uses TRN_NO when all four are empty. |
Incident Type |
| |
Initial Incident Type |
| Table mode only. |
Agency |
| |
Agency Type |
| In table mode, PD, FD or EMS for the first flag set to 1. |
Incident Date |
| In table mode, the date and the time combined. |
Disposition |
| |
Location |
| In table mode, these columns joined with spaces. |
Priority |
| |
Latitude |
| |
Longitude |
| |
Caller Number |
| View mode only. |
Caller Name |
| View mode only. First, middle and last name joined with spaces. |
Call Position |
| |
Call Taker ID |
| |
Call Source |
| View mode only. |
Call Received Time |
| In view mode, uses DATEOFCALL and then INCIDENTDATE when empty. The earliest CAD note timestamp setting replaces this with the earliest note time. |
Closed At |
| In table mode, the latest clear time of any unit on the call. |
Response Area |
|
Notes
GovWorx field | TAC Public Safety source | Notes |
Note ID |
| The incident key plus a note suffix. |
Note Text |
| One consolidated narrative for each incident. The view stores it in NOTEAT. |
Note By |
| Uses DISPATCHER (view) or USER (table) when empty. |
Note Time |
| In table mode, uses the call received time when LASTUPDATE is empty. |
Responders and units
GovWorx field | TAC Public Safety source | Notes |
Unit Name |
| |
Personnel ID |
| |
Dispatched By |
| In table mode, uses DISP2 from the call when CAD is empty. |
Dispatched At |
| |
Enroute At |
| |
Arrived At |
| |
Cleared At |
|
Data Agent Settings
To prepare for this connection, we need the following details. These are settings in the GovWorx Data Agent configuration for this connector. A toggle is an on/off switch in that configuration.
Setting | Type | Explanation |
| Text | Host name or IP of the SQL Server |
| Text | Database to read from |
| Toggle | Toggle will enable the use of a domain service account that is configured to run the agent service as authentication to SQL server |
| Text | Database user. Not needed with integrated security. |
| Password | Database password. Not needed with integrated security. |
| Text | Choose views to read the GOVCALLS and GOVUNITS views. Choose tables to read the CALL and UNIT tables. Default: views. |
| Text | Name of the call view or table. Default: [GOVCALLS] for views, [CALL] for tables. |
| Text | Name of the unit view or table. Default: [GOVUNITS] for views, [UNIT] for tables. |
| Text | Time back to query ([days.]hh:mm). Default: 00:30, 30 minutes. The Data Agent uses this on the first run. Later runs resume from the last closed incident. |
| Toggle | Toggle will query over a fixed time interval instead of time back, for backfilling historical data. |
| Text | Beginning time of the fixed interval (yyyy-mm-dd hh:mm) |
| Text | End time of the fixed interval |
| Number | Caps how far back a stale cursor can reach so an idle or reconnected connector does not issue an oversized catch-up query. Default: 8. |
| Toggle | Toggle will use the earliest CAD note time as Call Received Time. Use it when the first note marks the start of the call better than the CAD pickup time. Call Pickup Time does not change. When no note has a time, Call Received Time stays as read from CAD. Default: off. This setting is on every CAD connector. |
* Required
