Skip to main content


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

Configuring business conditions

Updated on December 3, 2021

Configure the business conditions that you use to evaluate criteria during an interaction so that you can provide consistent, personalized responses. You can modify the out-of-the-box business conditions and add new ones.

Pega Customer Service Implementation Guide
Before you begin: Ensure that you follow the steps in Enabling settings for business conditions.
  1. In the navigation pane of App Studio, click SettingsGeneralBusiness conditions.
  2. On the Business conditions page, click Add.
  3. In the New business condition dialog box, in the Scope drop-down list, select a value to represent the source of the information that you want this business condition to evaluate as well as the item to which the business condition applies.

    When selecting the scope, think about where you want to apply the conditions. To configure the behavior of the Interaction portal, for example, configuring suggested cases or customer composite, select All Cases. This means that all the properties that are associated with the cases are available to build conditions.

    For new business conditions that are based on the current interaction properties (for example, the case type that is currently being run currently such as Address Change or the account information that is being accessed in the interaction), select All Cases. Selecting this value gives you access to the properties that are available in the case type and the interaction itself.

    In the Scope list, to create a small, reusable business condition that you use to build more complex case-level conditions, select a data object, such as Account. For example, Platinum customers in your business must maintain a balance of $5000 in their accounts. Create the business condition for the account data and reuse this business condition to build case type conditions that need to evaluate this criteria. If you need to change this value to $6000, change the value in the one business condition and it is changed in all the places where you used this business condition.

    To review the default data types for business conditions, see "Scopes for business conditions" earlier in this section.

    To add a different data object as a scope, see Adding a new scope for business conditions. To group together cases in a work pool, see "Adding a work pool for business conditions".

  4. Click Next.
  5. In the expanded New business condition dialog box, in the Name field, enter a unique name for your business condition.
    Business conditions appear in alphabetical order, so plan your naming schema to reflect the scope and purpose of the business condition. For information, see the "Best practices for naming business conditions," section in Business conditions.
  6. In the Description field, enter text to describe details about your business condition.
    The description is useful in contexts when both the description and name are visible.
  7. In the Set conditions section of the dialog box, configure the data that you want evaluated for this business condition.
    If the selected scope is All Cases, Current gives you access to the current case that will be run in real time. You can also select a data object for your scope.
    • To select from properties for the account data object, select .Account
    • To select from properties for the contact data object, select .Contact.
    • To select from properties for the interaction, select .czInteraction.
    1. In the Select field, choose the criteria for the left side of the equation:
      • To reuse an existing business condition, click Business condition, and then select the business condition.

        For example, if the scope of this business condition is Account, you can select from other business conditions with the same scope, for example, Account active and due within two weeks.

      • To select a case property for the All Cases scope, click Configuration and then select the setting property, for example, Allow duplicate search lets you evaluate whether or not a duplicate search is enabled for a case.

        When you select a case property, carefully consider the context where the business condition is evaluated. The case property values can change during the course of an interaction based on the case that is being run.

      • To select a property for the specified scope, click Fields and then select the property.

        The properties list includes only fields that have been marked as relevant for business conditions. For information, see Showing only relevant fields for interaction features.

      • To select a When rule that applies to the same scope as this business condition, click When condition and then select the When rule.

        Note: When condition rules can only be modified in Dev Studio and are therefore not the recommended scopes for business conditions. Only use a When rule if another scope cannot be used.

        For information, see When Condition rules.

    2. Optional: If you select Business condition or When condition, to view the details of your choice, click the Preview this condition icon A lower case letter i that a user clicks to view the criteria details.
    3. In the operator field, select how to evaluate the criteria.
      For example: is equal to
      The list of operators varies by criteria.
    4. For criteria that require a value (for example, a field), enter a value or click the Select values icon Gear icon that a user clicks to select from existing values, and then select one of the predefined values for this field (for example, yes or no) or another field.
      Only use the Select values dialog box for fields with predefined values.
    5. Optional: To define an additional condition, click the Add a row icon, and then repeat the previous steps.
    6. If you define more than one condition, select a value in the Select grouping for conditions list to evaluate the conditions:
      • To require all conditions to evaluate to true, select Group ANDs.
      • To require only one condition to evaluate to true, select Group ORs.
      • To enter a custom expression, select Use advanced logic, and then enter the logic.

        For example, if the expression is true when conditions 1 and 2 are both true, or when condition 3 is true, enter this expression: (1 and 2) or 3.

  8. Click Submit.

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