Understanding the Basics of BPM/BPEL From an Oracle EBS Developers Background Session ID#: 14886 Prepared by: Thomas Korbecki oappsnet Partners, LLC REMINDER Check in on the COLLABORATE mobile app
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?
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. Workflow BPEL / BPM
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
Oracle Interface Design Phase 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 Orchestration or DB Adapter Main Begin Call Process A Call Process B End
Oracle Interface Build Phase (If Then) 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>;
Oracle Interface Build Phase (Loops) BPEL FOR rec in Cursor LOOP {...statements...} END LOOP;
BPEL Build Phase (Loops)
Oracle Interface Build Phase (Reference) BPEL FOR rec in Cursor_A LOOP l_value := rec.value END LOOP;
BPEL Build Phase (Reference)
Oracle Interface Build Phase (Exceptions) BPEL BEGIN {...statements...} EXCEPTION WHEN OTHERS THEN {...statements...} END;
BPEL DB Adapter Build Phase (Wizards)
Deploy Phase Oracle Interface BPEL Compile Package In Oracle Database Deploy Service To WebLogic Server (WLS) Define Configuration Plan
BPEL Deploy Phase
BPEL Deploy Phase
BPEL Deploy Phase
BPEL Deploy Phase
Oracle Interface Call public procedure while connected to the database Begin package_name.main; End; Test Phase BPEL Call WSDL using the Enterprise Manager Call WSDL using SOAP Utility
BPEL Test Phase
BPEL Test Phase
Oracle Interface Rely on log messages provide by developer and display the log to the screen / Output / Log DBMS_OUTPUT.PUT_LINE FND_OUT FND_LOG Support Phase BPEL Enterprise Manager Flow Trace
BPEL Support Phase
BPEL Support Phase
BPEL Support Phase
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 Oracle Workflow vs BPM Oracle Workflow Designer Flow Oracle Forms - Canvas AME Document Management Comment Management Workflow Administrator Task / Queue System BPM 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
Oracle Workflow Design (Variables) BPM
Oracle Workflow Design (Loops) BPM
Oracle Workflow Design (Email) BPM
Oracle Workflow Design (If Then) BPM
Oracle Workflow Design (Exceptions) BPM
Oracle Workflow BPM Design (Human Tasks) N/A User FYI Initiator Bases assignment on the participant, role, or group defined in the swim lane and waits until the task in completed 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. The initiator pattern is used to create a process instance.
Oracle Workflow Design (Reference Variables) 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);
Oracle Workflow Oracle Workflow Designer Tool Process UI Deployment BPM JDeveloper Process UI Associate the UI to the Human Task (EM) BPM deployment is very similar to the BPEL process
Oracle Workflow Workflow APIs EBS menu Form or Program Test Phase BPM Call WSDL using the Enterprise Manager Call WSDL using SOAP Utility BPM WorkSpace Console
BPM Support Phase
BPM Support Phase
BPM Support Phase
BPM Support Phase
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 3 rd 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
This is a subtitle or bulleted list Question? Comments?
Please complete the session evaluation We appreciate your feedback and insight You may complete the session evaluation either on paper or online via the mobile app
THANK YOU Thomas Korbecki Tkorbecki@oappsnet.com www.oappsnet.com Download This Paper From www.oappsnet.com