Assigning and removing labels automatically

Who can do it: Service provider
Where: Wialon Platform Studio

Once you have created labels and label groups, use the Automations module to dynamically assign labels when specific conditions are met.

This guide provides an example of how to create an action template to assign a Moving label and an automation to define the trigger condition.

Step 1: Configuring the action template

  1. In Wialon Platform Studio, navigate to the Customers tab.
  2. Select the necessary customer.
  3. Open the Automations tab.
  4. Click the Add button and select Add action template.
  5. In the Name field, enter a name for the action template, for example Assign 'Moving' label.
  6. In the Type field, select Assign a label.
  7. In the Labels field, select the Moving label from the dropdown list.
  8. In the Devices field, select the devices whose status you want to change when they start moving.
  9. Ensure the Enabled toggle is active.
  10. Click Save.

Step 2: Configuring the automation

  1. In the Automations module, click Add and select Add automation.
  2. On the Settings tab, enter a descriptive name for the automation, such as Set status to moving.
  3. For the automation Type, select Logical expression.
  4. In the Expression to trigger the alarm field, set the condition to trigger when the vehicle is moving. For example, the condition could be position.speed>2.
  5. Optionally, set the Minimum duration of alarm state and Maximum triggers per day.
  6. In the Devices to monitor, select the devices.
  7. Ensure the Enabled toggle is active.

Step 3: Linking the action template to the automation

After indicating the conditions on the Settings tab, you must link the automation to the action template.

  1. Navigate to the Associated action templates tab within the automation.
  2. Click Link action template.
  3. From the dropdown list, select the pre-configured action template: Assign 'Moving' label.
  4. Click Save.

The workflow is now fully configured. Whenever a vehicle starts moving, its status will automatically be updated to Moving with the corresponding label.

If you find a mistake in the text, please select it and press Ctrl+Enter.

Report a mistake

Your message was sent. Thank you!

An error occurred while submitting the form

See also