Running a custom rule function with a business event
Hello,
I am looking to call a custom rule function with seeded business event for reverse termination, i.e. oracle.apps.per.api.ex_employee.reverse_terminate_employee.
I followed the below steps:
1. Created a new database packaged function by following the standard API for a PL/SQL Subscription Rule Function as below:
function my_function (p_subscription_guid in raw, p_event in out WF_EVENT_T) RETURN VARCHAR2
2. Created a new subscription and set this function for PL/SQL Rule Function
Now, When I tested the business event first time, I got an error. So, I changed the packaged function and re tested. Since then, the error message is looking at old function definition.
I am looking to call a custom rule function with seeded business event for reverse termination, i.e. oracle.apps.per.api.ex_employee.reverse_terminate_employee.
I followed the below steps:
1. Created a new database packaged function by following the standard API for a PL/SQL Subscription Rule Function as below:
function my_function (p_subscription_guid in raw, p_event in out WF_EVENT_T) RETURN VARCHAR2
2. Created a new subscription and set this function for PL/SQL Rule Function
Now, When I tested the business event first time, I got an error. So, I changed the packaged function and re tested. Since then, the error message is looking at old function definition.
0