AF AttributeEventListener
The AF AttributeEventListener activity publishes notification messages each time values of the AF Attributes that you listen on are changed. Therefore, you can listen on AF Attribute updates and fetch the changed entries, by using this activity. Also, you can perform registration of AF Attributes in bulk or registration from the file. 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 with the PI AF Server, select the AF Attributes to listen on, define how often the AFAttribute updates are to be checked, and perform bulk tag registration.
The following table lists the fields on the General tab of the AF AttributeEventListener activity:Description
On the Description tab, you can type a short description for the AF AttributeEventListener activity.Advanced
On the Advanced tab, you can specify the object class of the entry that you want to search for.
The following table lists the fields on the Advanced tab of the AF AttributeEventListener activity:| Field | Module Property? | Visual Diff? | Description |
|---|---|---|---|
| Sequence Key | No | No | This field contains an XPath expression that specifies the order in which the process runs. Process instances with sequencing keys that have the same value are run sequentially in the order in which the process instances were created. |
| Custom Job Id | No | No | This field contains an XPath expression that specifies a custom job ID for the process instance. This ID is displayed in the TIBCO Administrator View Service dialog box, and it is also available in the $_processContext process variable. |
| Bulk Registration | Yes | No | This field enables registration of multiple AFAttributes.
The Bulk Registration field contains the following:
|
| Attribute Registration From File | Yes | No | It contains the
Attributes Registration File field.
This field enables use of data from a file to enable register multiple AFAttributes all at once. Here, provide the fully qualified path with the file name. Note: Supported file extension is .csv.
|
Conversations
A conversation represents two or more related message exchanges in the same process that are correlated by the BusinessWorks engine. On the
Conversations tab, you can initiate a conversation by clicking the
Add New Conversation
icon
.
Output
On the Output tab, you can find the published changes of the Attribute values.
The changes of the tag values are displayed under the following output items:
| Output Item | Data Type | Description |
|---|---|---|
| header | Complex | The response message header. |
| serverName | String | The name of the PI Data Archive server that stores the AFAttribute. |
| AttributeList | Complex | The AFAttribute value that is changed. |