Skip to main content

デシジョンテーブルでの決定の自動化

3 タスク

10 分

Visible to: All users
初級 Pega Platform 8.4 ケースマネジメント 日本語
バージョンタグがご希望のコンテンツと一致しているかご確認ください。 または、最新バージョンをご利用ください。

シナリオ

ある組織では、ローンの申請が簡単にできるアプリケーションを開発しています。 顧客がローンリクエストを開始し、クレジットスコアとローン金額を入力します。 デシジョンテーブルとデクレア エクスプレッションを設定し、顧客が入力したクレジットスコアとローン金額に基づいてローン利率が自動的に確定するようにします。 以下の表の値を使用してデシジョンテーブルを設定します。

  クレジットスコア > ローン金額 > 戻る
次の場合 800 50000 .0225
else if 800 0 .0200
else if 700 50000 .0325
else if 700 0 .0275
else if 200 50000 .045
else if 200 0 .0425
otherwise     .07

以下の表は、チャレンジに必要なログイン情報をまとめたものです。

ロール ユーザー名 パスワード
アプリケーションデベロッパー author@loans pega123!

このチャレンジを完了するには、Pegaインスタンスを起動する必要があります。

起動には5分ほどかかることがありますので、しばらくお待ちください。

チャレンジ ウォークスルー

詳細なタスク

1 Configure the Borrower risk adjustment decision table

  1. From the navigation pane of Dev Studio, click App.
  2. Right-click LoanRequest and click Create > Decision > Decision Table.
  3. In the Label field, enter Borrower risk adjustment table.
  4. Click Create and open to create the decision table.
  5. Click the first heading cell to specify a condition. The Select a Property window is displayed.
    First header in the Borrower risk adjustment decision table
    1. In the Property field, enter or select .CreditScore.
    2. Click the Use Operator drop-down and select >.
      Select a property for decision table header
    3. Click Save.
  6. In the Credit score column, click the empty cell to enable the decision table menu options.
  7. Click Insert Column After to add a column after Credit score.
    Insert column after button
  8. Click the new heading cell to specify a condition.
    1. In the Property field, enter or select .LoanAmount.
    2. Click the Use Operator drop-down and select >.
    3. Click Save.
  9. In the if row, click an empty cell, and then click Insert Row After five times to add five else if rows.
    Insert row after button
  10. Click each cell and, in the decision table, enter the following values:
    Borrower risk adjustment decision table
  11. Click Save to save the decision table.

 

2 Configure the Loan rate declare expression

  1. From the App Explorer, right-click LoanRequest and click Create > Decision > Declare Expression.
  2. In the Target Property field, enter or select .LoanRate.
    Declare expression for Loan rate property
  3. Click Create and open.
  4. In the Build Expressions area, in the Value of drop-down, select Result of Decision Table.
  5. In the empty field to the right, enter or select BorrowerRiskAdjustmentTable.
    Configured declare expression for Offered rate property based on result of decision table
  6. Click Save.

3 Confirm your work

  1. In the header of Dev Studio, click Create > New > Loan Request to create a new Loan Request case instance.
  2. In the Loan amount field, enter 10000.
  3. In the Credit score field, enter 750.
  4. Click Submit.
  5. Verify that the Loan rate is 2.75%.
    Review offer of loan rate 2.75%
  6. Optional: Create additional case instances and enter different Credit score and Loan amount values. Verify that the Loan rate is consistent with the values specified in the Borrower risk adjustment decision table.


このモジュールは、下記のミッションにも含まれています。

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

このコンテンツは役に立ちましたか?

改善できるところはありますか?

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