Documente Academic
Documente Profesional
Documente Cultură
Click on Apply
Search the business event create above (for which subscription has to be created)
Click on Subscription
Click on the System fields up arrow icon to display a list of systems from which to choose
Error - The subscription applies to only to errored events dequeued from the WF_ERROR queue.
Event Filter
Name of your business event.
Phase Number
It specify the order in which subscriptions that apply to the same event are executed
Status
Select Enabled or Disabled.
Rule Data.
Key - The subscription requires only the event key.
Message - The subscription requires the complete event data
Action Type
There are total 6 types of Action Types. Select anyone as your requirement put at least the required fields in Action region of the
selected Action Type.
On Error
Stop and Rollback
Skip to Next
Documentation Region
Owner name
Enter program name here.
Owner tag
Enter program ID here.
Customization Level
Customization level User is automatically set for subscriptions that you define.
Description(optional)
Warning: Each subscription must have a unique combination of subscribing system,source type, triggering event, source agent,
phase, owner name, and owner tag. If you are defining several subscriptions with similar properties, assign each subscription a
different phase number to differentiate it from the others.
Click On Next
Click On Apply
It will give the confirmation message of successful subscription
function xx_test_event_func(
p_subscription_guid in raw
,p_event in out nocopy wf_event_t)
return varchar2 is
l_parmlist wf_parameter_list_t;
l_user_id number;
l_resp_id number;
l_application_id number;
begin
---- get the parameter list for the event.
l_parmlist := p_event.getparameterlist ();
return 'SUCCESS';
exception
when others then
return 'FAILURE';
end xx_test_event_func;