Skip to main content
This example connects an existing tow or impound resource to CAD. Requests created by an officer or another in-game system appear with the vehicle, plate, location, requester, and status. A dispatcher can accept or complete a request in CAD, and the resource applies that workflow change for in-game tow operators. Tow and Impound custom integration panel

How It Connects

  1. Install or update the panel definition when the resource is configured.
  2. On resource start, publish every pending and assigned request plus the current summary.
  3. Publish again when an in-game request is created, assigned, cancelled, or completed.
  4. Receive pushes for tow.accept and tow.complete actions. Apply them through the tow resource, acknowledge them, then publish the updated request list.

Game-Side Outline

Push is the primary delivery path. The scheduling and processPanelActionOnce functions below are pseudocode supplied by your integration; they are not SDK helpers. processPanelActionOnce records the completed result, acknowledges it, retries failed acknowledgements without repeating the effect, and returns true only after acknowledgement succeeds. Use one serial queue for both paths and keep the backup polling cursor separate from pushed actions. See Action Push Events for routing, deduplication, acknowledgement, and recovery rules. The following is server-side pseudocode. Adapt the events and function names to your tow resource and preferred API library.
See Set State, Poll Actions, and Acknowledge Action for copyable calls in every supported library.

Actions

Definition JSON

Open the raw definition

Example State

Open the raw state