This rule updates the cabinet power capacity based on the cabinet type and the matching value from the JSON object in parameter 1. This rule will also update the custom fields whose names are in the JSON object.
Version: V4
Note: This rule only runs when the item that triggers it is a Cabinet. This rule takes in a JSON object as its parameter and the JSON should follow the below format:
{
"dcTrack Cabinet Type 1": {
"Power Capacity (kW)": number,
"Custom Field Name 1": "Custom Field Value 1",
"Custom Field Name 2": "Custom Field Value 2",
"Custom Field Name 3": "Custom Field Value 3"
},
"dcTrack Cabinet Type 2": {
"Power Capacity (kW)": number,
"Custom Field Name 1": "Custom Field Value 1",
"Custom Field Name 2": "Custom Field Value 2",
"Custom Field Name 3": "Custom Field Value 3"
}
}