Tablet Accessory User Manual
Conductor Script Commands
Appendix A Conductor Script Commands 279
CreateFilter
The CreateFilter command creates a filter for events posted on the current
engine object.
CreateFilter time_interval filter_expression
The CreateFilter command is only available when an engine is current. Use the
FindEngine Script command to set the current engine.
The CreateFilter command assigns a filter ID to the new filter.
The filter_expression argument provides the criteria used to filter the universe of
events posted by the engine. These events include all state changes to sessions,
process instances, and activities, as well as changes in process attributes. The filter
expression uses a number of comparison operators to specify three filter expression
elements. The three elements—type, object class, and object instance—and the
operators are described below:
Event Type
Argument Description
time_interval The time during which the filter batches up events before
reporting them, in milliseconds.
filter_expression Expression specifying filter criteria.
Type Value Description
Object creation 1 Events reporting creation of sessions, process instances, or
activities
Object deletion 2 Events reporting deletion of sessions, process instances, or
activities
Attribute change 3 Events reporting changes in process attribute values
Alarm report 4 Events of a particularly important nature regarding process
execution