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

AVEVA™ Work Tasks

WaitForMQData

  • Last UpdatedJun 21, 2024
  • 2 minute read

Activity Description

Use the WaitForMQData activity to wait for a number of messages from Message Queue for a particular time period, and then consume the messages in a defined workflow. You can set the number of messages and the time period in the properties of that activity. It can store the message details in the specified XML variables.

Activity Properties

To use WaitForMQData Activity, follow the given steps:

  1. In the Process Designer window, select Message Queue from the Activities drop-down list.

  2. Drag and drop the WaitForMQData activity on the Process Designer window.

  3. Right-click the WaitForMQData activity and then select Activity Properties.

Name & Description

Use the name and description properties to specify the name and description for the activity.

  • Name: Use this property to enter a name for the activity.

    Property Type: Mandatory.

  • Description: Use this property to enter a brief description to be displayed for the activity.

    Property Type: Optional. Set this property only if required.

Configuration

Use these properties to configure the functionality of the activity.

  • Set Message Queue Filters: Use this property to filter the messages. Whenever a message is received, it will check this filter, and if a match is found, the activity will be alerted.

    Property Type: Mandatory

    For more information, see Set Message Queue Filters.

  • Valid for Events: Use this property to specify the number of messages for which the activity should wait. It indicates that the activity should wait till the specified number of messages are received.

    Default Value: The default value is 1 which means that the WaitForMQData activity waits for one message. For infinite number of messages, enter 0 in the Valid for Events property.

    Property Type: Optional. Set this property only if required. If not set, the default value is considered.

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.

See Mapped Error Output for more details.

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. Available options are as follows:

    • No Loop

    • Action Completed: This output is displayed when the activity has timed out.

    • Event Received: This output is displayed when a Message Queue connection matching the specified filter condition is received.

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