Conductor Script Commands

CreateFilter

The CreateFilter command creates a filter for events posted on the current engine object.

CreateFilter time_interval filter_expression

Argument

Description

 

 

time_interval

The time during which the filter batches up events before

 

reporting them, in milliseconds.

filter_expression

Expression specifying filter criteria.

 

 

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

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

 

 

 

Appendix A Conductor Script Commands 279

Page 279
Image 279
Sun Microsystems 3 manual CreateFilter, Event Type