AF AttributeValues
With the AF AttributeValues activity, you can get the historical values, a specified number of historical values, and the archived value for a specified time. The following sections describe the tabs for this activity.
General
On the General tab, you can specify the name of the activity in the process, establish a connection to the PI AF server, and select the type of operation you want to perform.
The following table lists the fields on the General tab of the AF AttributeValues activity:
Description
On the Description tab, you can type a short description for the AF AttributeValues activity.
Input
On the Input tab, you can specify the AFAttribute that the user wants to retrieve. Input elements on this tab differ depending on the operation you select on the General tab:
| Value Type | Reference |
|---|---|
| ValueHistory | getAttributeValues: Input Items |
Output
On the Output tab of the AF AttributeValues activity, you can find the results corresponding to your inputs. Output items on this tab differ depending on the operation name and value type you select on the General tab:
| Value Type | Reference |
|---|---|
| ValueHistory | getAttributeValues: Output Items |
Fault
On the Fault tab, the user can find the error messages and error codes of the AF AttributeValues activity. For more information about errors, see Error Codes.
The following table lists the error schema elements on the Fault tab:
| Element Name | Data Type | Description |
|---|---|---|
| msg | String | Displays the error message. |
| msgCode | String | Displays the error code. |