Workflow
Workflow
4i Apps Solutions…
- NARENDAR V
Submitted to
4iapps.com
Contents
AGENDA…………………………………………………………………………………….... 3
WORKFLOW...………….…………………………………………………………………….. 4
COMPONENT OF WORKFLOW……………………………………………………………. .5
4iapps.com 2
Agenda
4iapps.com 3
Workflow
o Oracle Workflow allows you to define business processes using a drag and drop designer.
o This technology enables,
Relevant information to decision makers.
Example :- Sending for approval like Leave request, purchase order… etc.
Automate processes.
Deliver notification to users.
Can able to Monitor the each workflow process.
o Some of the task we perform in the PL/SQL, they can perform in workflow also.
o User can create a custom workflow process as per the business requirements.
4iapps.com 4
Components of oracle workflow
o Workflow Builder.
It is a graphical tool to develop workflow.
o Syntax
To Download
WFLOAD apps/pwd 0 Y DOWNLOAD filename.wft ITEMTYPE
To Upload
WFLOAD apps/pwd 0 Y UPLOAD filename.wft
4iapps.com 5
Workflow Builder Component
4iapps.com 6
o Item Type.
Is a name/identifier of a workflow business process.
There is rule as follows.
1. Internal name /Item Type Name should be less than or equal to 8 Characters.
2. Item type name must be in Capital letters.
3. Do not include colons ”:” or leading/trailing spaces in your internal name.
o Item Attribute.
It is nothing but a global variable that can be accessed/ referenced by any activity
within the itemtype.
We have separate API for initializing and getting values of the attribute during
workflow run.
To Set Values.
WF_ENGINE.SetItemAttrText, WF_ENGINE.SetItemAttrNumber,
WF_ENGINE.SetItemAttrDate
To get Values.
WF_ENGINE.GetItemAttrText, WF_ENGINE.GetItemAttrNumber,
WF_ENGINE.GetItemAttrDate
4iapps.com 7
o Process.
Here we use all the workflow builder components and connect them as per
business requirement.
It is similar to PL/SQL block ( begin end). Here we use start and end.
Every process has one start and multiple ends.
o Function.
A function activity represents a PL/SQL stored procedure that the workflow
engine executes automatically.
4iapps.com 8
o Event activity.
It is similar to PL/SQL trigger.
Whenever the change in data in database, we can perform this to notification.
4iapps.com 9
Let’s develop a simple workflow.
4iapps.com 10
Contact us
Sharjah
Po Box No: 42693
Hamriyah Free
Zone, Sharjah
Tel +971 52 998
9126
4iapps.com
4iapps.com 11