Implementing dynamic class referencing
You can configure Pega Foundation for Communications to retrieve product class information at run time to select the correct flow and class names. You do this by implementing dynamic class referencing by using declarative pages and decision tables.
Log in to your application with developer credentials (for example,
CFFDeveloper.UplusCIF
) and the password that you specified for this operator.Create a new data class for the UPlus implementation layer application that directly inherits from
PegaComm-FW-CF-Data-AppExtension
.- In the Data Types menu, click Add data type.
- In the Label field, enter
AppExtension
. - Expand the Advanced section. In the Parent class field,
enter
UPlus-UplusCIF-Data
and set the Identifier toUPlus-UplusCIF-Data-AppExtension
. - Click Submit.
- Open the class definition and update the direct inheritance class to
PegaComm-FW-CF-Data-AppExtension
, then save your changes.
Copy the
AppExtension
data transform rule from thePegaComm-FW-CF-Data-AppExtension
class to theUPlus-UPlusCIF-Data-AppExtension
class. See Data Transforms.In the
AppExtension
data transform rule, on the Definition tab, set the properties for the dynamic class referencing functionality to that of the UPlusCIF implementation layer application class names, work queues, and so on.Copy the
D_AppExtension
data page rule fromPegaComm-FW-CF-Data-AppExtension
to theUPlus-UPlusCIF-Data-AppExtension
class of the UPlus application ruleset.Log off from the application.
Previous topic Extending the application Next topic Updating the skin