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 Scheduler

  • Last UpdatedJun 20, 2024
  • 5 minute read

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

To add Event Associations of type Scheduler to Package Template

  1. Log on to the Enterprise Console.

  2. In the Enterprise Console, click the Menu button, and then click Workflows. The Workflows window appears.

  3. Select a Workflow with an event association of type scheduler associated to it.

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

  5. Right-click Event Associations of type Scheduler that you want to package, and then click Add to Package Template.
    The Add to Package Template dialog box appears.

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

Runtime Initialization Settings

You can configure runtime initialization settings for Event Associations of type Scheduler. For more information about configuring runtime initialization settings, see Runtime Initialization Settings.

Configuration Settings for Event Associations of type Scheduler

The Event Associations of type Scheduler 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 Scheduler definition. The Child Artifacts tab displays child artifacts of the Event Association of type  Scheduler definition.

The Package Template configuration window contains the following tabs:

  • Settings

    • Install

    • Update

    • Uninstall

  • Associated Artifacts

  • Security Artifacts

Settings Tab

You can use the properties of the Settings tab to take appropriate actions to install, update, or uninstall the package.

Behavior of Event Associations of type Scheduler while installing, updating or uninstalling the package:

  • You cannot overwrite an already existing item.

  • You can delete or uninstall an Event Associations of type Scheduler only if it was installed by the Package.

Install

You can use to the settings in this tab when install the package. When installing the package, if the Event Scheduler dates are invalid, then the package will not be installed. Edit the dates and install the package.

  • Workflow Version: This displays the version of Workflow to which Event Association of type Scheduler is mapped for Scheduling in the Source environment. It also allows you to specify the version of Workflow to which Event Association of type Scheduler should be mapped in the Target environment.

    • Source: Displays the version of Workflow in the source environment to which the Event Association of type Scheduler 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 Scheduler 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 Scheduler will be installed and mapped to the latest version of the workflow.

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

    • Start Date

      • Source: Displays the start date of the Event Association of type Scheduler in the source environment.

      • Target: Select the start date of the scheduler on which you want the event to be triggered.

        If you do not use the date picker, ensure that the date is in the MM\dd\yyyy format.

    • End Date

      • Source: Displays the end date of the Event Association of type Scheduler in the source environment.

      • Target: Select the end date of the scheduler on which you want the event to be triggered.

        If you do not use the date picker, ensure that the date is in the MM\dd\yyyy format.

    • Start Time

      • Source: Displays the start time of the Event Association of type Scheduler in the source environment.

      • Target: Select the start time of the scheduler on which you want the event to be triggered.

        If you do not use the date picker, ensure that the time is in any one of the following formats:

        hh:mm:tt

        hh:mm tt

        h:mm:tt

        h:mm tt

        Note: Ensure that you follow the following guidelines while installing the Event Associations of type scheduler package in the target environment:
        - Start date, Start time, and End date should be in valid format.
        - Start date should be less than or equal to End date respectively.
        - End date should be greater than or equal to current date.
        - When Start date and End Date is the current date, the start time should be greater than the current time.
        - Enter null in the target start and end date to run the event daily.

Update

You can use the settings in this tab when you install the same Package 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.

      Note: The settings configured in the Workflow Version and Scheduler Event Association Settings grids are common for the Install and Update tabs.

Uninstall

You can refer to the settings in this tab when you uninstall the Package from the target environment.

  • Delete Event Association: This property allows you to retain or delete the Event Association of the type Scheduler 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.

Click Save Event Association Settings.

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

Associated Artifacts Tab

The Associated Artifacts tab displays all the associated artifacts of the selected Event Associations of type Scheduler definition.

Event Associations of type Scheduler has the following associated artifacts: Workflow

Child Artifacts Tab

Event Associations of type Scheduler does not have any child artifact.

Security Artifacts Tab

The Security Artifacts tab displays the security artifacts of an Event Associations of type Scheduler, if any.

You can enable the security settings of the Event Associations of type Scheduler 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