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 11.1.9.2.0 and later
Information in this document applies to any platform.

Symptoms

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:

 

Behavior:
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

Cause

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