To create a system event:
-
In the Workflow tab of the Repositories pane, right-click and select New | System Event. The Create Workflow System Event dialog box is displayed.
- Enter the name of the event in the Event Name field.
- Select an Event Source. You can select WorkView Class or WorkView Filter. This is where the event will originate from.
- Select the appropriate Event Category. See WorkView Event Categories for more information about the available Event Categories.
- Click OK.
- The script window will open. You can edit the script. Save and publish the script when you are done.
- Select the System Event in the Repositories pane.
- In the Properties pane, within the General tab, you can set the event Break On option and configure Workflow property mapping. See Workflow System Events for more information on these settings.
-
Configure the WorkView context the System Event will trigger within:
If you configured a WorkView Class Event, select the Application Classes tab.
Select the Application from the drop-down list that contains the class that will trigger the event.
Select the Class from the drop-down list that will trigger the event.
Click Add.
If you configured a WorkView Filter Event, select the WorkView Filters tab.
Select the Application from the drop-down list that contains the class that will trigger the event.
Select the Class from the drop-down list that contains the filter you want to use.
Select the Filter from the drop-down list that will trigger the event.
Click Add.
- Select the Documentation tab.
- Enter an Overview and a Description for the System Event.
-
Once you have created the System Event, configure the appropriate actions and rules.
Note:
System tasks configured in conjunction with events at the class and filter levels in previous releases will be automatically converted to System Events.
CAUTION:Events override WorkView security.