SlideShare ist ein Scribd-Unternehmen logo
1 von 10
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




********************************************
********************************************
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

Weitere ähnliche Inhalte

Was ist angesagt?

Intro to Unit Testing in AngularJS
Intro to Unit Testing in AngularJSIntro to Unit Testing in AngularJS
Intro to Unit Testing in AngularJSJim Lynch
 
Describe's Full of It's
Describe's Full of It'sDescribe's Full of It's
Describe's Full of It'sJim Lynch
 
Working Effectively With Legacy Code
Working Effectively With Legacy CodeWorking Effectively With Legacy Code
Working Effectively With Legacy Codescidept
 
هیبرید کارا، از رویا تا واقعیت!
هیبرید کارا، از رویا تا واقعیت!هیبرید کارا، از رویا تا واقعیت!
هیبرید کارا، از رویا تا واقعیت!Web Standards School
 
Java ap is you should know
Java ap is you should knowJava ap is you should know
Java ap is you should knowHendrik Ebbers
 
MeetJS Summit 2016: React.js enlightenment
MeetJS Summit 2016: React.js enlightenmentMeetJS Summit 2016: React.js enlightenment
MeetJS Summit 2016: React.js enlightenmentArtur Szott
 
Angular Presentation
Angular PresentationAngular Presentation
Angular PresentationAdam Moore
 
PowerShell Functions
PowerShell FunctionsPowerShell Functions
PowerShell Functionsmikepfeiffer
 
Laravel mail example how to send an email using markdown template in laravel 8
Laravel mail example how to send an email using markdown template in laravel 8Laravel mail example how to send an email using markdown template in laravel 8
Laravel mail example how to send an email using markdown template in laravel 8Katy Slemon
 
MVC Design Pattern in JavaScript by ADMEC Multimedia Institute
MVC Design Pattern in JavaScript by ADMEC Multimedia InstituteMVC Design Pattern in JavaScript by ADMEC Multimedia Institute
MVC Design Pattern in JavaScript by ADMEC Multimedia InstituteRavi Bhadauria
 
Autosys Complete Guide
Autosys Complete GuideAutosys Complete Guide
Autosys Complete Guidekarunakar81987
 
Les06 (using subqueries to solve queries)
Les06 (using subqueries to solve queries)Les06 (using subqueries to solve queries)
Les06 (using subqueries to solve queries)Achmad Solichin
 
Flutter State Management Using GetX.pdf
Flutter State Management Using GetX.pdfFlutter State Management Using GetX.pdf
Flutter State Management Using GetX.pdfKaty Slemon
 
React.js enlightenment
React.js enlightenmentReact.js enlightenment
React.js enlightenmentArtur Szott
 

Was ist angesagt? (19)

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

Ähnlich wie Workflow demo

Understanding Framework Architecture using Eclipse
Understanding Framework Architecture using EclipseUnderstanding Framework Architecture using Eclipse
Understanding Framework Architecture using Eclipseanshunjain
 
...and thus your forms automagically disappeared
...and thus your forms automagically disappeared...and thus your forms automagically disappeared
...and thus your forms automagically disappearedLuc Bors
 
Performance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowPerformance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowKaren Morton
 
Kogito: cloud native business automation
Kogito: cloud native business automationKogito: cloud native business automation
Kogito: cloud native business automationMario Fusco
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questionsNaveen P
 
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands OnjBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands OnMauricio (Salaboy) Salatino
 
Metrics by coda hale : to know your app’ health
Metrics by coda hale : to know your app’ healthMetrics by coda hale : to know your app’ health
Metrics by coda hale : to know your app’ healthIzzet Mustafaiev
 
Guidelines to understand durable functions with .net core, c# and stateful se...
Guidelines to understand durable functions with .net core, c# and stateful se...Guidelines to understand durable functions with .net core, c# and stateful se...
Guidelines to understand durable functions with .net core, c# and stateful se...Concetto Labs
 
jBPM5 Community Training Module #5: Domain Specific Processes
jBPM5 Community Training Module #5: Domain Specific ProcessesjBPM5 Community Training Module #5: Domain Specific Processes
jBPM5 Community Training Module #5: Domain Specific ProcessesMauricio (Salaboy) Salatino
 
Angular resolver tutorial
Angular resolver tutorialAngular resolver tutorial
Angular resolver tutorialKaty Slemon
 
]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3Klaus Hofeditz
 

Ähnlich wie Workflow demo (20)

About work flow
About work flowAbout work flow
About work flow
 
Understanding Framework Architecture using Eclipse
Understanding Framework Architecture using EclipseUnderstanding Framework Architecture using Eclipse
Understanding Framework Architecture using Eclipse
 
Spring batch
Spring batchSpring batch
Spring batch
 
...and thus your forms automagically disappeared
...and thus your forms automagically disappeared...and thus your forms automagically disappeared
...and thus your forms automagically disappeared
 
Wwf
WwfWwf
Wwf
 
Performance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, HowPerformance Instrumentation for PL/SQL: When, Why, How
Performance Instrumentation for PL/SQL: When, Why, How
 
Spring Batch 2.0
Spring Batch 2.0Spring Batch 2.0
Spring Batch 2.0
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
Kogito: cloud native business automation
Kogito: cloud native business automationKogito: cloud native business automation
Kogito: cloud native business automation
 
NAV 2016 Workflow
NAV 2016 WorkflowNAV 2016 Workflow
NAV 2016 Workflow
 
Oracle DBA interview_questions
Oracle DBA interview_questionsOracle DBA interview_questions
Oracle DBA interview_questions
 
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands OnjBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
jBPM5 Community Training Module 4: jBPM5 APIs Overview + Hands On
 
Spring boot
Spring bootSpring boot
Spring boot
 
Metrics by coda hale : to know your app’ health
Metrics by coda hale : to know your app’ healthMetrics by coda hale : to know your app’ health
Metrics by coda hale : to know your app’ health
 
Guidelines to understand durable functions with .net core, c# and stateful se...
Guidelines to understand durable functions with .net core, c# and stateful se...Guidelines to understand durable functions with .net core, c# and stateful se...
Guidelines to understand durable functions with .net core, c# and stateful se...
 
jBPM5 Community Training Module #5: Domain Specific Processes
jBPM5 Community Training Module #5: Domain Specific ProcessesjBPM5 Community Training Module #5: Domain Specific Processes
jBPM5 Community Training Module #5: Domain Specific Processes
 
Angular resolver tutorial
Angular resolver tutorialAngular resolver tutorial
Angular resolver tutorial
 
]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3]project-open[ Workflow Developer Tutorial Part 3
]project-open[ Workflow Developer Tutorial Part 3
 
Module04
Module04Module04
Module04
 
Workflow Yapceu2010
Workflow Yapceu2010Workflow Yapceu2010
Workflow Yapceu2010
 

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 ******************************************** ********************************************
  • 6.
  • 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 :- kamal.love@gmail.com