Description

    The container for the event trigger activities. When the trigger activity is met this would execute the activities inside the event handler.



Attributes

    Common  

  • Continue on Error - The Boolean value to specify whether to continue executing the next activities even if there is an error thrown on this activity.

    Input

  • Repeat Forever - When True, executes the activities within the event handler every time the event is triggered. When False, executes the activities within the event handler once.

    Misc

  • Display Name - Renames the activity.


Example

  1. Drag a Monitor Events activity inside the Workflow area.
  2. Add a File Change Trigger activity inside the Monitor Events activity on top of the Event Handler Sequence.
  3. On the Monitor Events Properties, select All in the Event Property ChangeType.
  4. In the Notify Filters on Properties panel, Check all the options.
  5. On the File Trigger activity, click on the browse button and select desired file location.
  6. Enter "test.txt" in the File Name field in the File Triggeactivity.
  7. Add a Write Line activity inside the Event Handler Sequence.
  8. In the Write Line Text field, enter "test". This writes the word test in the Output panel whenever there are changes made with the file.
  9. When executed, Monitor Events activity will wait for any changes to the file "test.txt" then it will do the tasks inside the Event Handler

    The use case should look like the following screenshot:



The output should look like this in the Output panel: