Adding a source for business conditions or customer verification
The cyFetchDataEntities data transform contains the sources allowed in business conditions and customer verification. To add a new source, update this data transform.
Pega Customer Service
Implementation Guide
The following figure shows an example of a new Business Unit source that can be selected, in addition to the default sources of Account and Contact:
- In the header of Dev Studio, in the search box, search for and open the cyFetchDataEntities data transform in the @baseclass class.
- Click the Add a row icon.
- In the Action column, select Append and map to.
- In the parent row, change the Target to .czDataEntities.
- In the child row, select .pyClassName as the Target.
- In the Source column, enter the source class name in quotation marks, for example, "PegaCA-Interface-BusinessUnit".
- Define a label for the source.The label identifies the source in business conditions and customer verification questions..
- Click the Add a row icon to add a child row.
- Select .pyLabel as the Target.
- In the Source column, enter the label in quotation marks, for example, "Business Unit".
- Define the internal property name to use for this source.
- Click the Add a row icon to add a child row.
- Select .pyEmbeddedPropertyName as the Target.
- In the Source column, enter the property name in
quotation marks, for example, ".Bus unit".This internal property name must start with a period.
The following figure shows a new source configured in the cyFetchDataEntities:
- Click Save.
Previous topic Business conditions Next topic Showing only relevant fields for interaction features