×

How to link an algorithm to a notification

In this article, we explain how to configure algorithms to work through notifications.
You will learn:
For an algorithm to start working and automatically respond to events, it must be linked to a notification.
To use this feature, the Notifications module must be enabled in the account.

Linking an algorithm to an event

When linked, the algorithm will trigger automatically when the conditions are met and the event will appear in the Control room.
1. In the top panel, click the Settings icon and open Account settings
2. Go to the Notifications tab
3. Click to create a new notification
4. Link an algorithm
1) In the notification settings window, click Algorithm binding
How to link an algorithm to a notification
2) Select the required algorithm from the list
3) Click the algorithm — its block diagram will open
5. Configure algorithm blocks
1) Double-click the required block
2) Enter the text and select event tags
3) Click OK
 

How to create a tag

Tags help quickly understand the nature of an event and visually highlight it in the list.
If the required tag does not exist:
1. Click the Tag field
2. In the tags window, click
3. Enter the tag name and choose a color
4. Save — the tag will appear in the list and become available for selection
 

Configure the event processing form

You can customize how the event processing form looks for the operator.
1. In the algorithm binding window, click Settings
How to link an algorithm to a notification
2. Click to insert elements
Available settings:
  • Element type — the type of block (for example, plaintext for regular text)
  • Heading — block title
  • Text — information shown to the operator
Example:
1. Add a plaintext element
2. In Heading , enter: Event information
3. In Text, enter: Check the cargo temperature and contact the driver
How to link an algorithm to a notification
To add a vehicle information block, click the vehicle icon. A new block with type vehicle will appear, where you can set the title and text.
1 To add a vehicle information
1.
To add a driver information block, click the driver license icon. A new block with type driver will appear, where you can also define the title and text.
2To add a driver information
2.
After configuration, click OK — the operator will see the event form exactly in this layout.
 

Finalizing notification setup

1. In the Notification settings window, specify:
How to link an algorithm to a notification
  • Notification name
  • Object
  • Notification type — Control room (GARM)

1Notification type

1.
  • Notification conditions (for example, the Temperature parameter and its threshold)
    2. Click Save
    3. The notification with the linked algorithm will appear in the list and will be sent to the Control room when the conditions are met.
 

Algorithm for manual event generation

Manual event generation is used when an event does not occur automatically — for example, in emergency situations, for testing, or when an operator needs to record an event manually.
How to create a notification for manual generation
1. Open Account settings and go to the Notifications tab
2. Click
3. In the notification settings, specify:
How to link an algorithm to a notification
  • Object
  • Notification name
  • Notification type — Control room (GARM)

1Notification type

1.
  • Group
  • Enable Only for manual generation

2Manual generation only

2.
4. Click Algorithm binding
5. Select the required algorithm and click OK
6. Save the notification

How to generate an event manually

1. Select an object in the main list
2. Right-click it and choose Generate event
How to link an algorithm to a notification
3. Select the notification type for manual generation and enter the event text
4. The event will appear in the panel and will be processed according to the linked algorithm