Last updated on JUNE 02, 2016
Applies to:Oracle Common Applications Calendar - Version 12.1.3 and later
Information in this document applies to any platform.
Checked for relevance 2-JUN-2016
12.1.3, Tasks Business Event don't work as expected
According to note 1451468.1, tasks user hooks have been replaced by business events. However the tasks business event do not seem to support the same functionality or they're not working as expected.
Need to validate the tasks update. Planning on using User Hooks, but found out that the user hooks are not available. Searching My Oracle Support found note 1451468.1 which says that user hooks have been replaced by business events. With the user hooks users could prevent the task from being updated if the validation failed, the business event doesn't. With the business event, the only way to prevent the update is returning an ERROR or WARNING, but this gives an ugly message stating that an error occurred in the business events and to contact the administrator.
According to the business events documentation "always return a success for the WF execution. If the validation failed, the JTF API that raised the event, will look for the value of the return status and will stop execution".
This is not happening for the tasks business events.
By taking a look at the JTF_TASKS_PVT package, it becomes clear no check is being performed as to the return status of the business event.
Appears to be a defect in the business events implementation for tasks.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms