Skip to content

Your web browser is out of date

Your web browser (the software you use to access the internet) is out of date. You need to update it or use a different web browser to ensure you can complete this form.

Cookies disabled

Cookies are currently not enabled in your web browser. You need to enable cookies to ensure you can complete this form.

Custodian Functions

> Imported from Azure DevOps wiki (Products/Custodian/Custodian-Functions.md). Generated 2026-05-05T21:22:35Z from clone /Users/ck/Sites/asp-azure-tenant/vendor/StrategicDigitalServices.wiki. > > Attachment links may still point at paths in the wiki repository; open the clone under .attachments/ if previews break.

There are 2 function apps relating to Custodian …

Custodian.Statistics -- in its own solution.

  • An Azure Logic App, custodian-stats, runs under the infrastructure resource group, on a recurring timer to collect specific entries from application insights and adds them to a service bus queue.

  • 2 functions

  • AddStatisticsEntry

  • triggered by service bus queue

  • Takes messages from a service bus queue and adds them to the AiStatistics database table.

  • SendStats

  • triggered by timer

  • Gathers records from the AiStatistics table into a csv file and send as an email attachment.

Custodian.Functions -- in the Custodian solution.

  • Just 1 function
  • BailApproaching
  • triggered by timer
  • Extracts instances of expected suspect bail appearances, grouped by OIC and adds them to a service bus queue (intended for Aspolice.CustodianIntegration.Mailer integration service running on an internal force system).

Published 21 July 2026
Last updated 22 July 2026