Error On Creating Record On Activity Team using Groovy Script

(Doc ID 2037852.1)

Last updated on JANUARY 30, 2017

Applies to:

Oracle Fusion Sales Cloud Service - Version and later
Information in this document applies to any platform.


User created a trigger to insert a team member to an activity, the trigger will run based on the update of a field value from Activity Object.

The trigger is an Object Trigger Before Update in Database

The code:


when an activity is updated the user gets the error
Exception in expression "ActivityEO" trigger "TestDriveResource" : oracle.jbo.InvalidOwnerException Detail entity ActivityAssigneeEO with row key null cannot find or invalidate its owning entity. at "ActivityEO" trigger "TestDriveResource" line 23

Expected behavior:
when an activity is updated a team member that would be filled in a Dynamic choice list for the resource would be added to the activity team


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms