Web Components for Insights Hub and Industrial IoT - Rule Wizard - Developer Documentation
Skip to content

Web Components for Insights Hub and Industrial IoT
Rule Wizard

The Rule Wizard guides a user in the process of creating a rule for an asset type.
There are four steps which have to be configured.

Examples

Selecting the Asset Type, Variable and Asset(s) which shall be monitored

Rule-Wizard - Step 1

Configure the conditions - thresholds, hysteresis or debouncing times

Rule-Wizard - Step 2

Configure the actions the rule shall be triggering - events, emails etc.

Rule-Wizard - Step 3

Configure the rule name ore generate an automatic name

Rule-Wizard - Step 4

Interface

Models

IDataModel
interface IDataModel {
    // forces reload of data, e.g. re-loading the rules
    refresh(): void;
}
IViewModel
interface IViewModel {
  refresh(): void;
}

Remarks

  • The number of rules which can be activated simultaneously is limited and depends on the selected plan size.
    To enhance the rule limit further "Rules Quota Upgrade" packages can be purchased in the Store. For latest information refer the IoT Value Plan product sheets or contact customer support.
  • The rule engine triggers only in case of state changes. If values are still violated the rules are not triggered again.

Example

A rule has been created to monitor a value greater 90.
Now the value changes from 89 to 91 - means a state change happens - and the rule will be triggered and perform the configured actions.
Next the value changes from 91 to 100 - here no state change happens, as the rule is already violated, it won't be triggered again.

Roles

  • mdsp:core:tsm.full-access (for full access like create and delete)
  • mdsp:core:tsm.read-only (read only)

Snippets

Displaying the rule wizard

<mdsp-rule-wizard>></mdsp-rule-wizard>

Updating a rule

For updating a rule, the ruleId should be set. This will load the existing configuration in the rule wizard.

ruleTableComp.ruleId = "1123653"

Rule-Wizard - Update


Except where otherwise noted, content on this site is licensed under the Development License Agreement.


Last update: April 13, 2023