Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks...

28
Northeast Oracle Users G roup (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks [email protected] (617) 905-7892

Transcript of Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks...

Page 1: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Oracle Workflow Cartridge

Jason MoodyInto [email protected](617) 905-7892

Page 2: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Agenda

OverviewProcess Modeling

Examples (Content Workflow)ArchitectureUsers ViewExtending Oracle Workflow CartridgeWorkflow Versioning

Page 3: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Overview

Predictability. Eliminates the ‘Excel Spreadsheet’

phenomenon.Oracle Workflow allows your

customers to modify your product without writing code.

Page 4: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Practical Considerations

Workflow is tougher (than data modeling).

Process modeling must be done up front.

Long testing periods.

Page 5: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Project Timeline

Medium Project (with 4-5 processes)Design Phase: 4-6 weeksImplementation: 4 weeksTesting: 4 weeksUser Acceptance: 2 weeks(Expect 4 months just for workflow)

Page 6: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Design Phase

Process Modeling Visio Designer

ERDData Dictonary

StartManufacturing

M anagem entFilter

Arepa EncodeTitle is waiting to

be assigned to anencoder

Arepa UserTitle is being

encoded

Arepa ProfileBriq is waiting tobe assigned to a

profiler

Arepa UserBriq is being

profiled

Arepa ArchiveQA process and

check-in

End Manufacturing

Arepa EngineeringDefect

Title Defect

Title begins the encoding process

Title is assigned to an encoder

Briq is sent to profiling

Briq is assigned to a profiler

Briq successfully passes profiling

Te

chn

ical

Fai

lure

- B

riq is

sen

t b

ack

to t

he e

ncod

er

End Manufacturing

The title is cancelledbecause no fix is

available fromthe Publisher

and we w ill notproduce an

Arepa engineeringfix.

Po

tent

ial s

olut

ion

from

Pu

blis

her

Po

tent

ial s

olut

ion

from

En

gine

erin

g

Flow and Roles in theTitle Manufacturing Process

Gather statistics

Visio Diagram

Page 7: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Example: Content Workflow System

Into Networks allows software on-demand No Download or installation of titles.

Description: Content acquisition for software titles including: Assets (Screen shots) Encoding information Title Notes

Page 8: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Content Workflow (Con’t.)

Workflow 2 processes 14 notifications

Data Entry 40+ forms

Page 9: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Architecture

Oracle DatabaseApplication Server

Oracle Application Server Webdb

Workflow BuilderEmail

Page 10: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Architecture

Roles Database Roles

Notifications (End User Client) Web Monitor Client Server (Apps Version)

Business Logic (PL/SQL Blocks)Processes (Workflow Builder)

Page 11: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

W eb NotificationList

W orkflow Monitor

Em ail

O racleApplications

Server

Send

Respond

Forward

Cancel

Query

Execution

Definition

Adm instration

Monitoring

Query

N otificationServices

Engine

ViewsSum m aryFunctions

Procedures

Content Database

Oracle W orkflow Objects

W orkflow Builder

W orkflow Loader

W orkflow DefinitionFiles

Oracle W orkflow Enabled ApplicationData EntryApplication

CW S Reporting

Data Entry (CW S)

Reporting (CW S)

Title H istory(CW S)

End-User C lient Application Server Oracle Server W orkflow Developm ent C lient

Directory Services

Users (Database) Roles (Database)

W orkflow

Notification Mailer(Sendm ail)

Cold Fusion

Architecture

Page 12: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Roles

Workflow views show database roles. Example: Wf_users

NAME NOTIFICATION_PREFERENCE EMAIL_ADDRESSMIKES MAILHTML MIKESBETA MAILHTML BETATEST MAILHTML TEST

Page 13: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Notifications

Page 14: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Business LogicCREATE OR REPLACE PACKAGE BODY OWF_ADM.WF_AREPA as procedure arepa_startprocess (p_itemkey in varchar2) is v_wf_process varchar2(30); v_item_type varchar2(30); v_owner varchar2(30); begin v_wf_process := 'P_OVERVIEW'; v_item_type := 'AREPA'; v_owner := 'OWF_ADM'; wf_engine.createprocess ( itemtype => v_item_type, itemkey => p_itemkey, process => v_wf_process );

Page 15: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Workflow Builder

Page 16: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Workflow Process

Fail - DB error

Fail - Rule violation

Pass

Fail - DB error

Fail - Rule violation

Pass

Fail - DB error

Fail - Rule violation

Pass

Exit Process

Retry Process

Acknowledge

Acknowledge

Exit Process

Retry Process

Acknowledge

Approve

Reject

Acknowledge

Exit Process

Retry Process

Exit Process

Retry Process

Approve

Approve

Reject

Approve

Reject

ASSETS

CHECK PRIORITY

CONTENT_FINISHED_REJ ECT

CONTENT_FINISHED_REJ ECT-1

END - APPROVED -CONTENT(Approve)

END - REJ ECTED -MANUFACTURING

(Reject)

END - REJ ECTED -MARKETING

(Reject)

MARKETCONTENT

NOOP-TITLECANCELCONT

NOOP-TITLECANCELMFG

NOOP-TITLECOMPLETE

N_ASSET_CONTENT_FAILURE

N_CONTENTFINISHED

N_DBFAIL-1

N_DBFAIL-ASSETS

N_DBFAIL-CHECKPRI

N_MFG_CONTENT_FAILURE

N_SET_PRIORITY

N_STARTASSETS

N_STARTMFG P_AND

P_CONTENT_FAILURE

P_CONTENT_FAILURE-CHECKPRI

P_ENCODING-1 P_PROF-1START

Page 17: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Extending Oracle Workflow

Application ServersManagement ReportingPortal Comments

Page 18: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Adding Cold Fusion

Integrated Cold Fusion Rapid Application Development Data Entry Screens

Single Login (OAS manages logins)

Page 19: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Reporting Problems

Need to provide lots of information Workflow and Application Specific

No Out of Box Management ReportsTry to use existing reports instead of

creating new.Especially with workflow: People

want to see the same data multiple ways.

Page 20: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Management Reporting

No Out of Box Management Reports

Created custom approach vs. Discoverer

Page 21: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Portal Home Page

Page 22: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Library Page

Page 23: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Title Detail Page

Page 24: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Comments

People want to communicate problems to others. End to End Systems

Future versions of workflow may have this functionality.

Page 25: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Comments - Data Entry

Page 26: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Comments - Report

Page 27: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Workflow Versioning

Real World Constraints of WorkflowProcess changes

Items finish with the version they start with.

Cannot make changes to process structure on the ‘fly’.

Can change notifications (messages) users see.

Page 28: Northeast Oracle Users Group (4/12/2000) Oracle Workflow Cartridge Jason Moody Into Networks jason@moody.net (617) 905-7892.

Northeast Oracle Users Group (4/12/2000)

Workflow Thoughts

Do up front process design work. Problem to change process later

Design reporting piece as part of original project.

Make Notifications (Messages) single point of contact.

The first project is intense.