Workflow Example - 1
Workflow Example - 1
Solutions
Part 1 - Exercise 1
Simple Notification
Scenario 1: Send a notification along with a message to the client about the project status.
Assumptions: This workflow does not require a database table or procedure.
Solution :
Workflow Item Type
Internal Name:
Description:
Persistence Type:
Number of Days:
WF_EX1
Workflow Notification Ex-1
Temporary
0
Oracle Workflow
Workflow Process
Internal Name:
Description:
Solutions
WF_EX1_
Workflow Notification Ex-1 Process
Oracle Workflow
Project Name
Internal Name:
Display Name:
Description:
Type:
Length:
Solutions
PROJ_NM
Project Name
Project Name
Text
30
Oracle Workflow
Solutions
Oracle Workflow
Project Status
Internal Name:
Display Name:
Description:
Type:
Length:
Solutions
Text
15 Characters
PROJ_STAT
Project Status
Project Status
Text
15
Oracle Workflow
Solutions
Oracle Workflow
Solutions
Create a new message for the workflow and attach it to the notificationWF_EX1_N
Activity Tab
Internal Name:
WF_EX1_MSG
Display Name:
Workflow Notification Message Ex-1
Description:
Priority:
Normal
Body Tab
Subject:
Text Body Tab
Text:
Oracle Workflow
Solutions
Oracle Workflow
Solutions
Modify the Notification WF_EX1_N and in the message area select the Message Workflow Notification
Message Ex-1 and click on OK button.
Drag-and-Drop the Notification WF_EX1_N to the process window between the START & END functions.
Draw a transition from Start function till the Notification.
Draw a similar transition from Notification to the End function.
Oracle Workflow
Solutions
In the Process window, right-click on the Notification and choose the properties option. Select the Node Tab and
in the Performer region do the following:
Node Tab:
Performer Region:
Type:
Value:
Constant
SYSADMIN (Pls type this in CAPITALS only).
Click on OK to save.
10
Oracle Workflow
Solutions
Drag-and-Drop the attributes mentioned in the Item Type Attributes section to the Message section. Check if all
the attributes mentioned in the Message body are appearing under the Message section.
Select each attributes of the Message section and change the following:
Default Region
Type:
Item Attribute
Value:
(eg. Project Code)
Change all the attributes of the message section, for the respective Item Type Attributes.
Logon to APPS (11.5.9) as SYSADMIN and choose the Workflow Administrator Web Applications
Choose the Launch Processes option from the Workflow Function.
Choose through the Find Option or Ctrl+F the process Workflow Notification Ex-1 and click on it.
When a window appears key in the following:
Initiate Workflow WF_EX1
Item Key:
A1
User Key:
A1
Process Name:
Workflow Notification Ex-1 Process
Process Owner:
SYSADMIN
Project Code:
10010
Project Name:
Oracle APPS 11i Migration
Project Completion Date:
04-DEC-2003
11
Oracle Workflow
Project Status:
Solutions
Completed
12
Oracle Workflow
Solutions
13