Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view ·...
-
Upload
nguyenhanh -
Category
Documents
-
view
223 -
download
8
Transcript of Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view ·...
![Page 1: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/1.jpg)
Workflow1
Classification: Genpact Internal
![Page 2: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/2.jpg)
Introduction to workflow
Tool From Oracle Works with Oracle Database PL/SQL Based Widely Used with Oracle Applications Can be Used Stand-Alone or with
Oracle Apps
2
Classification: Genpact Internal
![Page 3: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/3.jpg)
Need of workflow Workflow can be described as the flow of
information and control in a business process.
Routing the information Defining and modifying business rules Delivering electronic notifications Integrating systems
3
Classification: Genpact Internal
![Page 4: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/4.jpg)
Workflow Advantages
Human Element in Decision Making Flexible Processes Electronic Notifications System Integration PL/SQL Based Architecture
4
Classification: Genpact Internal
![Page 5: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/5.jpg)
Workflow Components
Workflow Engine Workflow Builder Workflow Definition Loader Notification System Business Event System Directory Services
5
Classification: Genpact Internal
![Page 6: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/6.jpg)
Workflow architecture6
Classification: Genpact Internal
![Page 7: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/7.jpg)
Workflow Engine Workflow engine
Embedded in database Uses the process definition created with Oracle
workflow Builder to coordinate the routing of activities of a Process
Monitors Each activity in a workflow Process Signals any change in the workflow state using
calls to PL/SQL or JAVA APIs Guarantees consistency between application and
workflow state because of Oracle database transactional Integrity
7
Classification: Genpact Internal
![Page 8: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/8.jpg)
Workflow builder Workflow Builder is the development tool
for oracle workflow Define and customize workflow definitions You can save the definitions to a flat file or
database At any time you can add, remove, or change
workflow activities, or setup new prerequisite relationships among activities
8
Classification: Genpact Internal
![Page 9: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/9.jpg)
Notification systemNotification system
Routes notifications to a role, which can be a single user or group of users
Enable users to receive or respond to notifications
Provide access to notification worklist from E-business suite.
9
Classification: Genpact Internal
![Page 10: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/10.jpg)
Email Notification10
The notification system interfaces with the notification mailer program to send email notification to users and Roles
Users can reply to email notifications using their email client.
A notification mailer can send an individual email for each notification, or a summary email listing all the outstanding notifications for a user.
Classification: Genpact Internal
![Page 11: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/11.jpg)
Directory services Directory services
As a set of views that are mapped with user tables.
The workflow engine and notification system uses to determine who should receive the notifications.
User can be associated with more than one role and one role may contain more than one user.
11
Classification: Genpact Internal
![Page 12: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/12.jpg)
Workflow definitions loader Workflow definition loader
Is an utility that load process definitions between database and flat file.
Runs on server machine Also integrated into workflow builder
12
Classification: Genpact Internal
![Page 13: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/13.jpg)
Workflow definitions loader13
Classification: Genpact Internal
![Page 14: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/14.jpg)
Some standard workflows in oracle apps14
Payable Expense Report (Payable) Candidate Offer Approval Process (HR) PO Confirm Receipt Process (PO) Journal Approval Process (GL) Order Header and Line Process (OM) Procurement Workflow (Purchasing) Credit Memo Workflow (AR)
Classification: Genpact Internal
![Page 15: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/15.jpg)
Workflow example15
Classification: Genpact Internal
![Page 16: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/16.jpg)
Workflow example16
Classification: Genpact Internal
![Page 17: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/17.jpg)
Workflow Responsibilities17
Workflow User Web Applications
Workflow Administrator Web Applications
Classification: Genpact Internal
![Page 18: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/18.jpg)
Monitoring of Workflow18
Searching Workflow Instance Activity History Workflow Details Workflow Status Diagram Cancel and Suspension of workflow Rewind of Workflow
Classification: Genpact Internal
![Page 19: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/19.jpg)
Who can monitor workflow19
Owner of the Workflow Workflow System Administrator
Can be a Particular User (Mostly SYSADMIN) Particular Responsibility
Finding out Workflow Administrator SELECT text FROM wf_resources WHERE name =
‘WF_ADMIN_ROLE’; Changing Workflow Administrator to a
Responsibility UPDATE WF_RESOURCES SET text = ‘FND_RESP|FND|FNDWF_ADMIN_WEB|STANDARD’ WHERE name = ‘WF_ADMIN_ROLE’
Classification: Genpact Internal
![Page 20: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/20.jpg)
Workflow design approaches20
Bottom up Approach In the bottom up approach, we first create all the
components (attributes, messages, functions, notifications etc.) and then use them to build a workflow process.
Top-Down Approach In this approach, we directly start with the graphical
representation of the work flow process and create all the components as required in the building process.
It is generally better to use Bottom up approach as it gives more clarity on the components required.
Classification: Genpact Internal
![Page 21: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/21.jpg)
Workflow terminologiesStoreProcessItem TypeAccess LevelProtection LevelActivityAttributeNodeLookup CodeLookup Type
Result TypeNotificationPerformerRole MessageFunctionTimeoutTransition
21
Classification: Genpact Internal
![Page 22: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/22.jpg)
Workflow Navigator22
Classification: Genpact Internal
![Page 23: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/23.jpg)
Item type23
Item Type: Is name of the identifier of a business. Other components are associated with item type. Must be unique. All the components of the workflow process contain
the item type as the foreign key.
Classification: Genpact Internal
![Page 24: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/24.jpg)
Item type
Classification: Genpact Internal
24Persistence:
The workflow run history will be deleted by WF_PURGE api for Temporary.
WF_PURGE.TotalPerm() API can be used to delete explisitly for Permanent
![Page 25: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/25.jpg)
Item Attribute25
Classification: Genpact Internal
Type DescriptionText This type of item attribute contains character/string data.Number This type of item attribute contains number data.Date This type of item attribute contains DATE type of data.
Lookup The attribute value will contain one of the lookup code defined in a lookup type in the workflow.
Form The attribute value is internal name of the Form Function (defined in Oracle Apps). FND_FNDSCAUS:#RESP_KEY="SYSTEM_ADMINISTRATION" #APP_SHORT_NAME="SYSADMIN"
URL The attribute value contains a web URL. An URL can contain dynamic attributes as follows: http://www.oracle.com?arg1=-&msgattr1-&arg2=-&msgattr2-
Document This type of attribute is used for sending document with a notification. The following types of document types can be used: PL/SQL Document , PL/SQL CLOB Document , PL/SQL BLOB Document
![Page 26: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/26.jpg)
Example 126
Company ABC wants to use Oracle workflow to automate the Expense reimbursement system. Whenever employee travels or incurs any expense from his pocket for a company work, he can submit the expense report through a specially designed form. The details will then be sent to his supervisor for approval. Overall the process is as follows:
Employee submits his expense report through a custom form. This launches a workflow which sends a notification to his supervisor. Once supervisor approves the expense, an email is sent to the requestor
informing him of the approval. Supervisor can also reject the request and ask for more details. In this case, a
notification is sent to the requestor informing him of rejection and the information which is being sought.
Employee can provide the requested information and then submit the report again.
On final approval, the details are sent to Accounts department for reimbursement.
Classification: Genpact Internal
![Page 27: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/27.jpg)
Example 127
Classification: Genpact Internal
![Page 28: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/28.jpg)
Example 128
Classification: Genpact Internal
Example1.sql
![Page 29: Workflow - Oracle HRMSoraclehrmsoverview.com/wp-content/uplo… · PPT file · Web view · 2015-02-05Human Element in Decision Making. Flexible ... Uses the process definition created](https://reader031.fdocuments.net/reader031/viewer/2022022501/5aa6a4f87f8b9a1d728eb1c2/html5/thumbnails/29.jpg)
Workflow monitor The Workflow Monitor displays an annotated
view of the process diagram for a particular instance of a workflow process.
Users can get a graphical depiction of their work item status.
It also displays a separate status summary for the work item, the process, and each activity in the process.
29
Classification: Genpact Internal