Otnvdd Soademo3 Rules 494870
-
Upload
amitkhare77 -
Category
Documents
-
view
221 -
download
0
Transcript of Otnvdd Soademo3 Rules 494870
-
8/2/2019 Otnvdd Soademo3 Rules 494870
1/17
Oracle Business Rules
-
8/2/2019 Otnvdd Soademo3 Rules 494870
2/17
2 Copyright 2011 Oracle Corporation. All Rights Reserved
Oracle Business Rules Overview
True inference rules engine (based on Jess)
Available and usable independent of Oracle SOA/BPM
Tight integration with Oracle SOA/BPM
Usually positioned and used as part of SOA/BPM
-
8/2/2019 Otnvdd Soademo3 Rules 494870
3/17
3 Copyright 2011 Oracle Corporation. All Rights Reserved
Oracle Business Rules 11g
Easier to use
Date, Time, Effectivity
Aggregates
Decision Tables
Dictionary Links, and many more
Web based business user authoring
-
8/2/2019 Otnvdd Soademo3 Rules 494870
4/17
4 Copyright 2011 Oracle Corporation. All Rights Reserved
Business Rules in SOA CompositeDifferent Usage Scenarios
Stand Alone
From HumanTask
From BPEL
-
8/2/2019 Otnvdd Soademo3 Rules 494870
5/17
5 Copyright 2011 Oracle Corporation. All Rights Reserved
Tight Integration with BPEL
Create rule
dictionary from
within BPEL
Leverage BPEL
variables and
project schemasDictionary
completely setup
for writing rules
i.e. facts created,
etc.
-
8/2/2019 Otnvdd Soademo3 Rules 494870
6/17
6 Copyright 2011 Oracle Corporation. All Rights Reserved
Date and Time Support
Rule Activation and
Effective Dates
Mark rules as
active/in-active
Specify periods
when rule iseffective
Date and Time based
rules
Date comparisons Current Date
-
8/2/2019 Otnvdd Soademo3 Rules 494870
7/177Copyright 2011 Oracle Corporation. All Rights Reserved
Aggregates
Example: If an Order
has more than 5 items
with price > 1000,
require manual
approval
Out-of-boxaggregation functions:
count, average,
minimum, maximum,
sum, collection
Custom aggregation
function
-
8/2/2019 Otnvdd Soademo3 Rules 494870
8/178 Copyright 2011 Oracle Corporation. All Rights Reserved
Decision Tables
-
8/2/2019 Otnvdd Soademo3 Rules 494870
9/179 Copyright 2011 Oracle Corporation. All Rights Reserved
Decision TablesIf CurrentDate.date = During Sale and
CustomerOrder.vipStatus = Platinum or Silver andCustomerOrder.totalAmount >= 700
Then Discount = 15 and status = APPROVED
-
8/2/2019 Otnvdd Soademo3 Rules 494870
10/1710 Copyright 2011 Oracle Corporation. All Rights Reserved
Decision Tables
Set of Values or Ranges to compare with
-
8/2/2019 Otnvdd Soademo3 Rules 494870
11/1711 Copyright 2011 Oracle Corporation. All Rights Reserved
Decision Tables
List of Values or Ranges
-
8/2/2019 Otnvdd Soademo3 Rules 494870
12/1712 Copyright 2011 Oracle Corporation. All Rights Reserved
Decision Tables
Resolve overlap between R1 and R3by overriding R3 with R1
-
8/2/2019 Otnvdd Soademo3 Rules 494870
13/1713 Copyright 2011 Oracle Corporation. All Rights Reserved
Decision Function
Simplifies exposing rules to
be invoked as Decision
Service or otherwise
Sequence rulesets and
functions declaratively
Functions are especiallyuseful in doing pre and
post processing
Asserts inputs and returns
outputs
Provides validations
-
8/2/2019 Otnvdd Soademo3 Rules 494870
14/17
14 Copyright 2011 Oracle Corporation. All Rights Reserved
Rules Testing
-
8/2/2019 Otnvdd Soademo3 Rules 494870
15/17
15 Copyright 2011 Oracle Corporation. All Rights Reserved
Many More Features
Dictionary Links Spread rules across dictionaries for
reuse and access control
Decision Functions Create rule flows
-
8/2/2019 Otnvdd Soademo3 Rules 494870
16/17
16 Copyright 2011 Oracle Corporation. All Rights Reserved
Demonstration
-
8/2/2019 Otnvdd Soademo3 Rules 494870
17/17
17 Copyright 2011 Oracle Corporation. All Rights Reserved
AQ&Q U E S T I O N SQ U E S T I O N SA N S W E R SA N S W E R S
http://otn.oracle.com/soahttp://www.oracle.com/soa
http://otn.oracle.com/soahttp://www.oracle.com/soahttp://www.oracle.com/soahttp://www.oracle.com/soahttp://otn.oracle.com/soahttp://otn.oracle.com/soahttp://otn.oracle.com/soahttp://otn.oracle.com/soa