Step 1:- Create a
workspace and Project.
Workspace
Name:-
Launch_WorkflowWorkspace.jws
Project
Name:-
Launch _WorkflowProject
Package:-
XXC05.oracle.apps.wip. Launch_Workflow
Step 2:- Create a
Application Module (AM)
Name:- Launch_WorkflowAM
Package:-
XXC05.oracle.apps.wip. Launch_Workflow.server
Step 3:- Create a
New Page
Name:- Launch_WorkflowPG
Package:-
XXC05.oracle.apps.wip. Launch_Workflow.webui
Step 4:- Select
region1 and set the following properties:
ID:- PageLayoutRN
Region
Style:- pageLayout
Window
Title:- Launch Workflow Window
Title:-
Launch Workflow Title
AM
Defination:- XXC05.oracle.apps.wip. Launch_Workflow.server. Launch_WorkflowAM
Step 5:- Add new
Region in PageLayoutRN
ID:-
MainRN
Region
Style:- messageComponentLayout
Step 6:- Create
other Region into MainRN(messageLayout)
ID:- ButtonLayout
Step 7:- Create
new item into ButtonLayout
ID:-
Launch_Workflow_OAF
Region
Style:- SubmitButton
Attribute
Set:- /oracle/apps/fnd/attributesets/Buttons/Go
Prompt:-
Launch Workflow
Step 8:- Create a
CO
Name:- Launch_WorkflowCO
Package:- XXC05.oracle.apps.wip. Launch_Workflow.webui
Step 9:- Write
That code in Launch_WorkflowCO ( ProcessFormRequest)
if
(pageContext.getParameter("Launch_Workflow_OAF ") != null)
{
LaunchWorkFlow(pageContext);
}
---------------------------------------------------------------------------------------------------------
public void
LaunchWorkFlow(OAPageContext pageContext)
{
String
strWfItemType = "XC05_WF2"; // Workflow item Name
String
strWfProcess = "XXC05_PROC"; //
Workflow process Name
String
strWfItemKey = "Practice-1"; //
Workflow Item Key value
OANavigation
wfNavigation = new OANavigation();
// Create Workflow
Process
wfNavigation.createProcess(pageContext, strWfItemType, strWfProcess,
strWfItemKey);
// Start Workflow
Process
wfNavigation.startProcess(pageContext, strWfItemType, strWfProcess,
strWfItemKey);
}
Page is created. Now you run page…..
Very Nice Thoughts. Thanks For Sharing with us. I got More information about Oracle from Besant Technologies. If anyone wants to get Oracle Training in Chennai visit Besant Technologies.
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDelete