Use Attributes for Intelligent Workflows

Created: Modified: Knowledge Base

Attributes are a powerful GroundControl feature that shapes your workflows for your particular needs. You can think of Attributes as labels, variables or tags, attached to devices and Launchpads. But Attributes are just empty containers for your data. Once you create an Attribute, you need to populate the data so GroundControl can use it.

Attributes are deeply integrated into GroundControl, as you can see below.

When to use Attributes

Attributes are useful when your deployments are very similar, but not identical.

Say you have 100 iPads to deploy. If all the iPads will be 100% the same, you won’t need Attributes. Just create a single automated workflow deploy it to all iPads.

But what if 50 of your iPads are supposed to receive workflow A, and 50 are to receive workflow B? An Attribute — named “Workflow” for example — can automate this operation for you. Some devices will have the value “A,” and some with the value “B”. You can then create two sets of rules to look at the Workflow Attribute, and from there select from the two Workflows.

attributesKBAnd if each of your 100 iPads are to receive a similar workflow, but you want to name each iPad with a unique value, like an asset tag: Don’t create 100 separate workflows, of course. Instead, save that asset tag in a device custom Attribute, “Asset Tag.” From there, use this Attribute as a placeholder in the Device Name Action.

Where you can use Attributes

You can use Attributes in Workflows and Automation.

In Automation, Rules have conditions and Actions. Your Attributes appear in the options for conditions. This is the “IF” part of an “IF…THEN…” statement. So you can create rules like “If my [Store Number] is [999…]” or “If my device is a [Nursing device]… THEN […]” or “If the Country is France… THEN […]” It’s up to you to choose!


Attributes may also be used in Workflows. For example, the Set Name action will usually set all device names to the same value. However, if you use an Attribute, you can set the entire device name, or just a part, to a unique value from an Attribute. During deployment, GroundControl will look up the Attribute value for the particular serial number for that device, and perform a substitution.

Other areas where Attributes may be used:

Creating Attributes

Create your Attribute(s) in Admin.

This example shows a couple of custom Attributes — Asset Tags, Dept. and Location — and two Launchpad Attributes. You may add, delete and rename Attributes here, too. If you rename Attributes, they will also be updated in Workflows and rules in Automation.

You may also use built-in Attributes in your Workflows, these are known identifiers for a device, such as Serial #, Device Model, etc. For Launchpads, there’s only one built-in attribute: Launchpad Name. Built-in Attributes can’t be deleted or edited.

Device Attributes or Launchpad Attributes?

GroundControl supports attributes for both devices and Launchpads. Choose whichever is simpler for your Workflow.

You have 100 iPads, 50 should receive workflow A and 50 should receive workflow B. You can create an Attribute named “workflow” for your devices or for your Launchpads. If you choose to create a device Attribute, then you’ll need to assign “A” or “B” to each of your 100 devices. But if you choose to create a Launchpad attribute, you can add “A” to one Launchpad and “B” to the other, making your data entry task trivial. Just plug in the “A” iPads into Launchpad “A”, etc.

Generally, if your custom data corresponds to a location (store, floor, cart, etc.) then a Launchpad attribute will be simpler. Otherwise use a device Attribute.

Add Launchpad Attribute data

An attribute is an empty container; you need to fill it with data to be useful. You can add this data in two places.

From the admin console> Launchpads tab, click to select an individual Launchpad.  Click on the expansion triangle next to the Launchpad version to expand the view. Populate the attribute data and click the checkbox to save the data.

Add Device Attribute data

You have many, many ways to add device attribute data.

One-by-One: In Devices, click on any device. This opens a Device Details window that allows you to add and edit Attribute data.

Import CSV: More efficient than one-by-one, you may import a CSV file. The CSV file should include a header row containing (minimally) a column named “Device Serial” and a column with the name of the Attribute. Any columns you include will be overwritten, so include only the columns you wish to modify. For a template, simply Export the device list.

Use Set Attribute action in a workflow: This is a good option if you want to capture data via a Launchpad attribute and easily store it as Device attribute. For example, you are configuring a batch of devices set for Unit 1234. Populate this data in the Launchpad attribute, connect your devices and use a workflow that grabs the Launchpad attribute and permanently populates it in a Device attribute.


Pull Data with Webhooks: The workflow action “Send Webhook (Pre-Deploy)” will alert an external system of your impending deployment. If that system returns a JSON object of device Attributes and data, GroundControl will apply those values before the deployment begins. Some applications include looking up full name from username, looking up timezone from location ID, etc. The data should be returned as an object of Attributes labels and data:

{ "Asset Tag": "12345"; "Color": "Red" }

Push Data via API: The GroundControl API can be used to read and push Attribute data for devices. You may use this to have an external system control GroundControl behavior.  See the API documentation for more information.

Use Gantry for Just-In-Time Provisioning: We have developed a simple system for adding and modifying device Attribute data via a web page. Create an API Key, then visit /gantry?api_key=xxxxx. We designed this page to work well with barcode scanners in your configuration centers.