Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Production Management

Configure an action item based on dependency

  • Last UpdatedApr 07, 2025
  • 2 minute read

You can configure an action item to execute based on dependency.

Studio project hierarchy view showing a highlighted Action item within an Area in an Enterprise project.

To configure an action item based on dependency

  1. Set the EnableExecutionOnDependencies property to True. The function executes when the dependency triggers, such as when a periodic time event triggers.

    Studio Properties pane showing the properties in Execution Selections section where Enable Execution On Dependencies property is set to True.

    When you set the EnableExecutionOnDependencies property to True, two new properties appear in the Configuration category.

    Studio Properties pane showing the Dependencies and Dependency Execution Mode properties under Configuration section.

  2. Under the Configuration category, select the values for the Dependencies, DependencyExecutionMode, and Function properties.

    • DependencyExecutionMode - Specify whether the action executes for each sample or for each period. Usually, this setting is ExecuteForEachSample.

      Modes:

      • ExecuteForEachSample - Whenever there is a new value in the dependency stream, the function executes.

      • ExecuteForEachPeriod - Whenever the end time of the dependency stream changes, the function executes. The regularity of end time updates depend on the component that updates. For example, for an OPC HDA source this is controlled by the PollTime for the connector. This setting is an advanced setting that is not usually required.

    • Dependencies - Click Browse (...) to open the Dependencies dialog box. Double-click locations in the project hierarchy to add them as dependencies.

      Studio Action Dependencies editor launched through the Browse button in Dependencies property where you can select a location from the project hierachy shown to add as dependencies.

    • Function - Enter an expression with Expression Editor.

      Studio Action Function editor launched through the Browse button in the Function property, where you can enter expression syntax.

TitleResults for “How to create a CRG?”Also Available in