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

AVEVA™ Work Tasks

Configure AttributeReadWrite Activity to Perform Read Operation

Configure AttributeReadWrite Activity to Perform Read Operation

  • Last UpdatedJun 10, 2024
  • 2 minute read

You can read entire UDA of array type from System Platform and assign the same to variables of type array within a workflow. You can also read specific index of UDA of type array from System Platform and assign the same to variables within a workflow.

To read a specific index of UDA of type array from System Platform use Expression Builder.

Example: To read the 5th Element of the array , enter return "UserDefined_001.Array1[4]"; in the expression builder.

To configure AttributeReadWrite activity to perform a read operation

  1. Drag-and-drop the AttributeReadWrite activity to the Process Designer window.

  2. Set the unique environment name from Expression Editor.

  3. Click the edit icon in the Attribute Operation property.

    The Attribute Operation Configuration dialog box appears.

  4. Select Read, and then click OK.

  5. In the Condition drop-down menu, select a variable to store the attribute value.

    You can add the variable and type from Variables property in the Start activity.

    In a Remote Galaxy, the value of update variable for the Select Attribute is in the following format:

    Remote or Paired Galaxy_Name:ObjectName.UDA name

    In a local Galaxy, the value of update variable for the Select Attribute is in the following format:

    Me.UDA name

  6. In the Actions tree menu, select the Value drop-down menu, and then select the Galaxy Browser attributes from which you want the read action to be performed.

    The Galaxy Browser option appears only if you design the workflow in the IDE context.

    The Relative Reference dialog box appears.

    This dialog box displays support for relative referencing. Except for Me, you must manually enter all other relative references. For more details about relative referencing, see Relative Referencing.

  7. Create a link between the next activity based on the output options Attribute Read Success or Attribute Read Failure.

  8. Publish the workflow.

    You can view the workflow in the Process Execution View dialog box.

    In the Execution View, the details of the Read/Write activity executed in a workflow appears in the Step Details tab. The Execution View page can be opened by double-clicking a top level row in any of the reports. The View represents the workflow up to the activity or execution status where the view is opened.

If any error occurs during Read operation, the error message will be logged with an appropriate error code generated from System Platform in the ArchestrA Logger.

For more information about the error logs, see MxStatusDetail ValuesSystem under the section Status and Error Codes of the MXAccess Toolkit User’s Guide of System Platform documentation.

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