Workflow Jan 2009
Transcript of Workflow Jan 2009
-
7/30/2019 Workflow Jan 2009
1/68
INTERNAL12-Jan-2009
Presented By
Anju K (201740)
Oracle Workflow
-
7/30/2019 Workflow Jan 2009
2/68
CONFIDENTIAL
Document Name
OracleWorkflow
Overview &Features
MajorComponents
KeyTerminology
OracleWorkflows
APIs
SampleWorkflow
Course Objectives
-
7/30/2019 Workflow Jan 2009
3/68
CONFIDENTIAL
Document Name- 3 -
Workflow Definition
Oracle Workflow delivers a complete
workflow management system that
supports business process basedintegration. Its technology enables
modeling, automation, and continuous
improvement of business processes,
routing information of any type accordingto user-defined business rules.
-
7/30/2019 Workflow Jan 2009
4/68
CONFIDENTIAL
Document Name- 4 -
Major ComponentsWorkflow Engine
Oracle Workflow builder
Notification System
Workflow Monitor
-
7/30/2019 Workflow Jan 2009
5/68
CONFIDENTIAL
Document Name
Oracle Workflow builder
Work Flow is Software which is used to graphically define
and modify Workflows.
-
7/30/2019 Workflow Jan 2009
6/68
CONFIDENTIAL
Document Name
Notification System
Workflow communicates with users by sending notifications.
Each notification includes messages and optional possible responses.
Route notification to roles which can be an individual user or group of users .
-
7/30/2019 Workflow Jan 2009
7/68CONFIDENTIAL
Document Name
Workflow Monitor
Workflow Monitor Section
Process Title Process Diagram Window
Detailed Tab Window
Administrator Buttons
http://localhost/var/www/apps/conversion/tmp/scratch_4/WorkFlow%20Monitor.dochttp://localhost/var/www/apps/conversion/tmp/scratch_4/WorkFlow%20Monitor.dochttp://localhost/var/www/apps/conversion/tmp/scratch_4/WorkFlow%20Monitor.dochttp://localhost/var/www/apps/conversion/tmp/scratch_4/WorkFlow%20Monitor.doc -
7/30/2019 Workflow Jan 2009
8/68CONFIDENTIAL
Document Name
Process Diagram WindowThe process diagram window provides graphical cues about the
status of the process and its activities:
Activity Status Colors
-
7/30/2019 Workflow Jan 2009
9/68CONFIDENTIAL
Document Name
Detail Tab WindowUsage Tab
Current Location
Start/End
Performer
Status Tab
Current Location
Status
Result
Begin Date
End Date
Assigned User
Notification Tab
Current Location
Status Result
Begin Date
End Date
-
7/30/2019 Workflow Jan 2009
10/68CONFIDENTIAL
Document Name
Admin Administrator Buttons Buttons
Abort Process :-Abort Process is to abort the selected process
and cancel any outstanding notification .
Suspend Process :- Suspend Process to suspend the selected process.
Resume Process :- Resume Process to resume the suspendedprocess to normal execution status.
Reassign :- Assign Activity to reassign a notification to a
different performer.
Expedite :-To alter the state of an error activity.
Attribute :- To change the value of an item type attribute.
-
7/30/2019 Workflow Jan 2009
11/68CONFIDENTIAL
Document Name
Process Components
Item Type
Item Attributes
Process
Function Message
Notification
Lookup Type & Code
-
7/30/2019 Workflow Jan 2009
12/68CONFIDENTIAL
Document Name
Item Type
The Object are defined within an
Item Type.
Display Name :- Display name is for
documentation purpose
Description:- Details about the
Workflow .
-
7/30/2019 Workflow Jan 2009
13/68CONFIDENTIAL
Document Name
Item TypeAll
Properties
Internal Name:- It is limited to 8 character. It is used throughout the
database as part of the unique identification for the
object.
Persistence Type:-It determines the duration of the time that
runtime data is kept.
Permanent
Temporary Number of Days
-
7/30/2019 Workflow Jan 2009
14/68CONFIDENTIAL
Document Name
Item Attribute
Attributes are global variables
that can be updated / referenced
in Functions and Messages.
Attributes are stored in runtime
tables.
Type :-Defines the category of an
attribute
Default Value :- Used to set some
initial value for Attribute.
-
7/30/2019 Workflow Jan 2009
15/68
CONFIDENTIAL
Document Name
Process
A Process is a graphical
representation of a business
process consist of Activity
Functions, notifications and sub-
processes.
Runnable :- Indicates this
process can be initiated as a top-
level process and can run
independently. This should be
unchecked for a sub process
called by another process.
-
7/30/2019 Workflow Jan 2009
16/68
CONFIDENTIAL
Document Name
Message
Messages are viewed by users
through the notification page
or email. They can require a
response or simply provide
information. A message must
be attached to a notification tobe used in a process.
Priority does not affect
processing or delivery of the
message.
-
7/30/2019 Workflow Jan 2009
17/68
CONFIDENTIAL
Document Name
Message Cont..
Message Body:-The message
body defines the content of the
message. It can be formatted in
Text or HTML. Message
attributes can be used in thetext and the value of the
attribute will be substituted at
runtime.
Message attributes can be used
in the text and the value of the
attribute will be substituted at
runtime
-
7/30/2019 Workflow Jan 2009
18/68
CONFIDENTIAL
Document Name
Message Cont..
A message result needs to be
defined whenever the notification it
is being attached to is expecting a
result. The Internal Name becomes
RESULT.
Lookup Type :Should be the same
as that used in defining the
Notification Result Type.
Default : Can be set to either aconstant value or an Item Type
attribute value.
-
7/30/2019 Workflow Jan 2009
19/68
CONFIDENTIAL
Document Name
FunctionA Function executes a PL/SQL procedure or calls an external
function. Activity attributes can be defined to pass global information
in/out of the procedure.
Function Name : the procedure to be called by this activity.
Function Type : PL/SQL, External, External Java
Result Type : Choose the lookup type that provides appropriate lookup
codes for the desired outcome for this function. Leave it blank if no
outcome is required. The return value provides branching capabilities in
the process.
Cost : Is a relative number to indicate how much processing might take
place when the procedure is called. If this value is greater than the
Threshold (default 50), the procedure will be executed in background
mode.
-
7/30/2019 Workflow Jan 2009
20/68
CONFIDENTIAL
Document Name
Function Cont..
-
7/30/2019 Workflow Jan 2009
21/68
CONFIDENTIAL
Document Name
Node Tab
Label :The internal name of this
node. The name can be used to
identify the activity within its
process.
Start/End :-used to indicate if
the node is the first (Start), last
(End) or middle (Normal) node in
a process.
Comment :- just for internaldocumentation.
-
7/30/2019 Workflow Jan 2009
22/68
CONFIDENTIAL
Document Name
Node Tab
Timeout :- a timeout can be set for an activity. If the specified timeout is
reached, the activity ends and returns with a timeout result.
Time Type :
Relative : specify days, hours and minutes.
Item Attribute : specify a number attribute that can be dynamically set to
the number of minutes to wait.
Priority and Performer are only applicable to Notifications
-
7/30/2019 Workflow Jan 2009
23/68
CONFIDENTIAL
Document Name
Notification
Function Name :This procedure is called to
do special processing when a
message is forwarded,
transferred or responded to. It
can be used to filter how a
notification is forwarded or to
process voting or to further
validate a response.
Function Type :-
PL/SQL, External,External Java
-
7/30/2019 Workflow Jan 2009
24/68
CONFIDENTIAL
Document Name
Notification Cont..
Result Type : choose the lookup type that provides appropriate lookup
codes for the desired response to this notification. Leave it blank if noresponse is required.
Message : the message object with the content to be sent.
Expand Roles : if this is checked, a separate notification will be sent toeach member of the role. Otherwise a single notification is sent.
Performer : is the recipient of the notification. It can be designated with
a constant value or with an item attribute of type Role. The performer is
on the Node tab and is only valid for notifications.
Timeout :- A Timeout should be set on the Node tab unless the workflow
MUST not continue without a response
-
7/30/2019 Workflow Jan 2009
25/68
CONFIDENTIALDocument Name
Expand Roles
Expand Roles = N----------------If you have Expand Roles set to 'N' and you aresending a Notification to a Role Name, then a message is sent to every user inthat role, and each individual user will see that Notification in their Notification
queue until a single user in the role replies to that Notification. After which time,the Notification is wiped from each user's Notification queue.
Expand Roles = Y----------------If you have Expand Roles set to 'Y' and you aresending a Notification to a Role Name, then a message is sent to every user inthat role, and each individual user will see that Notification in their Notificationqueue until they reply or close that notification. You will generally want to haveExpand Roles set to 'Y' if you want to be sure that every user in a particular rolesees the message.
-
7/30/2019 Workflow Jan 2009
26/68
CONFIDENTIALDocument Name
Lookup Type
Lookup Types are static lists of values. They are used to define
results returned by processes, notifications, and functions
-
7/30/2019 Workflow Jan 2009
27/68
CONFIDENTIALDocument Name
Lookup Code
Lookup codes define the list of values for a Lookup Type.
-
7/30/2019 Workflow Jan 2009
28/68
CONFIDENTIALDocument Name
Oracle Workflow APIs
WF_ENGINE
WF_NOTIFICATION
WF_PURGE
Workflow Tables
http://localhost/var/www/apps/conversion/tmp/scratch_4/WorkFlow%20Table.xlshttp://localhost/var/www/apps/conversion/tmp/scratch_4/WorkFlow%20Table.xlshttp://localhost/var/www/apps/conversion/tmp/scratch_4/WorkFlow%20Table.xls -
7/30/2019 Workflow Jan 2009
29/68
CONFIDENTIALDocument Name
WF_ENGINE Create Process
Syntax :- WF_Engine.CreateProcess ( itemtype in varchar2, itemkey in
varchar2,process in varchar2);
Start Process
Syntax :- WF_Engine. StartProcess (itemtype in varchar2,itemkey in Varchar2);
SetItemAttribText / SetItemAttribNumber / SetItemAttribDate
Syntax :- WF_Engine.SetItemAttrText (itemtype in varchar2, itemkey in varchar2,
aname in varchar2, avalue in varchar2);
AbortProcess
Syntax :- WF_Engine.AbortProcess(itemtype in varchar2, itemkey in varchar2,
process in varchar2 )
-
7/30/2019 Workflow Jan 2009
30/68
CONFIDENTIALDocument Name
WF_NOTIFICATION Transfer
Syntax :- WF_Notification .Transfer(nid in number, new_role in varchar2);
SetAttrText/SetAttrNumber/SetAttrDate
Syntax :- WF_Notification .SetAttrText(nid in number, aname in varchar2,
avalue in varchar2);
-
7/30/2019 Workflow Jan 2009
31/68
CONFIDENTIALDocument Name
WF_PURGE Items
Syntax :- WF_Purge.Items( itemtype in varchar2 , itemkey in varchar2 ,
enddate in date , docommit in boolean default);
Activities
Syntax :- WF_Purge. Activities(itemtype in varchar2, name in varchar2 ,
enddate in date);
Notification
Syntax:- WF_Purge. Notification(itemtype in varchar2 ,enddate in date);
Total
Syntax :- WF_Engine.Total( itemtype in varchar2,itemkey in varchar2 ,enddatein date ,docommit in boolean)
TotalPERM
Syntax :- WF_Engine.TotalPerm( itemtype in varchar2,itemkey in varchar2
,enddate in date ,docommit in boolean)
S l W kfl Di
-
7/30/2019 Workflow Jan 2009
32/68
CONFIDENTIALDocument Name
Sample Workflow Diagram
D fi i It T
-
7/30/2019 Workflow Jan 2009
33/68
CONFIDENTIALDocument Name
Defining Item Type
D fi i Attib t
-
7/30/2019 Workflow Jan 2009
34/68
CONFIDENTIALDocument Name
Defining Attibute
D fi i Attib t
-
7/30/2019 Workflow Jan 2009
35/68
CONFIDENTIALDocument Name
Defining Attibute
D fi i F ti
-
7/30/2019 Workflow Jan 2009
36/68
CONFIDENTIALDocument Name
Defining Function
D fi i F ti
-
7/30/2019 Workflow Jan 2009
37/68
CONFIDENTIALDocument Name
Defining Function
Defining Function
-
7/30/2019 Workflow Jan 2009
38/68
CONFIDENTIALDocument Name
Defining Function
Defining Message
-
7/30/2019 Workflow Jan 2009
39/68
CONFIDENTIALDocument Name
Defining Message
Defining Message Body
-
7/30/2019 Workflow Jan 2009
40/68
CONFIDENTIALDocument Name
Defining Message Body
Defining Message
-
7/30/2019 Workflow Jan 2009
41/68
CONFIDENTIALDocument Name
Defining Message
Defining Message Body
-
7/30/2019 Workflow Jan 2009
42/68
CONFIDENTIALDocument Name
Defining Message Body
Defining Message
-
7/30/2019 Workflow Jan 2009
43/68
CONFIDENTIALDocument Name
Defining Message
Defining Message Body
-
7/30/2019 Workflow Jan 2009
44/68
CONFIDENTIALDocument Name
Defining Message Body
Defining Lookup Type
-
7/30/2019 Workflow Jan 2009
45/68
CONFIDENTIALDocument Name
Defining Lookup Type
Defining Lookup Code
-
7/30/2019 Workflow Jan 2009
46/68
CONFIDENTIALDocument Name
Defining Lookup Code
Defining Lookup Code
-
7/30/2019 Workflow Jan 2009
47/68
CONFIDENTIALDocument Name
Defining Lookup Code
Defining Notification
-
7/30/2019 Workflow Jan 2009
48/68
CONFIDENTIALDocument Name
Defining Notification
Defining Notification
-
7/30/2019 Workflow Jan 2009
49/68
CONFIDENTIALDocument Name
Defining Notification
Defining Notification
-
7/30/2019 Workflow Jan 2009
50/68
CONFIDENTIALDocument Name
Defining Notification
Defining Notification
-
7/30/2019 Workflow Jan 2009
51/68
CONFIDENTIALDocument Name
Defining Notification
Defining Process
-
7/30/2019 Workflow Jan 2009
52/68
CONFIDENTIALDocument Name
Defining Process
Defining End Node
-
7/30/2019 Workflow Jan 2009
53/68
CONFIDENTIALDocument Name
Defining End Node
Defining Start Node
-
7/30/2019 Workflow Jan 2009
54/68
CONFIDENTIALDocument Name
Defining Start Node
Selection of Lookup Code
-
7/30/2019 Workflow Jan 2009
55/68
CONFIDENTIALDocument Name
Selection of Lookup Code
Tagging Performer to Notification
-
7/30/2019 Workflow Jan 2009
56/68
CONFIDENTIALDocument Name
Tagging Performer to Notification
Tagging Performer to Notification
-
7/30/2019 Workflow Jan 2009
57/68
CONFIDENTIALDocument Name
Tagging Performer to Notification
Tagging Result to Message
-
7/30/2019 Workflow Jan 2009
58/68
CONFIDENTIALDocument Name
Tagging Result to Message
Tagging Message to Notification
-
7/30/2019 Workflow Jan 2009
59/68
CONFIDENTIALDocument Name
Tagging Message to Notification
Tagging Message to Notification
-
7/30/2019 Workflow Jan 2009
60/68
CONFIDENTIALDocument Name
Tagging Message to Notification
Tagging Message to Notification
-
7/30/2019 Workflow Jan 2009
61/68
CONFIDENTIALDocument Name
Tagging Message to Notification
Complete WorkFlow
-
7/30/2019 Workflow Jan 2009
62/68
CONFIDENTIALDocument Name
Complete WorkFlow
-
7/30/2019 Workflow Jan 2009
63/68
CONFIDENTIALDocument Name
Allow modification of
customizes objects
Unchecked :-
The Workflow Buildersaves edits only to protected
objects that you have access to
change and does not overwrite
previously customized objects.
Checked :-
The Workflow Buildersaves your edits, overwriting
protected objects that you have
access to modify as well as any
previously customizes objects.
Access Levels
-
7/30/2019 Workflow Jan 2009
64/68
CONFIDENTIALDocument Name
Access Levels
Each user of Oracle Workflow Builder operates the system at a
certain access Level.
The access levels are defined as follows :
0-9 Reserved for Oracle Workflow
10-19 Reserved for Oracle Application Object Library
20-99 Reserved for Oracle E-Business Suits.
100-999 Reserved for customer organizations
1000 Public
-
7/30/2019 Workflow Jan 2009
65/68
CONFIDENTIALDocument Name
Access Levels
Updatable by access
level 100 only, also by
0-99 if Allow
modifications..
checked
Customization=100
Access=100
Protection=100
BOTH
Updatable by access
level 0-100 only
Customization=0
Access=100
Protection=100
Lock at this Access
Level
Only updatable by
access level 100-1000,
also by 0-99 if Allow
modifications..
checked
Customization=100
Access=100
Protection=1000
Preserve
Customizations
Updatable by any
access level
Customization=0
Access=100
Protection=1000
NONE
Who can modify objectResulting LevelsSelected Check
box
-
7/30/2019 Workflow Jan 2009
66/68
CONFIDENTIALDocument Name- 66 -
Reference :-
https://metalink.oracle.com
http://www.oracle.com/technology/products/integration/workflow/workflow_fov.html
http://downloadwest.oracle.com/docs/cd/B10501_01/workflow.920/a95265/index.ht
m#F
-
7/30/2019 Workflow Jan 2009
67/68
CONFIDENTIALDocument Name- 67 -
Any Queries ?
-
7/30/2019 Workflow Jan 2009
68/68
Thank you