oracle workflow tutorial

Preview:

DESCRIPTION

oracle workflow tutorial

Citation preview

Copyright Oracle Corporation, 2000. All rights reserved.®

Overview of Oracle WorkflowOverview of Oracle Workflow

Copyright Oracle Corporation, 2000. All rights reserved.®

ObjectivesObjectives

After this lesson, you should be able to:

• Understand the concept of a workflow process

• Describe the architecture of Oracle Workflow

• Describe Oracle Workflow’s features

After this lesson, you should be able to:

• Understand the concept of a workflow process

• Describe the architecture of Oracle Workflow

• Describe Oracle Workflow’s features

Copyright Oracle Corporation, 2000. All rights reserved.®

OverviewOverview

• Routes Information

• Defines any rule

• Delivers electronic notifications

• Routes Information

• Defines any rule

• Delivers electronic notifications

Copyright Oracle Corporation, 2000. All rights reserved.®

RolesUsers

Directory Services

Notification Services

Send

Respond

Forward

Cancel

Query

Oracle Workflow Enabled Application

Oracle Server

Engine

Execution

Definition

Administration

Monitoring

Query

WorkflowBuilder

WorkflowLoader

WorkflowDefinition

Files

WorkflowDevelopment

Client

OracleApplication

Serveror

WebDB

NotificationMailer

ApplicationServer

WebNotification

Worklist

WebProcessMonitor

WebAnalysis

Tools

End-UserClient

MailApplications

Workflow Architecture Workflow Architecture

Copyright Oracle Corporation, 2000. All rights reserved.®

Oracle Workflow Features and DefinitionsOracle Workflow Features and Definitions

• Oracle Workflow Builder

• Workflow Engine

• Workflow Definitions Loader

• Notification System

• Notification Worklist

• Directory Services

• Workflow Monitor

• Oracle Workflow Builder

• Workflow Engine

• Workflow Definitions Loader

• Notification System

• Notification Worklist

• Directory Services

• Workflow Monitor

Copyright Oracle Corporation, 2000. All rights reserved.®

Oracle Workflow BuilderOracle Workflow Builder

• Development tool for Oracle Workflow

– Used to graphically define and customize the workflow definitions

– Requires a PC running Windows 95, 98, 2000 or Windows NT

• Workflow definitions: you can save them to a database or a flat file

• There are two parts to the Workflow Builder:

– Object Navigator

– Process Diagram

• Development tool for Oracle Workflow

– Used to graphically define and customize the workflow definitions

– Requires a PC running Windows 95, 98, 2000 or Windows NT

• Workflow definitions: you can save them to a database or a flat file

• There are two parts to the Workflow Builder:

– Object Navigator

– Process Diagram

Copyright Oracle Corporation, 2000. All rights reserved.®

Workflow Process DefinitionWorkflow Process Definition

Copyright Oracle Corporation, 2000. All rights reserved.®

Supported Process ConstructsSupported Process Constructs

• LoopingLooping

• Results-based Results-based branchingbranching

• Parallel flowsParallel flows

• RendezvousRendezvous

Copyright Oracle Corporation, 2000. All rights reserved.®

Supported Process ConstructsSupported Process Constructs

• VotingVoting

• TimeoutsTimeouts

– EscalationEscalation

– Automatic Automatic forwardingforwarding

• Subprocesses Subprocesses (unlimited (unlimited hierarchy)hierarchy)

Copyright Oracle Corporation, 2000. All rights reserved.®

Workflow EngineWorkflow Engine

• Is embedded in the Oracle8i server

• Uses the process definition created with Oracle Workflow Builder to coordinate the routing of activities for the process

• Monitors the state of each activity in a workflow process

• Signals any changes in the workflow state to the engine using calls to PL/SQL or Java API’s

• Guarantees consistency between the application and the workflow state because of Oracle8i transactional integrity

• Is embedded in the Oracle8i server

• Uses the process definition created with Oracle Workflow Builder to coordinate the routing of activities for the process

• Monitors the state of each activity in a workflow process

• Signals any changes in the workflow state to the engine using calls to PL/SQL or Java API’s

• Guarantees consistency between the application and the workflow state because of Oracle8i transactional integrity

Copyright Oracle Corporation, 2000. All rights reserved.®

Workflow Definitions LoaderWorkflow Definitions Loader

Workflow Builder

Oracle 8 or higher

Workflow Engine

Workflow Loader

Process Definitions

Workflow Loader

Process Definition

Copyright Oracle Corporation, 2000. All rights reserved.®

Notification SystemNotification System

e.g. UNIX Sendmaile.g. UNIX Sendmailor MAPI compliantor MAPI compliant

Mail SystemMail System

Application

Notification Mailer

OracleApplications

Screens

Workflow Worklist

Workflow Engine

Notification System

Directory Services

Oracle 8 or higher

Notification Worklist Web PageNotification Worklist Web Page

Copyright Oracle Corporation, 2000. All rights reserved.®

Notification Details Web PageNotification Details Web Page

Extended HTML message formats

Research and make a decisionthrough online inquiry

Email NotificationsEmail Notifications

Automatic generation of response template

Copyright Oracle Corporation, 2000. All rights reserved.®

Email Notifications - Response TemplateEmail Notifications - Response Template

Copyright Oracle Corporation, 2000. All rights reserved.®

Directory ServicesDirectory Services

• WF_USERS

– Contains information on the user names, display names for the users, their notification preference and their e-mail addresses

• WF_USER_ROLES

– Contains information on the association of the users to the roles

• WF_ROLES

– Contains information on the roles of which users can be members

• WF_USERS

– Contains information on the user names, display names for the users, their notification preference and their e-mail addresses

• WF_USER_ROLES

– Contains information on the association of the users to the roles

• WF_ROLES

– Contains information on the roles of which users can be members

Copyright Oracle Corporation, 2000. All rights reserved.®

Oracle Workflow MonitorOracle Workflow Monitor

Copyright Oracle Corporation, 2000. All rights reserved.®

Oracle Workflow Monitor

Copyright Oracle Corporation, 2000. All rights reserved.®

Oracle Workflow Monitor

Copyright Oracle Corporation, 2000. All rights reserved.®

DemonstrationDemonstration

• Save a Workflow process to a database

• Start a Workflow process via Launch Processes web page

• Follow a Workflow process through to completion

• Make changes to a Workflow process

• Save a Workflow process to a database

• Start a Workflow process via Launch Processes web page

• Follow a Workflow process through to completion

• Make changes to a Workflow process

Using Oracle Workflow we will demonstrate how to:Using Oracle Workflow we will demonstrate how to:

Recommended