Enter Shipment in the Object Name field. Click the Expression Builder button and configure the Expression Builder as Click Save. Click the Plus Sign button. Click the Measure tab. Enter orderid in the Object Name field. Click the Expression Builder button

Oracle CEP Samples 3-31 Figure 3–15 Expression Builder: NoApproval

26. 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.

29. 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 ’S’. 3-32 Oracle Complex Event Processing Getting Started Figure 3–16 Expression Builder: Shipment

30. Click Save.

31. Click the Plus Sign button.

The Define tab appears as Figure 3–17 shows. Oracle CEP Samples 3-33 Figure 3–17 Pattern Configuration Dialog: Define Tab Complete

32. Click the Measure tab.

The Measure tab appears as Figure 3–18 shows. 3-34 Oracle Complex Event Processing Getting Started Figure 3–18 Measure Tab Use the Measure tab to define expressions in a MATCH_RECOGNIZE condition and to bind stream elements that match conditions in the DEFINE clause to arguments that you can include in the select statement of a query. Use the Meaure tab to specify the following: ■ CustOrder.orderid AS orderid ■ CustOrder.amount AS amount For more information, see: ■ MEASURES Clause in the Oracle Complex Event Processing CQL Language Reference ■ MATCH_RECOGNIZE Condition in the Oracle Complex Event Processing CQL Language Reference

33. Enter orderid in the Object Name field.

34. Click the Expression Builder button and configure the Expression Builder as

follows see Figure 3–13 : ■ In the Variables list, double-click CustOrder.orderid. Oracle CEP Samples 3-35 Figure 3–19 Expression Builder: orderid

35. Click Save.

36. Click the Plus Sign button.

37. Enter amount in the Object Name field.

38. Click the Expression Builder button and configure the Expression Builder as

follows see Figure 3–13 : ■ In the Variables list, double-click CustOrder.amount. 3-36 Oracle Complex Event Processing Getting Started Figure 3–20 Expression Builder: amount

39. Click Save.