Enter Orders in the Alias field. Click the Define tab. Enter CustOrder in the Object Name field. Click the Expression Builder button and configure the Expression Builder as Click Save. Click the Plus Sign button. Enter NoApproval in the Object Name field.
17. Select orderid from the Partition By pull-down menu and click the Plus Sign
button to add this property to the PARTITION BY clause. This ensures that Oracle CEP evaluates the missing event query on each order.18. Enter Orders in the Alias field.
This assigns an alias Orders for the pattern to simplify its use later in the query.19. Click the Define tab.
The Define tab appears as Figure 3–12 shows. Figure 3–12 Pattern Configuration Dialog: Define Tab We will now define each of the conditions named in the pattern clause as Table 3–4 lists:20. Enter CustOrder in the Object Name field.
21. Click the Expression Builder button and configure the Expression Builder as
follows see Figure 3–13 : ■ In the Variables list, double-click eventType. Table 3–4 Condition Definitions Condition Name Definition CustOrder orderChannel.eventType = ’C’ NoApproval NOTorderChannel.eventType = ’A’ Shipment orderChannel.eventType = ’C’ Oracle CEP Samples 3-29 ■ In the Operands list, double-click =. ■ After the = operand, enter the value ’C’. Figure 3–13 Expression Builder: CustOrder22. Click Save.
23. Click the Plus Sign button.
The condition definition is added to the Object List as Figure 3–14 shows. 3-30 Oracle Complex Event Processing Getting Started Figure 3–14 Pattern Configuration Dialog: Define Tab With CustOrder Condition24. Enter NoApproval in the Object Name field.
25. Click the Expression Builder button and configure the Expression Builder as
follows see Figure 3–13 : ■ In the Variables list, double-click eventType. ■ In the Operands list, double-click =. ■ After the = operand, enter the value ’A’. ■ Place parenthesis around the expression. ■ Place the insertion bar at the beginning of the expression, outside the open parenthesis. ■ In the Operands list, double-click NOT. Oracle CEP Samples 3-31 Figure 3–15 Expression Builder: NoApproval26. Click Save.
27. Click the Plus Sign button.
The condition definition is added to the Object List.28. Enter Shipment in the Object Name field.
Parts
» Oracle Fusion Middleware Online Documentation Library
» Introduction to Oracle Complex Event Processing Conceptual Overview of Oracle CEP
» Event Processing Networks Use Cases
» Summary of Oracle CEP Features
» Supported Platforms Oracle CEP IDE for Eclipse Oracle CEP Visualizer
» Oracle CEP-Specific Middleware Home Existing Oracle Fusion Middleware Home
» Next Steps Installing Oracle CEP in Graphical Mode
» To install into a new Oracle Middleware Home directory:
» Installing Oracle CEP in Console Mode
» Creating a silent.xml File for Silent-Mode Installation
» Guidelines for Component Selection Returning Exit Codes to the Command Window
» Upgrading a WebLogic Event Server 2.0 Domain to Oracle CEP 10.3
» Upgrading an Oracle CEP 10.3 Domain to Oracle CEP 11g Release 1 11.1.1.4.0
» Upgrading a WebLogic Event Server 2.0 Application to Run on Oracle CEP 10.3
» Upgrading an Oracle CEP 10.3 Application to Run on Oracle CEP 11g Release 1 11.1.1.4.0
» Ready-to-Run Samples Sample Source
» How to Set Your Development Environment on Windows
» Description of the Ant Targets to Build Hello World Implementation of the HelloWorld Example
» The HelloWorld EPN Assembly File
» The HelloWorld Component Configuration File
» Building and Deploying the CQL Example Description of the Ant Targets to Build the CQL Example
» Running the Oracle Spatial Example
» Implementation of the Oracle Spatial Example
» Oracle Spatial Example EPN Assembly File
» Oracle Spatial Example Component Configuration File
» Running the Foreign Exchange Example
» Implementation of the FX Example The FX EPN Assembly File
» FX Processor Component Configuration File: spreader.xml
» Implementation of the Signal Generation Example
» The Signal Generation EPN Assembly File
» The Signal Generation Component Configuration Files
» Running the Event RecordPlayback Example
Show more