Skip to main content

Creating proposition hierarchy and properties

3 Tasks

25 mins

Visible to: All users
Beginner
Pega Platform '24.2
English

Scenario

Your task is to create a new structure for propositions in the Sample Application. The first step is to create a new proposition hierarchy. Next, create new BaseCost and LetterCount properties to make them available for the decision strategy. Finally, create new propositions.

Proposition hierarchy is crucial in decision strategies because it organizes all propositions by business issue and group. This structure allows for an efficient and targeted approach when defining and managing propositions. For instance, a business issue can have one or more groups that contain a series of related propositions.

Base cost and letter count are values defined for each proposition, and the strategy uses them to calculate the output. Creating new BaseCost and LetterCount properties defines the information you need to provide to reach your business goal:

BaseCost: The constant cost associated with printing a label.

LetterCount: The number of letters in the name of the printing label.

Use the following credentials to log in to the exercise system:

Role User name Password
Decisioning architect DecisioningArchitect rules

Your assignment consists of the following tasks:

Task 1: Create a new business issue and group

In Dev Studio, create a new Enablement business issue and Labels group to accommodate new propositions.

Task 2: Create new SR properties and add them to the Decision Data Form.

Create new integer BaseCost and LetterCount properties in the Top Level Strategy Results class. Add both properties to the proposition form.

Task 3: Create new propositions

Manually create the Blue Label proposition in the Enablement issue and Labels group. Then, export the proposition as a CSV file to create a template. Edit the CSV file using the values shown in the following table, copy the start date from the Blue Label row, and then import the edited CSV file to create the remaining propositions:

Business Issue

Group

Proposition name

Base cost

Letter count

Enablement

Labels

Blue Label

40

9

Enablement

Labels

Red Label

30

8

Enablement

Labels

Yellow Label

20

10

Enablement

Labels

Black Label

10

10

 

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Challenge Walkthrough

Detailed Tasks

1 Create a new business issue and group

  1. On the exercise system landing page, click Launch Pega Infinity™ to log in to Dev Studio.
  2. Log in as a Decisioning Architect:
    1. In the User name field, enter DecisioningArchitect.
    2. In the Password field, enter rules.
  3. In the header of Dev Studio, cllick Configure > Decisioning > Decisions > Proposition Management > Hierarchy.
    Hierarchy
  4. On the Hierarchy tab, in the Business issues and groups section, click Add > New business issue, and then configure the details:
    New business issue
    1. In the Create new business issue window, in the Name field, enter Enablement.
    2. In the Ruleset field, ensure that ExerciseArtifacts is the default selection, and then click Create to create a new business issue.
      create 1
  5. Confirm that the new Strategy Results class is displayed in the Application Explorer.
    1. In the Top Level section, click SR Class.
      sr calss click
    2. In the To field, copy the Academy-Sample-SR class name.
    3. In the navigation pane of Dev Studio, click App.
    4. In the Application Explorer, in the search box, paste Academy-Sample-SR class name.
    5. Confirm that Enablement class is displayed in the Academy-Sample-SR class.
      enablement in app explorer
  6. Click Decisioning: Proposition Management tab.
  7. In the Business issues and groups section, click Add > New group, and then configure the details:
    1. In the Create new group window, in the Name field, enter Labels.
    2. In the Context section, select Enablement, and then click Create to create a new group.
      new group
  8. In the Business issues and groups section, expand the Enablement business issue, and then ensure that the new Labels group is nested.
  9. Refresh the Application Explorer to see the new group and the new decision data:
    1. In the upper-right corner of the Application Explorer, click the options button.
    2. Select Refresh App Explorer.
      refresh app expolorer
    3. Expand Enablement > Labels > Decision > Decision Data.
    4. Click Labels to open the new Labels decision Data Set.

2 Create new SR properties and add them to the Decision Data Form

  1. In the Decisioning: Proposition Management tab, in the Properties section, click Add property, and then configure the details:
    Add property
    1. In the Create new property window, in the Name field, enter BaseCost.
    2. In the Property type field, select Integer, and then click Create to create a new SR property.
      The Create new property window
  2. Confirm that BaseCost is displayed in the properties list.
    The BaseCost property in the Properties list
    Note: Always create the SR properties in the Top Level SR Context as a best practice. This context enables the properties for use across all defined issues and groups. Create SR properties within a specific issue/group only if they are not to be used in other issues/groups.
  1. Repeat steps 1-2 to create the LetterCount property.
  2. In the Decision data records for versioned propositions section, in the Versioned proposition data column, click Labels to open Labels Decision Data.
    Decision data records for versioned propositions
  3. In the upper-right corner of the Decision Data: Labels, click Check out.
  4. Click the Form tab.
  5. In the Form fields section, click Add field.
  6. In the new row, in the Identifier column, enter or select .BaseCost.
  7. Repeat steps 7-8 for .LetterCount.
  8. In the upper-right corner, click Save.

3 Create new propositions

  1. Click the Data tab.
  2. Click New to add a new proposition.
    Decision Data Labels
  3. On the Create proposition tab, configure the details:
    1. In the Name field, enter Blue Label.
    2. In the ACTIVE section, select Within a defined time period.
    3. In the Description field, enter Blue Label.
    4. In the BaseCost field, enter 40.
      Note: that the BaseCost and LetterCount properties from the previous task are now available in the form.
    5. In the LetterCount field, enter 9, and then click Create to create a new proposition.
      Create a new proposition
  1. On the Labels tab, click Export, and then save the CSV file to your local machine.
  2. Open the CSV file.
  3. Add the remaining propositions according to this table:

    Business Issue

    Group

    Proposition name

    Base cost

    Letter count

    Enablement

    Labels

    Blue Label

    40

    9

    Enablement

    Labels

    Red Label

    30

    8

    Enablement

    Labels

    Yellow Label

    20

    10

    Enablement

    Labels

    Black Label

    10

    10

  1. Use the StartDate value of the Blue Label proposition for the other propositions.
  2. Save the edited CSV file.
  3. In Dev Studio, on the Labels tab, click Import to import the edited propositions file:
    1. In the Import data window, click Choose File, and then select the edited CSV file.
    2. Click Load to review import details.
    3. Review the import details, and then click Import.
      Import data
  4. In the upper-right corner, click Check in.
  5. In the Check In window, enter appropriate comments, and then click Check in.


Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

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 Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice