Field Is Not Getting Updated Via setAttribute In After Commit In Database Trigger

(Doc ID 1970096.1)

Last updated on MARCH 11, 2015

Applies to:

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


Field is not getting updated in After Commit in Database Trigger.

Requirement to set two custom attributes in After Commit in Database trigger but when used setattribute method, getting some error (Please check the incident log for more details).


Try using a sample code as below:

if(Attribute1_c == "Yes")


  setAttribute("Attribute1_c", "No");

  setAttribute("Attribute2_c", "Done");


But are thrown with the below error:

An application error occurred. See the incident log for more information. We have used the following credentials.
An application error has occurred. Your help desk can use the following information to obtain a more detailed description of this incident: 543, Server Domain: CRMDomain, Server Instance: CustomerServer_1, Application Name: CustomerApp.

How to set these two custom attributes in After Commit in Database trigger?


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