Wednesday, 13 May 2015

2. Workflow with Approve and Reject in R12


1. Create New Item

2. Create New Process
c
3. Create New Notification
4. Create Message with Body

5. Assign Message in Notification
6. Create Process design with Start and End button from standard

7. Set the Start Button Properties
8. Set the End Button Properties
9. Create New Lookup with new lookup codes
10. Approve Lookup Code
11. Reject Lookup Code
12. Drag the Notification in Process design, set the Message Properties
13. Save file

14. Set the Lookup type in Message Result
14. Complete the Design with Approve and Reject and Validate the design
15. Connect to Database


17. Initiate/Run the program with Item Name.

CREATE SEQUENCE XX_LV_WF_SEQ START WITH 10 INCREMENT BY 1;



BEGIN

wf_engine.createprocess(itemtype => 'XXWF',
                        itemkey  =>  XX_LV_WF_SEQ.NEXTVAL,
                        process  =>  'XXWF_LV_MGM_SYS_PROCESS'
                        );


wf_engine.startprocess ( itemtype => 'XXWF',
                        itemkey  =>  XX_LV_WF_SEQ.currval
                       );
commit;

END;

16.Login to Apps

17. Navigate to Developer Studio from Workflow Administrator web applications
18. Click on Approve or Reject Button