You are here:Home»Rules»Rule - Set CFs to Total Connected Ports

Rule - Set CFs to Total Connected Ports

This rule updates Device, Network and Rack PDU class assets.

The total count of serial data ports with a connected item will be placed in the custom field defined in Parameter 1. The ports considered to be 'Serial' will have a prefix defined in Parameter 2.

The total count of power ports with a connected item will be placed in the custom field defined in Parameter 3. For Rack PDUs, this count will represent the number of Outlets with a connected item.

The total count of all other data ports with a connected item will be placed in the custom field defined in Parameter 4.

Additional Info

  • Category: Connectivity
  • Use Case: The user needs to conduct an audit of their devices, rack pdus, and networking items' connected power ports and data ports. The user is interested in a work-around to sync the count of connected ports per item with ServiceNow.
  • Date Created: Wednesday, 18 March 2026