Skip to content

Create a Rule

Rules can be created for an asset type. This means, you can create a rule one time and use the same rule definition for all instances of this asset type.

Rule can be created from the below two screens:

  • Open "Rules" in "Configure" section and click Create, where you can also find all the rule definitions in the tenant
  • Open "Assets" in the Explore section and select the "Rules" plugin, click "Create". Here you can create a rule directly for the selected asset. In this case the asset type and the asset instance is already preselected in the wizard.

The rule query enables you to create a new rule and enter the individual parameters.

The rule wizard guides you through the below steps to create a rule.

Parameter overview of rule query

The following table describes the parameters for defining rules:

  1. Select Variables:
    In this step, you select the asset type, up to 3 Variables to be monitored, and the assets, the rule shall be activated. For Consumption data, one rule is calculated for each selected asset. Select Variable

  2. Configure conditions:
    In this step, you can change the operators and thresholds and also configure hysteresis or debouncing time if needed. Follow the info pictures for more information. Configure condition

  3. Configure actions:

    • A description is mandatory for the event which will be triggered by the rule. Also the severity of this event can be configured (Information, Warning, Error).
    • You can limit the events, that not every rule violation leads to an event.
    • Also you can set actions to influence the asset status or send an email. Multiple emails can be inserted. Confirm each valid email-address with 'Enter'.
    • Optional you can enable the "Notify by Simatic Notifier" button to receive the notifications in the Simatic Notifier application on mobile devices.

    Note

    An additional SIMATIC Notifier license is required in order to receive the push notifications on mobile devices. To buy a notifier license, please refer to SIMATIC Notifier documentation.

    Configure actions

  4. Configure rule name:
    In this step, you configure the name of the rule. It is also possible to automatically generate the Rule name based on the selected variables and the conditions. To automatically create a name, click Generate.
    Configure rule name

  5. Click "Submit" to save the Rule.

Note

If the rule query screen does not display the "Set asset state" selection under "Additional actions", this may have the following cause:
- The asset does not have an aspect with name "status" of type core.assetstatus. For your own asset types you could add this status aspect by using Asset Manager.

Any questions left?

Ask the community


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


Last update: June 30, 2022