SlideShare a Scribd company logo
What is Workflow?
In the competitive world Business Process today Involve getting many type of
information to multiple people …. Accordingly to rules that are constantly changing …..
oracle workflow let you automate and continuously improve the business process.


To do this oracle provide us with a tool called as Oracle Workflow Builder
What is this Tool Oracle Workflow Builder?
Oracle Workflow Builder is a graphical tool for creating, viewing, and modifying
workflow process definitions. It contains a Navigator window and the Process window

Before we talk about the navigation window and the process window lets us talk about
the major future and definition of Oracle Workflow
       The Major Future of Oracle Workflow are
       1.     ORACLE WORKFLOW BUILDER.
       2.     ORACLE WORKFLOW ENGIN
       3.     WORKFLOW DEFINATION LODADER
       4.     COMPLETE PROGAMMATIC EXTENSIBILITY
       5.     ELECTRONIC NOTIFICATIONS
       6.     ELECTRONIC MAIL INTEGRATION
       7.     INTERNET ENABLE WORKFLOW


       We do have oracle workflow architecture.
       Let us not defined this as a developer we should have the knowledge of it and
what so it does. U can go through the User or Developer Guide for the definition.

What does this Process Window and Navigation Window of Oracle Workflow
Builder Tool Contain?
So to define the workflow process oracle workflow builder provide us with some
components and activity Process. Navigation window contain all this components
/activity/Process.
These components activity process are dreg from Navigation window to the process
window and are assembled to form the process diagram.
Know we can define workflow as ….the process diagram (or the process) that is
created by activities / Components Depending upon our business flow. (Using
Oracle Workflow builder tool)
Note: Oracle workflow builder tool comes as Standalone workflow builder and
Embedded version of workflow.

So let us not talk about the version …..

We have some idea of what is workflow and Workflow builder so let us define
What is Process , Activity and Components

process Depending upon the business requirement and the process or the Business Flow
how the business to be driven (requirement) we have to assemble or create the workflow
diagram.(with some components/activity) and this process diagram is refer to as Process.

This process can be broken in to much process or sub process again depends upon the
business requirement.

For example if say we make a LOCAL/STD/ISD call by the time it get connected to the
no we have called we can make this as a single process or many process or the sub
process.

Activities An activity is a unit of work that contributes toward (the accomplishment) to
complete the process.
An activity can be a notification, a function, or a process.
       A function activity calls a PL/SQL stored procedure or some external program to
       perform an automated function. (Note Function will have input parameter and
       result paremater--- these parameter are nothing but attributes)
       A process activity is a modelled workflow process, which can be included as an
       activity in another process to represent a sub–process.
       A notification activity sends a message or information to a workflow user. The
       message may simply provide the user with information or request the user to take
       some action.

Components Can be the message and attribute.

***********************************************************************

               Item Type       Activity + components with Process saved as Item Type.


Activities                     Components
Notification                   Message
Function/Procedure             Attributes
Process

