Rule - Set Contact CFs from JSON

This rule updates several custom fields based on the JSON object pasted in to the 'JSON Object 1', 'JSON Object 2' and 'JSON Object 3' parameters.

The first parameter should contain a location code, cabinet row label, the custom field name, and the value to input into the custom field.

For example, 

{

  "Location Code": 

  {

    "Row Label": {

      "Custom Field Name 1": "Custom Field Value 1",

      "Custom Field Name 2": "Custom Field Value 2"

    }

  }

}

 

The second parameter should contain a cabinet customer, the custom field name, and the value to input into the custom field.

For example,

{

   "Cabinet Customer": {

      "Custom Field Name 1": "Custom Field Value 1",

      "Custom Field Name 2": "Custom Field Value 2"

   }

}

 

The third parameter should contain a cabinet customer, the custom field name and the value to input into the custom field in the format exampled for parameter 2.

This rule requires that all custom fields being updated are of the type "Text". 

This rule will only run on cabinets and  device, network, data panels and rack PDUs placed in a cabinet.

 

(For 9.0.0)

  • Category: Item Custom Fields
  • Created by: Alexis Layne
  • Date Created: Wednesday, 15 November 2023

Download attachments:

Read 466 times