My Oracle Support Banner

CopyToRoleFields Business Rule Does Not Copy OptionText (Doc ID 2917445.1)

Last updated on DECEMBER 23, 2022

Applies to:

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


An Activity with Attached BR CopyToRoleFiels updates a Rolefield that is a Combo Datatype.
The OptionText is not being updated by the Attached Rule.
In comparison, CopyToSegmentFields is updating the OptionText for any Segmentfield that is a Combo Datatype.
This causes an issue because the Role Screen displays this Combo Rolefield in the Role "Summary" and is displaying the incorrect value after that Rolefield is updated by an Activity.
This is a big issue because this field used to indicate if an Agent fails licensing validations on a new business application.

The FinalGoodOrderCheck Activity is updating the WritingProducer RoleField “ProducerStatus” with the highest error status from the Producer Validation Requirement.
This Producer status is displayed on the Role header. Within the UI, the Producer Status went from green to red because the OptionText wasn’t updated, the Role header is still displaying “Green”.
In comparison, the CopyToSegmentFields is updating the OptionText. A tTansaction updates the Segmentfield “SegmentCoverageDecision” and the OptionText is also being updated.


WritingProducer should be displaying "Red" in the header row since that is the new OptionText display value for the ProducerStatus RoleField.


1. Validate a have a Rolefield that is a Combo Datatype.
<Display>Producer Validation Indicator</Display>
<Query TYPE="SQL">SELECT CodeValue,LongDescription FROM AsCode WHERE CodeName = 'AsCodeProducerStatus' ORDER BY CodeValue</Query>

2. On the RoleScreen RoleView have that RoleField listed as a Column:
<Column ALIGN="Center">
<Display>Producer Validation Indicator</Display>

3. Update that Rolefield via Activity using CopyToRoleField BR.



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.