You are here:Home»Rules»Rule - Set Custom Field With Unique ID and Item Name to Prefix - Unique ID

Rule - Set Custom Field With Unique ID and Item Name to Prefix - Unique ID

This rule updates the custom field in parameter 1 with the next available digit and updates the device name to the prefix defined in parameter 2 - the custom field value stored in the field from parameter 1 for all new devices.

For example, when the next available digit is 2027, then the UNIQUE_ID field would have the value 2027 and the item name would be updated to sys-2027.

Version: V1

Additional Info

  • Category: Item Custom Fields
  • Use Case: When coming up with names for devices, the user requires that each server have a common prefix and doesn't want to have to manually generate a new suffix for each new install.
  • Date Created: Thursday, 27 August 2026