ITSM のワークフォース最適化 の [ラーニング] タブに表示するリストメニューの設定
ITSM のワークフォース最適化 の コーチング アプリケーションでシステムのプロパティを追加すると、ラーニングのコーチングのリストメニューの追加と変更ができます。
始める前に
重要:
この機能は、ServiceNow Store のラーニングのコーチングプラグイン (sn_coach_lrn) で利用できます。この機能を有効にするには、「ITSM の構成可能ワークスペースのワークフォース最適化のアクティブ化)」を参照してください。
マップアプリケーションのスコープを [ラーニングのコーチング] に設定します。スコープの設定方法の詳細については、「マップアプリケーションスコープの設定」を参照してください。
必要なロール:admin
手順
- アプリケーションナビゲーターで、「sys_properties.list」と入力します。
- [新規] をクリックします。
-
次のフィールド値を入力します。
フィールド 値 サフィックス learning_list_menu_props 名前 sn_coach_lrn.learning_list_menu_props アプリケーション ラーニングのコーチング タイプ 文字列 値 [{ “children”: [{ “conditions”: “<filter condition on table>“, “label”: “<list name>“, “id”: “<unique identifier for the selection path>“, “selectionPath”: [ “<list parent name>“, “<unique identifier for the selection path>” ], “table”: “<table name>” } ], “label”: “<list name>“, “id”: “<list parent name>“, “isExpanded”: true, “selectionPath”: [“<list parent name>“] }]この構文では、- <children> はリストを作成するオブジェクトのアレイ
- <conditions> は選択したテーブルに設定された条件
- <label> はリスト名
- <id> は一意に定まる選択パスの識別子
- <selectionPath> はメニューで親子関係を確立するためのパス
- <table> はメニューアイテムのテーブル名前
読み込みロール sn_wfo_cfg_ws.user 書き込みロール sn_wfo_cfg_ws.admin -
[送信] をクリックします。
構成されたリストは、ITSM のワークフォース最適化 マネージャーワークスペースの コーチング の [ラーニング] タブに表示されます。
次のタスク
以下のコードをシステムプロパティの [値] フィールドにコピーし、必要に応じて変更できます。
[{
“children”: [{
“conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15”,
“label”: “All Tasks”,
“id”: “all”,
“selectionPath”: [
“learning_tasks”,
“all”
],
“table”: “sn_lc_learning_task”
},
{
“conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15^active=true”,
“label”: “Active Tasks”,
“id”: “active”,
“selectionPath”: [
“learning_tasks”,
“active”
],
“table”: “sn_lc_learning_task”
},
{
“conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15^due_date<javascript:gs.beginningOfToday()^state!=3”,
“label”: “Overdue Tasks”,
“id”: “overdue”,
“selectionPath”: [
“learning_tasks”,
“overdue”
],
“table”: “sn_lc_learning_task”
},
{
“conditions”: “assigned_toDYNAMICfdc474aab313001013a082c136a8dc15^state=3",
“label”: “Completed Tasks”,
“id”: “complete”,
“selectionPath”: [
“learning_tasks”,
“complete”
],
“table”: “sn_lc_learning_task”
}
],
“label”: “Learning Tasks”,
“id”: “learning_tasks”,
“isExpanded”: true,
“selectionPath”: [“learning_tasks”]
}, {
“children”: [{
“conditions”: “”,
“label”: “All Catalogs”,
“id”: “all”,
“selectionPath”: [
“learning_catalogs”,
“all”
],
“table”: “sn_lc_catalog”
},
{
“conditions”: “sys_created_by=javascript: gs.getUserName()“,
“label”: “My Catalogs”,
“id”: “my”,
“selectionPath”: [
“learning_catalogs”,
“my”
],
“table”: “sn_lc_catalog”
}
],
“label”: “Learning Catalogs”,
“id”: “learning_catalogs”,
“isExpanded”: true,
“selectionPath”: [“learning_catalogs”]
}, {
“children”: [{
“conditions”: “active=true”,
“label”: “All Courses”,
“id”: “all”,
“selectionPath”: [
“learning_courses”,
“all”
],
“table”: “sn_lc_course_item”
},
{
“conditions”: “authorDYNAMIC90d1921e5f510100a9ad2572f2b477fe^active=true”,
“label”: “Internal Courses”,
“id”: “internal”,
“selectionPath”: [
“learning_courses”,
“internal”
],
“table”: “sn_lc_content”
},
{
“conditions”: “active=true”,
“label”: “External Courses”,
“id”: “external”,
“selectionPath”: [
“learning_courses”,
“external”
],
“table”: “sn_lc_external_content”
}
],
“label”: “Learning Courses”,
“id”: “learning_courses”,
“isExpanded”: true,
“selectionPath”: [“learning_courses”]
}]