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

AVEVA™ Manufacturing Execution System 2023 R2

Enter a raw reason code System Platform script expression

Enter a raw reason code System Platform script expression

  • Last UpdatedNov 04, 2024
  • 2 minute read

The raw reason code expression is a System Platform script expression that will determine whether the selected raw reason code is active.

More than one raw reason code expression can evaluate to True simultaneously, but only one of the True raw reason codes can be the active raw reason code. The active raw reason code is based on the priority of the raw reason codes, which is determined by their order in the raw reason code list, and the Minimum Time Before Activation setting. At run time, when a raw reason code becomes the active raw reason code, a utilization event is logged against the associated entity.

Enter a raw reason code expression:

  1. Select the raw reason code you want to configure.

  2. Specify the expression by doing one of the following:

    • In the Expression text box, enter a valid System Platform script expression that will determine whether the selected raw reason code is active.

      The UCO Object Editor showing a System Platform script expression in the Raw Reason Code expression text box.

    • To specify an existing attribute as a contained attribute reference, click the Expression Browser button. In the Galaxy Browser dialog box, select the instance and attribute and click OK.

      The System Platform Galaxy Browser dialog box with the input source of an object attribute selected.

      Array attributes are supported in raw reason code expressions.

    For more information on using System Platform expressions, see the System Platform IDE help.

  3. Check to make sure that the expression is valid by clicking the Validate Expression button.

    The UCO Object Editor highlighting how to validate a System Platform script.

    A message appears, indicating whether the expression is valid or invalid. If invalid, the message will indicate the areas of the script that are causing the issue.

    For information about expression validation, see Validation of expression syntax and references.

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