
チャレンジ
データオブジェクトの作成
3 タスク
10 分
シナリオ
MyTown311アプリケーション経由でサービスリクエストを提出する際、住民はまず問題に関する情報を「Description」フィールドに入力します。 市長とサービスコーディネータは、住民がリクエストした修理についてより詳細な情報を提供することを望んでいます。 「Type」と「Description」のフィールドを使用して、Request type(リクエストタイプ) データタイプを作成します。
以下の表は、チャレンジに必要なログイン情報をまとめたものです。
ロール | ユーザー名 | パスワード |
---|---|---|
アプリケーションデベロッパー | author@mytown | pega123! |
補足: PegaはApp Studioでデータオブジェクトとしてデータタイプを参照できるようになりました。 チャレンジのウォークスルーのビデオではデータタイプが示されていますが、設定手順は同じです。
チャレンジ ウォークスルー
詳細なタスク
1 Create a Request type data object
- In the App Studio navigation pane, click Data > Data objects and integrations to display a list of existing data objects in the application.
- To the right, click New to create a new data object.
- In the Data object name field, enter Request type.
- Click Submit to create and display the new Request type data object.
- On the Data model tab, click + Add field to create a new field for the Request type data object that is displayed under Globally unique ID.
- In the Name field, enter Type to name the field.
- To the right of the Name field, verify that the Type drop-down defaults to Text (single line).
- Click + Add field to create a new field.
- In the Name field, enter Description to name the field.
- From the Type drop-down, select Text (paragraph).
- In the upper right, click Save to commit the fields to the data type.
2 Add the Request type data object to the Report problem step
- In the App Studio navigation pane, click Case types > Service Request to display the Service Request case life cycle.
- Click the Report problem step.
- From the configuration pane on the right, click Configure view to display the Report problem view window.
- To the right of the Description field, click the Trash can icon.
- Click + Add field to add an empty field row.
- In the empty field, enter Request.
- From the Type drop-down, select Field group to display a drop-down list to the right of the Options field.
- From the new drop-down list, select Request type to reference the Request type data object.
- In the lower right, click Submit to dismiss the Report problem view window.
- In the upper-right corner of the Service Request case type, click Save to complete the configurations in the case type.
3 Confirm your work
- In the upper-right corner of the Service Request case type, click Save and run to run a new Service Request case.
- In the Create view, complete any required fields before advancing the case.
- In the Report problem step, verify the Type and Description fields are displayed.
下記のミッションにも含まれています。
トレーニングを受講中に何か問題がありましたら、こちらをご覧ください:
Pega Academy サポートのよくある質問 (FAQ) .