Configure a list menu to display in the Learning tab in Workforce Optimization for ITSM
Add a system property to add to or modify the list menu for Coaching with Learning in the Coaching application in Workforce Optimization for ITSM.
Before you begin
Important:
This feature is available with the
Coaching with Learning plugin (sn_coach_lrn) from the ServiceNow Store.
To enable this feature, see Activate Workforce
Optimization for ITSM for configurabe workspace.
Set the map application scope to Coaching With Learning. For information on how to set the scope, see Set map application scope.
Role required: admin
Procedure
- In the application navigator, enter sys_properties.list.
- Click New.
-
Enter the following field values.
Field Value Suffix learning_list_menu_props Name sn_coach_lrn.learning_list_menu_props Application Coaching With Learning Type String Value [{ “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>“] }]where:- <children> is an array of objects to create the list
- <conditions> is the condition set on the selected table
- <label> is the name of the list
- <id> unique identifier for the selection path
- <selectionPath> is the path to establish parent-child relationship in the menu
- <table> is the name of the table for the menu item
Read roles sn_wfo_cfg_ws.user Write roles sn_wfo_cfg_ws.admin -
Click Submit.
The configured list displays in the Learning tab in Coaching in the Workforce Optimization for ITSM manager workspace.
What to do next
You can copy the code below into the Value field in the system property and modify as required.
[{
“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”]
}]