Lookup Type and Roles (Users)
So when u defined the workflow (i.e when we assemble the components and activities
to from the workflow u may use some standard result type as Boolean (Yes /No
,Approve /Reject ..etc ) these can be defined as Lookup types.

Oracle workflow defined some standard activities and lookup types they are

And/Or Activities
Comparison Activities
Compare Execution Time Activity
Wait Activity
Block Activity
Defer Thread Activity
Launch Process Activity
Noop Activity
Loop Counter Activity
Start Activity
End Activity
Role Resolution Activity
Notify Activity
Vote Yes/No Activity
Master/Detail Coordination Activities
Wait for Flow Activity
Continue Flow Activity
Assign Activity
Get Monitor URL Activity
Concurrent Manager Standard Activities
Execute Concurrent Program Activity
Submit Concurrent Program Activity
Wait for Concurrent Program Activity
Default Error Process

We do have some standard error process and activities you can use to create a
custom error process. You can assign an error process to a process
activity. If an error occurs, the error process informs Oracle Workflow
how to handle the error. See: Default Error Process.

Suppose say u have to defind the activity say procedure the takes the input/output
parameter that have to be passed when the workflow is lanched. Then we respresent
these parameters as Components. Called as attributes.

Or say u make use of standard activity SetItemUserKey that have 3 input parameter and
the parameter are passed when the workrflow is lunched
What are Roles and Users

To know about the roles and users see the link.

http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?
p_database_id=FOR&p_id=615685.999

let us not defined the User and the Role . (Role is nothing but group of user’s)
let us assume the we have only the user and proceed further.



So can any one tell me what are the minimum components that are require to
    defined the Workflow

One Process
One Start Activity
One End Activity
One User
So what is the importance of workflow?

****************************

global setting
and configuration of WFMAIL.CFG




********************************************
********************************************
Workflow demo
Creating the Process
Creating Function
CREATE OR REPLACE PACKAGE body wf_emp_lev
AS
PROCEDURE validate_emp(itemtype   in varchar2,
                      itemkey   in varchar2,
                      actid     in number,
                      funcmode  in varchar2,
                      resultout out varchar2)
AS
   l_eno     number;
   l_eno_id number;
   l_days    number;
begin
   l_eno    := wf_engine.GetItemAttrNumber (itemtype     =>   itemtype,
                                               itemkey   =>   itemkey,
                                               aname     =>   'EMP_ID');
   l_days   := wf_engine.GetItemAttrNumber (itemtype     =>   itemtype,
                                               itemkey   =>   itemkey,
                                               aname     =>   'DAYS');
--Validates the empno
       select empno
       into l_eno_id
       from emp
       where empno =l_eno;
--Update the lev_days
       update emp
       set lev_days = l_days
       where empno = l_eno;
resultout:='T';
      return ;
exception
    when others then
      resultout:='F';
      return;
end validate_emp;

end wf_emp_lev;
/




launching the Workflow through API



Attaching the workflow to a form

If the API is written in the form the we can see the in the
menu TOOLSWORKFLOW STATUS the status of work flow

 (there may be some profile setting that we may have to see)




Any Doubt Reach me at :- kamal.love@gmail.com

More Related Content

PDF
Confident Refactoring - Ember SF Meetup
PDF
Functional Javascript
PPS
Introduction to php 5
PDF
Immutability and pure functions
PDF
Task scheduling in laravel 8 tutorial
PDF
Top laravel packages to install handpicked list from expert
PPTX
Intro to Functions
ODP
Bring the fun back to java
Confident Refactoring - Ember SF Meetup
Functional Javascript
Introduction to php 5
Immutability and pure functions
Task scheduling in laravel 8 tutorial
Top laravel packages to install handpicked list from expert
Intro to Functions
Bring the fun back to java

What's hot (19)

PDF
Intro to Unit Testing in AngularJS
PDF
Describe's Full of It's
PPTX
Functions - AS3
KEY
Working Effectively With Legacy Code
PPTX
Function Returns
PDF
هیبرید کارا، از رویا تا واقعیت!
PDF
Java ap is you should know
PPTX
Functions
PDF
MeetJS Summit 2016: React.js enlightenment
PPTX
Angular Presentation
PPT
PowerShell Functions
PDF
Laravel mail example how to send an email using markdown template in laravel 8
PDF
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
PPTX
Autosys Complete Guide
PPTX
Function Parameters
PPT
PPT
Les06 (using subqueries to solve queries)
PDF
Flutter State Management Using GetX.pdf
PDF
React.js enlightenment
Intro to Unit Testing in AngularJS
Describe's Full of It's
Functions - AS3
Working Effectively With Legacy Code
Function Returns
هیبرید کارا، از رویا تا واقعیت!
Java ap is you should know
Functions
MeetJS Summit 2016: React.js enlightenment
Angular Presentation
PowerShell Functions
Laravel mail example how to send an email using markdown template in laravel 8
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
Autosys Complete Guide
Function Parameters
Les06 (using subqueries to solve queries)
Flutter State Management Using GetX.pdf
React.js enlightenment
Ad

Similar to Workflow demo (20)

PPT
About work flow
PPT
Understanding Framework Architecture using Eclipse
PPTX
Spring batch
PPTX
...and thus your forms automagically disappeared
PPT
PPT
Performance Instrumentation for PL/SQL: When, Why, How
PPT
Spring Batch 2.0
PPTX
SAP workflow events
PDF
Kogito: cloud native business automation
PPTX
NAV 2016 Workflow
PDF
Oracle DBA interview_questions
PDF
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
PPTX
PDF
Metrics by coda hale : to know your app’ health
PPTX
Guidelines to understand durable functions with .net core, c# and stateful se...
PDF
jBPM5 Community Training Module #5: Domain Specific Processes
PDF
Angular resolver tutorial
PPT
]project-open[ Workflow Developer Tutorial Part 3
PPT
Module04
PPTX
11_Functions_Introduction.pptx javascript notes
About work flow
Understanding Framework Architecture using Eclipse
Spring batch
...and thus your forms automagically disappeared
Performance Instrumentation for PL/SQL: When, Why, How
Spring Batch 2.0
SAP workflow events
Kogito: cloud native business automation
NAV 2016 Workflow
Oracle DBA interview_questions
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
Metrics by coda hale : to know your app’ health
Guidelines to understand durable functions with .net core, c# and stateful se...
jBPM5 Community Training Module #5: Domain Specific Processes
Angular resolver tutorial
]project-open[ Workflow Developer Tutorial Part 3
Module04
11_Functions_Introduction.pptx javascript notes
Ad

Workflow demo

  • 1. What is Workflow? In the competitive world Business Process today Involve getting many type of information to multiple people …. Accordingly to rules that are constantly changing ….. oracle workflow let you automate and continuously improve the business process. To do this oracle provide us with a tool called as Oracle Workflow Builder What is this Tool Oracle Workflow Builder? Oracle Workflow Builder is a graphical tool for creating, viewing, and modifying workflow process definitions. It contains a Navigator window and the Process window Before we talk about the navigation window and the process window lets us talk about the major future and definition of Oracle Workflow The Major Future of Oracle Workflow are 1. ORACLE WORKFLOW BUILDER. 2. ORACLE WORKFLOW ENGIN 3. WORKFLOW DEFINATION LODADER 4. COMPLETE PROGAMMATIC EXTENSIBILITY 5. ELECTRONIC NOTIFICATIONS 6. ELECTRONIC MAIL INTEGRATION 7. INTERNET ENABLE WORKFLOW We do have oracle workflow architecture. Let us not defined this as a developer we should have the knowledge of it and what so it does. U can go through the User or Developer Guide for the definition. What does this Process Window and Navigation Window of Oracle Workflow Builder Tool Contain? So to define the workflow process oracle workflow builder provide us with some components and activity Process. Navigation window contain all this components /activity/Process. These components activity process are dreg from Navigation window to the process window and are assembled to form the process diagram. Know we can define workflow as ….the process diagram (or the process) that is created by activities / Components Depending upon our business flow. (Using Oracle Workflow builder tool)
  • 2. Note: Oracle workflow builder tool comes as Standalone workflow builder and Embedded version of workflow. So let us not talk about the version ….. We have some idea of what is workflow and Workflow builder so let us define What is Process , Activity and Components process Depending upon the business requirement and the process or the Business Flow how the business to be driven (requirement) we have to assemble or create the workflow diagram.(with some components/activity) and this process diagram is refer to as Process. This process can be broken in to much process or sub process again depends upon the business requirement. For example if say we make a LOCAL/STD/ISD call by the time it get connected to the no we have called we can make this as a single process or many process or the sub process. Activities An activity is a unit of work that contributes toward (the accomplishment) to complete the process. An activity can be a notification, a function, or a process. A function activity calls a PL/SQL stored procedure or some external program to perform an automated function. (Note Function will have input parameter and result paremater--- these parameter are nothing but attributes) A process activity is a modelled workflow process, which can be included as an activity in another process to represent a sub–process. A notification activity sends a message or information to a workflow user. The message may simply provide the user with information or request the user to take some action. Components Can be the message and attribute. *********************************************************************** Item Type Activity + components with Process saved as Item Type. Activities Components Notification Message Function/Procedure Attributes Process Lookup Type and Roles (Users)
  • 3. So when u defined the workflow (i.e when we assemble the components and activities to from the workflow u may use some standard result type as Boolean (Yes /No ,Approve /Reject ..etc ) these can be defined as Lookup types. Oracle workflow defined some standard activities and lookup types they are And/Or Activities Comparison Activities Compare Execution Time Activity Wait Activity Block Activity Defer Thread Activity Launch Process Activity Noop Activity Loop Counter Activity Start Activity End Activity Role Resolution Activity Notify Activity Vote Yes/No Activity Master/Detail Coordination Activities Wait for Flow Activity Continue Flow Activity Assign Activity Get Monitor URL Activity Concurrent Manager Standard Activities Execute Concurrent Program Activity Submit Concurrent Program Activity Wait for Concurrent Program Activity Default Error Process We do have some standard error process and activities you can use to create a custom error process. You can assign an error process to a process activity. If an error occurs, the error process informs Oracle Workflow how to handle the error. See: Default Error Process. Suppose say u have to defind the activity say procedure the takes the input/output parameter that have to be passed when the workflow is lanched. Then we respresent these parameters as Components. Called as attributes. Or say u make use of standard activity SetItemUserKey that have 3 input parameter and the parameter are passed when the workrflow is lunched
  • 4. What are Roles and Users To know about the roles and users see the link. http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument? p_database_id=FOR&p_id=615685.999 let us not defined the User and the Role . (Role is nothing but group of user’s) let us assume the we have only the user and proceed further. So can any one tell me what are the minimum components that are require to defined the Workflow One Process One Start Activity One End Activity One User
  • 5. So what is the importance of workflow? **************************** global setting and configuration of WFMAIL.CFG ******************************************** ********************************************
  • 9. CREATE OR REPLACE PACKAGE body wf_emp_lev AS PROCEDURE validate_emp(itemtype in varchar2, itemkey in varchar2, actid in number, funcmode in varchar2, resultout out varchar2) AS l_eno number; l_eno_id number; l_days number; begin l_eno := wf_engine.GetItemAttrNumber (itemtype => itemtype, itemkey => itemkey, aname => 'EMP_ID'); l_days := wf_engine.GetItemAttrNumber (itemtype => itemtype, itemkey => itemkey, aname => 'DAYS'); --Validates the empno select empno into l_eno_id from emp where empno =l_eno; --Update the lev_days update emp set lev_days = l_days where empno = l_eno;
  • 10. resultout:='T'; return ; exception when others then resultout:='F'; return; end validate_emp; end wf_emp_lev; / launching the Workflow through API Attaching the workflow to a form If the API is written in the form the we can see the in the menu TOOLSWORKFLOW STATUS the status of work flow (there may be some profile setting that we may have to see) Any Doubt Reach me at :- [email protected]