BPEL and Human Workflow · Features: BPEL PM 11g - Workflow ADF task flow for task forms ADF...

17
<Insert Picture Here> BPEL and Human Workflow

Transcript of BPEL and Human Workflow · Features: BPEL PM 11g - Workflow ADF task flow for task forms ADF...

<Insert Picture Here>

BPEL and Human Workflow

2 Copyright © 2011, Oracle. All rights reserved.

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions.The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

3 Copyright © 2011, Oracle. All rights reserved.

<Insert Picture Here>

Introduction to BPEL

4 Copyright © 2011, Oracle. All rights reserved.

What is BPEL?

• Business Process Execution Language• XML-based markup language for composing

a set of discrete services into an end-to-end process flow

• 10+ years of research and development from Microsoft (XLANG) and IBM (WSFL, FDML)

• Consumes and orchestrates WSDL-based services

• The glue that binds web services

• BPEL processes expose a WSDL interface• A process flow is automatically a service

Gartner believes that BPEL will

emerge as the leading industry

standard for Web service

orchestration and coordination

of business processes.

- David Smith, Research Vice President

and fellow, Gartner

BPEL is the future of the

integration space in my view…

Why? Because the value is so

much higher when you provide

not only a way to integrate

applications, but also a way to

create services from them and put

them into business processes

- John Rymer, Vice President, Forrester

Research, Inc.

<Insert Picture Here>

Strengths of BPEL

• Orchestrates services• Designed for long running processes• Built-in support for asynchronous interaction• Fault handling and compensating transactions

• Extensible

• Parallel flows• Conditional branching

6 Copyright © 2011, Oracle. All rights reserved.

Based on standards

• Uses and extends the web services model• WSDL for defining the interface• XML and WSDL typed variables• SOAP for communication

• XML Schema for definitions

• XPath for data querying

• XSLT for transformations

• WS-Addressing

7 Copyright © 2011, Oracle. All rights reserved.

… And open

• Web services / SOAP interface• Public Java API

• Used internally as well• Example: Console

8 Copyright © 2011, Oracle. All rights reserved.

BPEL by example

start

CustomerService

UnitedLoad

end

?

10:00am

1:00am

Get cust info

Send RFQ

Receive quote

Send RFQ

Receive quote

Select best vendor

StarLoan

BPEL Flow

Handle customerdata exception

<process>

</process>

<invoke>

<partnerLink>

<switch>

<faultHandlers>

<flow>

</flow>

<partnerLink>

<partnerLink><receive>

<invoke>

<variable>

<process>

<variables>

<partnerlink>

<sequence>

<invoke>

<flow> <sequence> <invoke> <receive> </sequence> <sequence> <invoke> <receive> </sequence> </flow>

<switch> <case> <sequence/> </case> <case> <sequence/> </case> <switch>

</sequence>

</process>

9 Copyright © 2011, Oracle. All rights reserved.

BPEL

BPEL, The Orchestrator

IU

PORTAL

J2EE

TOMCAT

Web Service

Java Service

ERPSAP, Oracle, etc.

User Tasks

DatabaseStored Procedures

10 Copyright © 2011, Oracle. All rights reserved.

Architecture and Deployment

SCA Composite

SOA Composite Editor

BPEL

HumanTask

Rules

Mediation

BPEL orchestration

Business Rules

Human Tasks Web

servicesand

adapters

MediationSAR

DehydrationStore

MDS

Web-basedconsole

BPEL

Service InfrastructurePolicy Manager

Optimized binding

Oracle Service Bus

JCAService/Event Delivery API

BPMNHumanWorkflow

BPELBusinessRules

MediatorMediator

11 Copyright © 2011, Oracle. All rights reserved.

Design view and Source view

12 Copyright © 2011, Oracle. All rights reserved.

Features: BPEL PM 11gScalable DOM

Reduced memory consumption

Better performance for large payloads

Entity Variables

SDO Support

Fetching of data is deferred until needed

Interfaces:

ADF-BC, Custom

Runtime

In-memory state

RAC integration enhancements

Unified error hospital

Transformations Multiple input sourcesComplex constructs: any, xsi:typeSubstitutionsAbstract types and elements

EDN SupportBPEL can publish and subscribe to events directly

Migration ToolMigrate existing BPEL processes to composite applicationAbility to migrate running instances to new process versions

13 Copyright © 2011, Oracle. All rights reserved.

<Insert Picture Here>

Human Workflow

14 Copyright © 2011, Oracle. All rights reserved.

Assign Tasks

Human Workflow Service

TaskComplete

BPEL Process

WSDLInterface

Workflow Architecture

Component Services

• Task Management ServiceTask data, forms, Attachments

• Task Routing ServiceAssignment, Dispatching

• User Metadata ServiceRules, Work queues

• Identity ServiceUsers, Roles

• Worklist ServiceTask query, Reporting

• Notification ServiceEmail, Wireless

JDeveloper

Task Metadata

Worklist Application

Update Task

Supervisor

Work Assignee

Process Owner

Custom App

ServiceConsumer

(Non-BPEL)

JavaAPI

JavaPOJO / EJB

15 Copyright © 2011, Oracle. All rights reserved.

Summary of Workflow Features

Task Assignment• Users• Roles• Groups

Task routing• Declarative patterns• Ad-hoc routing• Document based routing• Complex routing with business

rules

Notifications• Declarative specification of:

• When – assigned, expired, …• Who – assignee, manager, …

• Email, Voice, Pager, SMS

Management Rules• Escalation, Expiration• Delegation, Vacation

rules• Work load balancing

Reports, Audit Trails, …

• Productivity and distribution reports

• Complete history and audit trail

Worklist Application• Profile based – assignee,

supervisor, group owner, process owner

• Available as portlets• Completely customizable• Web Services and Java API

Identity Management• Roles and Org. Hierarchy• Integrates with OID,

LDAP, JAZN; custom plug-ins

Task Forms• ADF based task forms• Auto-generated, user

defined• Task Data controls• MS Office integration

16 Copyright © 2011, Oracle. All rights reserved.

Features: BPEL PM 11g - WorkflowADF task flow for task forms

ADF enables sophisticated task display forms using RCF components, can create multi-page forms

Auto generate ADF task forms.

New Out of the box Worklist application

Based on rich client framework (JSF)

Significant usability enhancements

New Identity management layer

Use of Java Platform security for user/role lookup. Support for OVD (multiple sources for user/group attributes)

Rule based WF routing

Enables complex task routing scenarios using business rules. Can go forward or backward n levels in routing chain

Notification enhancements

Reliability enhancements - Detection of auto-reply, badly formatted responses, spam

User preferences for various devices for different types of notifications

New in 11g: IM

Digital signatures for tasksUse digital certificates to sign task content when taking actions on a task

MS Office/Excel integrationUse Excel to initiate workflows Excel to access worklist tasks

Access/Visibility policiesRestrict who can see and edit different parts of the taskRestrict actions performed by participants

Task service enhancementsSupport for to-do tasksSupport for sub-tasks

Task reporting enhancementsEnd-to-end instance tracking of BPEL, mediator, WorkflowNew report for task productivity and assignee time distribution

Workflow engine dashboardWorkflow component view in SOA consoleDetailed performance metricsError reporting

17 Copyright © 2011, Oracle. All rights reserved.

AQ&Q U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S

http://otn.oracle.com/soahttp://www.oracle.com/soa