REMINDER
Check in on the COLLABORATE
mobile app
Understanding the Basics of BPM/BPEL From
an Oracle EBS Developers Background
Prepared by:
Thomas Korbecki
oAppsNET Partners, LLC
Session ID#: 14886
Objectives
■ What are the basic concepts of BPEL vs. Oracle Interface?
■ What are the basic concepts of BPM vs. Oracle Workflow?
■ When to develop a BPM vs. BPEL application
■ Examples of BPM or BPEL applications in Oracle EBS
BPEL / BPM Experience
■ Who has built a BPM or BPEL Service?
■ Who has attended a training course on BPM or BPEL?
■ Who has read some material on BPM or BPEL?
Workflow BPEL / BPM
What is BPEL / BPM?
BPEL and BPM are both languages for describing and executing business processes. They are both supported by SOA so you have the ability to choose the “best” tool for the process.
In EBS terminology, it's a visual way to create a business process by dragging and dropping predefined objects. The closest example is Oracle Workflow.
When to use BPEL vs BPM
Since you have the ability to choose either BPEL or BPM for the same business process … Which one should you choose?
■ Black / White Approach
▪ If the business process has a human task then use BPM
■ Analytical Approach
▪ Is the business process a system – to – system integration?
▪ Does the business process require any human task?
▪ How involved is the Business in building the business process?
— Oracle Business Process Composer
▪ Does the Development Resource have experience with either
BPEL or BPM?
What are the basic concepts of BPEL vs. Oracle Interface?
This is a subtitle or bulleted list
Design Phase
Oracle Interface BPEL
• Database Package - Orchestration
• Public Procedure• Define Inputs• Define Outputs
• Composite - Orchestration• Define Services Adapters
• WSDL• Define Inputs• Define Outputs
Design Phase – (Clean Process Flow)
Oracle Interface BPEL
• Main – Procedure & Supporting Procedures
Main
Begin
Call Process A
Call Process B
End
• Orchestration or DB Adapter
Build Phase (If Then)
Oracle Interface BPEL
IF item_price > $1,000
THEN
Apply 5% Discount
ELSE
No Discount
END IF
Build Phase (Record Collection)
Oracle Interface BPEL
Cursor_A
IS SELECT *
FROM <some_table>;
Build Phase (Loops)
Oracle Interface BPEL
FOR rec in Cursor
LOOP
{...statements...}
END LOOP;
Build Phase (Loops)
BPEL
Build Phase (Reference)
Oracle Interface BPEL
FOR rec in Cursor_A
LOOP
l_value := rec.value
END LOOP;
Build Phase (Reference)
BPEL
Build Phase (Exceptions)
Oracle Interface BPEL
BEGIN
{...statements...}
EXCEPTION
WHEN OTHERS THEN
{...statements...}
END;
Build Phase (Wizards)
BPEL – DB Adapter
Deploy Phase
Oracle Interface BPEL
• Compile Package In Oracle Database • Deploy Service To WebLogic Server (WLS)• Define Configuration Plan
Deploy Phase
BPEL
Deploy Phase
BPEL
Deploy Phase
BPEL
Deploy Phase
BPEL
Test Phase
Oracle Interface BPEL
• Call public procedure while connected to the database
Begin
package_name.main;
End;
• Call WSDL using the Enterprise Manager • Call WSDL using SOAP Utility
Test Phase
BPEL
Test Phase
BPEL
Support Phase
Oracle Interface BPEL
• Rely on log messages provide by developer and display the log to the screen / Output / Log
DBMS_OUTPUT.PUT_LINE
FND_OUT
FND_LOG
• Enterprise Manager – Flow Trace
Support Phase
BPEL
Support Phase
BPEL
Support Phase
BPEL
What are the basic concepts of BPM vs. Oracle Workflow?
This is a subtitle or bulleted list
BPM
■ BPM is actually comprised of a suite of tools to assist in designing, building, administering and monitoring business processes.
▪ Oracle Business Process Composer
▪ JDevleoper
▪ BPM Workspaces
▪ Business Activity Monitor
Oracle Workflow vs BPM
Oracle Workflow BPM
• Oracle Workflow Designer – Flow
• Oracle Forms - Canvas• AME• Document Management• Comment Management• Workflow Administrator
• Task / Queue System
• JDeveloper – Flow• BPM Composer• Auto Generate ADF pages
• JDeveloper – ADF pages • <Included>• <Included>• <Included>• Enterprise Manager
• Show all instances• Audit Trail
• <Included> • “BPM Workspaces”
BPM (Roles / Groups)
■ BPM introduces horizontal swim lanes to represent groups
BPM (Participants)
■ Control what actions each participant can perform
BPM (History, Comments, Documents)
■ Comments and Document Management
BPM (Workspace)
■ Workspace is a robust collaborative work management interface where the User performs the work associated with business process.
■ For Oracle Workflow, there is no workflow console for the user to log into and perform their work. The User performs the work by navigating to a Oracle EBS menu item.
BPM (BAM)
■ BPM includes business activity monitoring (BAM) to capture events and data as the process advances throughout the workflow. This information can then be uses to provide timely metrics to help the Business make informed decisions
Design Phase
Oracle Workflow BPM
• Modeling Tool • Oracle Business Process or Modeling Tool• Define Roles / Groups• Define Actions By Participant
Define Human Task Outcomes• Determine Payload Type
■ Payload Type
▪ Light – Data is retrieved, updated and save to a database
▪ Heavy – Data is retained within the process flow
Design (Variables)
Oracle Workflow BPM
Design (Loops)
Oracle Workflow BPM
Design (Email)
Oracle Workflow BPM
Design (If Then)
Oracle Workflow BPM
Design (Exceptions)
Oracle Workflow BPM
Design (Human Tasks)
Oracle Workflow
BPM
• N/AUser Bases assignment on the
participant, role, or group defined in the swim lane and waits until the task in completed
FYI Bases assignment on the participant, role, or group defined in the swim lane. Similar to the user interactive activity, but the FYI activity does not wait until completion before continuing.
Initiator The initiator pattern is used to create a process instance.
Design (Reference Variables)
Oracle Workflow BPM - Xpath
Get Attribute
wf_engine.getitemattrtext
(itemtype => itemtype,
itemkey => itemkey,
aname => 'ORG_ID'
);
Set Attribute
wf_engine.setitemattrtext
(itemtype => itemtype,
itemkey => itemkey,
aname => 'MESSAGE',
avalue => l_message);
Deployment
Oracle Workflow BPM
• Oracle Workflow Designer Tool• Process• UI
• JDeveloper• Process• UI
• Associate the UI to the Human Task (EM)
■ BPM deployment is very similar to the BPEL process
Test Phase
Oracle Workflow BPM
• Workflow APIs• EBS menu Form or Program
• Call WSDL using the Enterprise Manager • Call WSDL using SOAP Utility• BPM WorkSpace Console
Support Phase
BPM
Support Phase
BPM
Support Phase
BPM
Support Phase
BPM
Examples of BPM or BPEL applications in Oracle EBS
This is a subtitle or bulleted list
Examples Of Integrating With Oracle EBS
■ Oracle EBS XML Gateway
■ Oracle Business Events & MDM
■ Oracle Applications Service Adapter
■ SOA Database Adapter
■ Any 3rd Party system that interfaces with Oracle EBS
▪ CRM
▪ Warehouses
▪ Marketing
▪ Web Portals
■ Current business processes that are performed with spreadsheets and emails
▪ Item creation process
▪ Customer creation process
▪ Warehouse setup process
Question?Comments?
This is a subtitle or bulleted list
Please complete the session evaluationWe appreciate your feedback and insight
You may complete the session evaluation either
on paper or online via the mobile app
THANK YOU
■ Thomas Korbecki
■ www.oAppsNet.com
■ Download This Paper From www.oAppsNet.com