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

AVEVA™ Work Tasks

Use Default Event Providers

  • Last UpdatedJun 10, 2024
  • 2 minute read

AVEVA Work Tasks by default provides the following Event Providers:

  • Enterprise Console

  • BAM

  • FileWatcher

  • Scheduler

This means that events from the following providers can be used for triggering a Workflow or an Activity by associating these events to the required task. Ensure that FileEventProvider.dll file is available in the bin folder for the following example.

Step 1: Set Folder for File Watcher Event Provider.

To associate to a File Watcher event, first we have to create/set a folder to which file watcher should listen to. For this, go to Enterprise Console > Settings > File Watcher. In the newly opened page, click New. The Add Folder page appears.

Enter a name for the new File Watcher and specify the physical path of the folder which has to be watched for events. Change the other default settings if necessary and click Save. This will successfully create a new File Watcher.

Step 2: Associate workflow with a specific File Watcher Event.

For this example, associate a workflow called "Test" to the File Watcher event raised from the specific folder.

Go to Enterprise Console > Workflows. Right-click the workflow which should be alerted on the File Watcher Event and click Create Associations. The Create Associations page appears.

Choose one of the file events and the physical folder which has already been configured. Click Attach Event which will successfully attach the workflow to the specific event.

A new entry will be made automatically in the "SKEventBindings" table in Repository Database which hold the Event Information.

Another entry is made automatically in the SKEEventAssociations table which hold information about associated events.

When "View all Association" option is clicked, data is retried from the SKEEventAssociations table.

The workflow "Test" will start execution automatically whenever any new file is created in the specified folder.

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