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

AVEVA™ Work Tasks

Event Associations of Type Message Queue

  • Last UpdatedJul 01, 2024
  • 6 minute read

You can package and deploy the Event Associations of type Message Queue along with its associated artifacts from one environment or repository to another environment or repository using the Package feature in AVEVA Work Tasks.

To add Event Association of Type Message Queue to Package Template

  1. Log on to the Enterprise Console.

  2. On the Enterprise Console menu, click Workflows. The Workflows window appears.

  3. Select a Workflow with an event association of type Message Queue.

  4. Right-click the workflow, and then select View Association. All associations of the selected workflow appear.

  5. Right-click Event Associations of type Message Queue that you want to package, and then click Add to Package Template.
    The Add to Package Template window appears.

For more information about adding artifacts to Package Template, see Adding Artifacts to a Package Template.

In the Package Template tree view, the Message Queue Event Association will appear in the following format:

<Message Queue_Workflow Name>

Here,

  • Message Queue_Workflow Name: Name of the Message Queue Association


Configuration Settings for Event Association of Type Message Queue

The Event Associations of type Message Queue has a unique set of configuration settings required to install, update, and uninstall the package.

You can view and edit the configuration settings from one of the following windows:

  • Source Environment > Package Template window

  • Target Environment > Manage Package window

You can use the Settings tab to define the configuration settings. The Associated Artifacts tab displays the associated artifacts of the Event Association of type Message Queue definition. The Child Artifacts tab displays child artifacts of the Event Association of type Message Queue definition.

The Package Template configuration window contains the following tabs:

  • Settings

    • Install

    • Update

    • Uninstall

  • Associated Artifacts

  • Security Artifacts


Settings Tab

The properties in this tab allow you to take appropriate actions while installing, updating, or uninstalling the Package.

Behavior of Message Queue Event Association while installing, updating or uninstalling the package:

  • You cannot overwrite an already existing item.

  • You can delete or uninstall a Message Queue Event Association only if it was installed by the Package.

Install

The settings in this tab are referred to when installing the Package.

  • Workflow Version: This displays the version of the Workflow to which Event Association of type Message Queue is mapped in the Source environment and it also allows you to specify the version of Workflow to which Event Association of type Message Queue should be mapped in the Target environment.

    • Source: Displays the version of Workflow in the source environment to which the Event Association of type Message Queue is mapped.

    • Target: Enter the version of the workflow:

      • Specify the version of the Workflow to which you want to map the Event Association of type Message Queue in target environment.

      • If you do not specify the Workflow version in the Target environment, the Workflow version from the Source environment will be considered while installing the package.

        Note:
        - If the version of the workflow that is considered while installing the package (based on the two conditions specified above) is not present in the target environment, then the Event Association will not be installed.
        - If the version of the workflow that is considered while installing the package (based on the two conditions specified above) is in Draft status, then the Event Association of type Message Queue will be installed and mapped to the latest version of the workflow.

  • Message Queue Event Association Settings: This displays the settings of the Event Association of type Message Queue in the Source environment and it also allows you to specify the settings of the Event Association of type Message Queue in the Target environment.

    • Source

      • Workflow Version: Displays the version of the Workflow to which Event Association of type Message Queue is mapped in the Source environment.

    • Target

      • Workflow Version: Enter the version of the Workflow to which Event Association of type Message Queue is mapped in the Target environment.

Update

The settings in this tab are referred to when the same Package is installed for the consecutive time.

  • Delete Event Association: Select this option to delete the Event Association that is present in the target environment.

    • Yes: Select this option to remove the Event Association in the target environment.

    • No: Select this option to retain the Event Association in the target environment or install the Event Association if it is not present in the target environment.

  • Workflow Version: This displays the version of Workflow to which Event Association of type Message Queue is mapped in the Source environment and it also allows you to specify the version of Workflow to which Event Association of type Message Queue should be mapped in the Target environment.

    • Source: Displays the version of Workflow in the source environment to which the Event Association of type Message Queue is mapped.

    • Target: Enter the version of the workflow:

      Specify the version of the Workflow to which you want to map the Event Association of type Message Queue in target environment.

      If you do not specify the Workflow version in the Target environment, the Workflow version from the Source environment will be considered while installing the package.

      Note:
      - If the version of the workflow that is considered while installing the package (based on the two conditions specified above) is not present in the target environment, then the Event Association will not be installed.
      - If the version of the workflow that is considered while installing the package (based on the two conditions specified above) is in Draft status, then the Event Association of type Message Queue will be installed and mapped to the latest version of the workflow.

  • Message Queue Event Association Settings: This displays the settings of the Event Association of the type Message Queue in the Source environment and also allows you to specify the settings of the Event Association of the type Message Queue in the Target environment while updating the Package.

    • Source

      • Workflow Version: Displays the version of the Workflow to which Event Association of type Message Queue is mapped in the Source environment.

    • Target

      • Workflow Version: Enter the version of the Workflow to which Event Association of type Message Queue is mapped in the Target environment.

Uninstall

The settings in this tab are referred to when the Package is being uninstalled in the target environment.

  • Delete Event Association: This property allows you to retain or delete the Event Association of the type Message Queue in the target environment even after the Package is uninstalled.

    • Yes: Select this option to delete the Event Association from the target environment when the Package is uninstalled.

    • No: Select this option to retain the Event Association in the target environment even after the Package is uninstalled.

Note: You cannot uninstall individual versions, when uninstalling a package. All the version will be uninstalled and a message is logged for every single version that is uninstalled.

Associated Artifacts

The Associated Artifacts tab displays all the associated artifacts of the selected Event Association of type Message Queue definition.

Message Queue Event Association has the following associated artifacts:

  • Workflow

  • Message Queue Connection: While installing the package we will verify if the Message Queue with the same path as specified in the configuration settings is available in the target environment. If available, then the Message Queue Event Association will be installed by mapping to the identified (one with the same path) Message Queue. If it is not available then the Message Queue Event Association will not be installed.
    If the Message Queue title is same and path is different from the one specified in the configuration settings of the Message Queue Event Association, then the Message Queue Event Association will not be installed.

Child Artifacts

Event Association of type Message Queue does not have any child artifact.

Security Artifacts

The Security Artifacts tab displays the security artifacts of an Event Association of type Message Queue, if any.

You can enable the security settings of the grid view that you want to include in the package.
For more information about including security artifacts, see Include Security Artifacts.

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