Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th...
-
Upload
imogen-anthony -
Category
Documents
-
view
233 -
download
1
Transcript of Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th...
![Page 1: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/1.jpg)
Corticon Integration with OpenEdge and BPM
Name DivyaTheja Pachipula
Title Senior Engineer
Date 9th June, 2015
![Page 2: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/2.jpg)
2
Agenda
Business Rules and challenges
Need of Progress Corticon
Corticon integration with ABL
Corticon integration with BPM
![Page 3: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/3.jpg)
3
Business Rules
Business Rules are Statements that define an action
• Constraint
• Decision
Practical Rules
• Safe Driving
– IF red, THEN stop
– IF emergency vehicle comes by, THEN move right and stop until it passes
– IF.. THEN ..
![Page 4: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/4.jpg)
4
Use case - Credit Card authorization
Rules include:
Credit Card valid?Is Credit Card expired?Are we crossing the credit limit available in Credit Card?From which Geographical location, the transaction is being done?
In the Store / Online Payment
Gateway
Initialize Transaction
DeclinePayment
ApprovePayment
Inform Customer byEmail/SMS
FraudCheck
No
100+ Rules are Validated in Background
Yes
![Page 5: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/5.jpg)
5
Rules for Credit card authorization written in ABL and BPM
ABL Application Business Process Application
![Page 6: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/6.jpg)
6
Challenges when rules embedded in ABL Application
Business Logic
DBMS
Traditional Application
Completely developer centric
Barrier between Business Experts and ABL Developers
High maintenance cost
Cannot identify conflicting rules
Single change can impact hundreds of rules
![Page 7: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/7.jpg)
7
Challenges when rules modeled in BPM
Difficulty in modelling complex rules
Changing the logic results in modification, redeployment and testing of process
Reusability of rules across different process
Process centric rules
Business Logic
DBMS
Business Process Application
![Page 8: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/8.jpg)
8
Corticon Business Rules Management
![Page 9: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/9.jpg)
9
Progress Corticon Architecture
RuleSheet N
RuleFlow
RuleSheet 1 Conditions
Filters
Actions
Message
DecisionService
v1.0Rulesheet 1
Vocabulary Domains
Entities
Attributes
DecisionService
v2.0
Schema
Dashed line: optional components
Rulesheet N
Corticon Studio Corticon Server
![Page 10: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/10.jpg)
10
OpenEdge ABL – Corticon
![Page 11: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/11.jpg)
11
OpenEdge – Corticon
Define Schema in ABL
Write business rules in Corticon
Deploy the rules to Corticon Server
Invoke Decision Service from ABL
Define Schema Create Rules Deploy Invoke Decision Service
![Page 12: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/12.jpg)
12
OpenEdge – Corticon
Define ABL Schema
• Temp-Table
• ProDataSet
Export Schema
• Export from PDS for OE
• Business Rules Vocabulary Definition(BRVD) file
Define Schema Create Rules Deploy Invoke Decision Service
![Page 13: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/13.jpg)
13
OpenEdge – Corticon
Import Schema• BRVD file -> Vocabulary file
• Temp-Table -> Entity
• Temp-Table Fields -> Entity Attributes
Write Rules• Create Rule Sheet
• Write rules
Define Schema Create Rules Deploy Invoke Decision Service
![Page 14: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/14.jpg)
14
OpenEdge – Corticon
Define Flow
• Create Rule flow
• Define the flow
Deploy
• Configure Corticon Server
• Deploy Rule Flow to Server
Define Schema Create Rules Deploy Invoke Decision Service
![Page 15: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/15.jpg)
15
OpenEdge – Corticon
Invoke Decision Service
• ABL API
– Connect
– IsDecisionService
– InvokeService
– GetMsgs
– Disconnect
Define Schema Create Rules Deploy Invoke Decision Service
![Page 16: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/16.jpg)
16
OpenEdge – Corticon
![Page 17: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/17.jpg)
17
OpenEdge BPM – Corticon
![Page 18: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/18.jpg)
18
OpenEdge BPM – Corticon
Export Schema from Dataslots and Import
it as Vocabulary
Create Business Rules and Deploy
Configure Corticon Adapter
Invoke the adapter from Business
Process
Define Schema Model & Deploy Business Rules
Configure Corticon Adapter
Invoke Decision Service
![Page 19: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/19.jpg)
19
OpenEdge BPM – Corticon
Define Schema• Dataslots
– Primitives, Prodatasets and Temp-Table types
– Assign schema definition for Prodatasets and Temp-Table
BRVD Export• Primitives
• Prodatasets
• Temp-Table
Define Schema Model & Deploy Business Rules
Configure Corticon Adapter
Invoke Decision Service
![Page 20: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/20.jpg)
20
OpenEdge BPM – Corticon
Corticon studio
• Create Corticon Project
• Import BRVD
• Create Rule sheet and model rules
• Define Rule flow using the Rule sheet
Corticon server
• Deploy the modeled Rule flow
Define Schema Model & Deploy Business Rules
Configure Corticon Adapter
Invoke Decision Service
![Page 21: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/21.jpg)
21
OpenEdge BPM – Corticon
In BPM studio
• Model BPM process
• Add Corticon adapter
In Corticon Adapter
• Username & Password (If secured)
• Server URL
• Decision Service name
• Decision Service version
• Define dataslot mapping for either Primitive/Prodataset/Temp-Table types
Define Schema Model & Deploy Business Rules
Configure Corticon Adapter
Invoke Decision Service
![Page 22: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/22.jpg)
22
OpenEdge BPM – Corticon
Deploy the Business Process
In Portal• Instantiate the process
• Invoke decision service using Corticon Adapter
Define Schema Model & Deploy Business Rules
Configure Corticon Adapter
Invoke Decision Service
![Page 23: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/23.jpg)
23
OpenEdge BPM – Corticon
![Page 24: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/24.jpg)
24
Corticon and OpenEdge
Development Tools
• Progress Developer Studio for OpenEdge
• OpenEdge BPM Studio
• Corticon Studio
Server
• Corticon Server
• Pacific AppServer for OpenEdge
Development
PDS OE
OE BPM
Corticon Studio
Server
Pacific AppServer for
OE
Corticon Server
![Page 25: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/25.jpg)
25
Supported Versions
OpenEdge – Corticon
• OpenEdge 11.3
• Corticon 5.3.2
OpenEdge BPM – Corticon
• OpenEdge 11.4
• Corticon 5.3.2
![Page 26: Corticon Integration with OpenEdge and BPM NameDivyaTheja Pachipula TitleSenior Engineer Date9 th June, 2015.](https://reader035.fdocument.pub/reader035/viewer/2022081723/56649dc85503460f94abe14d/html5/thumbnails/26.jpg)