[null, null, {"document_url": "http://www.bizinsightconsultingblog.com/2009/12/in-this-blog-i-will-explain-with-simple.html", "unformatted_src": "http://3.bp.blogspot.com/_7Ak4gihVK6k/Sx400vYM2kI/AAAAAAAABQI/9RBGOVrkNaM/s400/EventInWflow_3001.jpg", "src": "http://3.bp.blogspot.com/_7Ak4gihVK6k/Sx400vYM2kI/AAAAAAAABQI/9RBGOVrkNaM/s400/EventInWflow_3001.jpg", "formatted_filename": "EventInWflow"}, null, {"document_url": "http://www.bizinsightconsultingblog.com/2009/12/in-this-blog-i-will-explain-with-simple.html", "unformatted_src": "http://4.bp.blogspot.com/_7Ak4gihVK6k/Sx41Y5IAogI/AAAAAAAABQY/iYaqkQEItiY/s400/EventInWflow_4002.jpg", "src": "http://4.bp.blogspot.com/_7Ak4gihVK6k/Sx41Y5IAogI/AAAAAAAABQY/iYaqkQEItiY/s400/EventInWflow_4002.jpg", "formatted_filename": "EventInWflow"}, null, {"document_url": "http://www.bizinsightconsultingblog.com/2009/12/in-this-blog-i-will-explain-with-simple.html", "unformatted_src": "http://1.bp.blogspot.com/_7Ak4gihVK6k/Sx4snIlcdRI/AAAAAAAABPw/kUlR57A2Jbw/s400/EventInWflow_2001.jpg", "src": "http://1.bp.blogspot.com/_7Ak4gihVK6k/Sx4snIlcdRI/AAAAAAAABPw/kUlR57A2Jbw/s400/EventInWflow_2001.jpg", "formatted_filename": "EventInWflow"}, null, {"document_url": "http://www.bizinsightconsultingblog.com/2009/12/in-this-blog-i-will-explain-with-simple.html", "unformatted_src": "http://3.bp.blogspot.com/_7Ak4gihVK6k/Sx4r1163tCI/AAAAAAAABPo/omq44ugVHjk/s400/EventInWflow_1001.jpg", "src": "http://3.bp.blogspot.com/_7Ak4gihVK6k/Sx4r1163tCI/AAAAAAAABPo/omq44ugVHjk/s400/EventInWflow_1001.jpg", "formatted_filename": "EventInWflow"}, null, {"document_url": "http://www.bizinsightconsultingblog.com/2009/12/in-this-blog-i-will-explain-with-simple.html", "unformatted_src": "http://2.bp.blogspot.com/_7Ak4gihVK6k/Sx4uZwOizLI/AAAAAAAABP4/nss14BKRzA0/s400/EventInWflow_2002.jpg", "src": "http://2.bp.blogspot.com/_7Ak4gihVK6k/Sx4uZwOizLI/AAAAAAAABP4/nss14BKRzA0/s400/EventInWflow_2002.jpg", "formatted_filename": "EventInWflow"}, {"document_url": "http://www.bizinsightconsultingblog.com/2009/12/in-this-blog-i-will-explain-with-simple.html", "unformatted_src": "http://4.bp.blogspot.com/_7Ak4gihVK6k/Sx4ua67E3eI/AAAAAAAABQA/CGXyAk7xUzE/s400/EventInWflow_2003.jpg", "src": "http://4.bp.blogspot.com/_7Ak4gihVK6k/Sx4ua67E3eI/AAAAAAAABQA/CGXyAk7xUzE/s400/EventInWflow_2003.jpg", "formatted_filename": "EventInWflow"}, null, null, null, null, null, null]

Raise and Receive Events in Oracle Applications and Workflow.

Oracle Apps and workflow Events.

In this blog I will explain with Simple example how to use EVENTS in Oracle Workflow and then how to Raise Event in Oracle Application and Receive event in Oracle Workflow.
In my next blog I will explain in details about how to RAISE and RECEIVE events in Oracle Workflow, but here I will limit my self to RAISE event from Oracle Apps and then RECEIVE in Oracle workflow.

Step#1  - Define Event in Oracle Apps.

Navigation > Oracle Admin Workflow > Business Events > Press Button Create Event /Create  Group Event.
Note - In this blog I will limit myself to "Create Event" Only and will not discuss "Create Event Group". Please Note that when an event is raised , information about event  stoted in Data type WF_EVENT_T.
WF_EVENT_T structure stores
OnceEvent is created , you can raise that ,by means of Test button.

Step 2 - Create the subscription for the Event , an event subscription  registration indicating that a particular event is significant to a system.When ever an event is raised , event manager searches and execute amy subscripion assocaited with Event.

Navigate to Subscription tab and Select "Create Substription" and Define
System  - System where you want to execute subscription .
Event Filter -  Triggering Event
Phase - Order in which subscription to event execute, Phase with value 1 to 99 run synchronously , 100 and above are deferred., The phase number 0 (zero) is reserved for Oracle Workflow seeded subscriptions

Rule Date - Key /Message .
Action type - we have 4 options here , in my Example , I have defined Action Type = "Launch Workflow" as I want to Launch the workflow. Create your Subscription .Since I have selected Action Type  = "Launch Workflow", I need to create workflow with RECEIVE EVENT activity .

Below are Steps to create Workflow with RECEIVE Event activity.

1.Step #1  - Drag the Event Activity on your workflow and Select Event Action = Receive.Since it is a simple test i just added a wait and end activity. Step # 2 - Make sure you have Include 3 Mandatory Attribute
in Workflow as shown below. Go to Workflow Adminstator and test the Event , by first query for your Event in Event Tab and then Press the Test Button .
It will trigger the Event
Event In turn trigger all the subscription assocaited with the Event.
In our example , since Action Type for My Subscription is "Launch Workflow", it will trigger my workflow as shown .
you can check the triggering of the workflow , either by query the Workflow @workflow Admin Page > Search in Item_type/item_key
by executing below database queries. Hope that helps , Leave your comments , as that help me to improve furthers.