My Oracle Support Banner

Reversal Of Activities That Leverage CopyToActivityFields Triggers System Error (Doc ID 2824186.1)

Last updated on NOVEMBER 29, 2021

Applies to:

Oracle Insurance Policy Administration J2EE - Version and later
Information in this document applies to any platform.


On : version, General

After upgrading from V10.2.0.39 to V11.3.1, it appears the system no longer supports Undo capabilities for Activities that leverage CopyToActivityFields Business Rule.
The ActivityGUID captured within ApeChanges/CopyToPendingActivityFields/Activity can correspond to a Pending Activity or a Shadowed Activity (typically it is a Shadowed Activity).
V11 returns a System Error when it is a Shadowed Activity while V10 uses the Shadow ActivityGUID and apply the necessary reversal of data on the corresponding Redo/Pending Activity.

java.lang.RuntimeException: com.adminserver.utl.exception.AsExceptionUtl: java.lang.RuntimeException: java.lang.RuntimeException: com.adminserver.utl.exception.AsExceptionUtl: com.adminserver.utl.exception.AsExceptionUtl: An error occurred while processing business rule: CopyToPendingActivityFields.
  at com.adminserver.pas.uip.aspects.UipExtensibilityAspect.extendUipMethod(
  at com.adminserver.pas.uip.PolicyActivityUip.processProcessAction(
  at sun.reflect.GeneratedMethodAccessor1261.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(
  at java.lang.reflect.Method.invoke(

The issue can be reproduced at will with the following steps:
1. Recycle Issue on any of the Policies returned in this query:

SELECT P.PolicyNumber, T.TransactionName, A.EffectiveDate, A.ACTIVITYGMT, a.typecode, a.statuscode, A.ACTIVITYGUID, A.XMLDATA
FROM AsPolicy P
JOIN AsActivity A ON A.PolicyGUID = P.PolicyGUID AND A.TypeCode IN ('01','04') AND A.StatusCode IN ('01','14')
and a.xmldata like '%CopyToPendingActivityFields%'
JOIN AsTransaction T ON T.TransactionGUID = A.TransactionGUID AND T.TransactionName = 'Issue'
with ur;

2. Recreate by recycling Issue the specific Policy.

3. Create a TestTran1 that will alter an ActivityField in TestTran2. Process both TestTran1 and TestTran2.

4. Then perform Undo processing over both Transaction.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.