Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Adding a new scope for business conditions

Updated on December 3, 2021

Use the cyFetchDataEntities data transform to add a new scope because you might have your own data objects that you want to use to build conditions. The data transform contains the scopes that are allowed in business conditions and customer verification.

Pega Customer Service Implementation Guide

The following figure shows an example of a new Business Unit source that you can select, in addition to the default sources of Account and Contact:

New source for business conditions or customer verification??? must change screen shot
A new source appears for selection for a business condition or customer verification question

  1. In the header of Dev Studio, in the search box, search for and open the cyFetchDataEntities data transform in the @baseclass class.
  2. Click the Add a row icon.
  3. In the Action column, select Append and map to.
    Result: A child row is created.
  4. In the parent row, change the Target to .czDataEntities.
  5. In the child row, select .pyClassName as the Target.
  6. In the Source column, enter the source class name in quotation marks, for example, "PegaCA-Interface-BusinessUnit".
  7. Define a label for the source.
    The label identifies the source in business conditions and customer verification questions.
    1. Click the Add a row icon to add a child row.
    2. Select .pyLabel as the Target.
    3. In the Source column, enter the label in quotation marks, for example, "Business Unit".
  8. Define the internal property name to use for this source.
    1. Click the Add a row icon to add a child row.
    2. Select .pyEmbeddedPropertyName as the Target.
    3. 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 data transform:

    Data transform for defining new scopes
    Data transform for defining new sources

  9. Click Save.
For example:

The following video demonstrates how to add a new scope for business conditions:

  • Previous topic Adding a work pool for business conditions
  • Next topic Showing only relevant fields for interaction features

Tags

Pega Customer Service 8.7 Pega Customer Service for Communications 8.7 Pega Customer Service for Financial Services 8.7 Pega Customer Service for Healthcare 8.7 Pega Customer Service for Insurance 8.7

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us