Wait-For-AAEvent Activity
- Last UpdatedJun 10, 2024
- 3 minute read
Activity Description:
Use the Wait-For-AAEvent activity to wait for a number of events from ArchestrA for a particular time period. You can set the number of events and the time period in the properties of that activity. It can store the event context details into specified XML variables.
Activity Properties:
You can configure the Wait-For-AAEvent activity by specifying appropriate values for the properties in the Activity Properties area. Click Activity Properties in the toolbar or select the Properties option from the short-cut menu of the Wait-For-AAEvent activity to access the Activity Properties.
Name & Description
You can use these properties to specify the name and description for the activity
-
Name: Use this property to specify a name for the activity.
Property Type: Mandatory.
-
Description: Use this property to add a brief description about the activity.
Property Type: Optional. Set this property only if required.
Configuration
Use these properties to configure the functionality of the activity.
-
Set Event Filters: Use this property to filter the ArchestrA event. Whenever an event occurs, it checks this filter, and if a match is found, the activity is alerted. When you open the Properties association page in System Platform IDE, it populates all the default values.
Property Type: Mandatory
-
Valid for Events: Use this property to specify the number of events for which the activity must wait. It indicates that the activity must wait till the specified number of events are received.
Property Type: Optional. Set this property only if required.
-
Select Output XML Variable: Use this property to set XML Variable for storing event context. A new XML variable is created or an existing XML variable of the similar schema is selected. When an event occurs, this XML variable is populated with event context data and it is used later in the flow of the process. The synchronization option is used if the event parameters in the IDE are modified later. For more information about synchronization, see User Guide.
Escalation & Timeout
Use this property to specify escalation and timeout settings for the activity.
-
Timeout for Action: Use this property to set timeouts for this activity. If specified, the activity will be timed out after the specified time span.
Property Type: Optional. Set this property only if required.
Miscellaneous
-
Update List XMLVariables: Use this property to insert records into AVEVA Work Tasks Information List. This property is automatically set when you create an XML variable using Select Output XML Variable.
Property Type: Optional. Set this property only if required.
Looping Behavior
Use this property to specify the looping behavior of the activity.
-
Loop through this action if output is: Use this property to specify the condition for looping the activity by selecting an activity output from the drop down.
Property Type: Optional. Set this property only if required.
Exception Behavior
Each activity has the Raise Error on Unhandled Linked Output property. Click on this to see the default configured mapped error outputs in red with their check boxes selected.
Activity Outputs:
The Wait-For-AAEvent Activity returns the following values:
-
Event Received: This output is displayed when an ArchestrA event matching the specified filter condition is received.
-
Action Completed: This output is displayed when the activity has timed out.