From d65bfb23d45012b4b2eab0ae62b06814a614e91b Mon Sep 17 00:00:00 2001 From: MartinaeyNL Date: Tue, 5 Nov 2024 16:12:41 +0100 Subject: [PATCH] Added documentation for localized push notifications, and added extra text to explain the THEN rules. --- .../rules-and-forecasting/when-then-rules.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/user-guide/rules-and-forecasting/when-then-rules.md b/docs/user-guide/rules-and-forecasting/when-then-rules.md index 3d47731..2964ff6 100644 --- a/docs/user-guide/rules-and-forecasting/when-then-rules.md +++ b/docs/user-guide/rules-and-forecasting/when-then-rules.md @@ -6,10 +6,25 @@ sidebar_position: 2 When-Then rules are used in combination with the or-rules UI component. They are meant to be used to allow application users to define 'When this, then that' statements. For example "During weekdays, when it's cold, turn on the lights 5 minutes before sunset" or "send push notification to anybody who reaches the stadium". -Note that, next to changing other attribute values, When-Then rules support sending notifications, generating alarms and linking to external systems using web hooks. Web hooks allow you to connect to any other application based on an event. Options are endless, from connecting to your Maintenance or Messaging service to your ERP or CRM system. - ![Manager Rules Editor](img/rules-editor.png) +## Supported actions: + +- ### Update attribute values +- ### Send push- and email notifications + Send a notification to a set of users, for example to ones linked to the triggered asset.
+ Note: we also support sending 'multi language' notifications, personalized to the preferred language of a user.
+ Once the supported languages are selected on the [Appearance page](../manager-ui/manager-ui.md#appearance), they will be configurable in the Rules UI. + +- ### Generate alarms + Once the rule is triggered, a new alarm will be created based on the title and description you configure.
+ You can automatically assign a user, so they get notified immediately. See more details in the [Alarms documentation](../manager-ui/manager-ui.md#alarms). + +- ### Link to an external system with webhooks +- ### ... and much more! + Options are endless, from connecting to your Maintenance or Messaging service to your ERP or CRM system. + + ## Guide to setting up your first When-Then rule To get familiar with the When-Then interface we will be creating a rule that turns on lights when the temperature drops below a certain threshold and just before sunset (makes sense right?).