
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Learn how to tailor the Manager Hub experience for your organization with easy, out-of-box configuration frameworks. In this post we will walk you through how to configure To-Do filters in Employee Center so that you can show managers their tasks and approvals for their team in Manager Hub.
To-do filters for management tasks
In Manager Hub, managers can see tasks or approvals assigned to them as part of a request, case, or journey for their direct reports. These show up in the Your management tasks widget in the Overview tab and under individual employees’ details in the Your team tab.
Behind the scenes, the types of tasks and approvals that are shown to the manager are defined in the To-Do filters of Employee Center. Employee Center allows admins to define additional filters on top of existing To-dos to show the filtered to-dos list.
Below are steps to create new to-do filters and link them to the Manager Hub to see the to-dos related to the manager’s team only.
Create To-do filter conditions
- Make sure you have the “sn_hr_sp.esc_admin” role to proceed further.
- From the platform view in the navigator search for “To-dos filter conditions” under Employee Center Administration and click on it.
- From the list view, click on the new button. Fill out the form below:
Here are the quick details about each field:
- Name: Enter the name of the condition.
- To-do-config: Select an existing to-do configuration, for example approvals.
- Table: This will be auto populated based on the to-do config.
- Conditions: Add the desired condition to filter out approvals for my team.
- Add additional conditions: Make sure this is checked.
- Additional Conditions: Enter the script to return additional conditions to filter out approvals for individual team members.
- Active: Make sure this is checked. Once ready, submit the form.
This is how the form should look like for My Team's HR Approvals:
Here is the sample additional condition. Just change the conditions according to your requirements.
(function applyCondition(params) {
if(params && params.users && params.users.length) {
var operator = '^OR';
var conditions = [
'sysapproval.ref_sn_hr_core_case.opened_for',
'sysapproval.ref_sn_hr_core_case.subject_person'
];
return conditions.map(function(condition) {
return condition + 'IN' + params.users.toString();
}).join(operator);
}
return "";
})(params);
Create a new to-do filter:
- Make sure you have the “sn_hr_sp.esc_admin” role to proceed further.
- From the platform view in the navigator search for “To-dos filters” under Employee Center Administration and click on it.
- From the list view, click on the new button. Fill out the form below:
Here are the quick details about each field:
- Name: Enter the name of the filter.
- Is filter group: Let this be unchecked.
- Available for: Select user criteria as "Manager for Manager hub"
- Description: Enter the description.
- Active: Make sure this is checked.
- No available for: Leave this blank.
Next, submit the form and follow these steps:
- Open the above record again.
- Under the related list “Associated categories” click the “New” button.
Fill out the form below:
Here are the quick details about each field:
- Category: Select “Related to” from the lookup.
- Filter: This should be auto filled, leave it as is.
- Order: Let it be the default order of 100.
From the next related list “Associate Conditions” click on the “New “button and fill out the form below:
Here are the quick details about each field
- To-do filter: Auto populated, leave it as is.
- To-do config filter condition: Select the filter condition created in first section.
- Submit the form.
- Our filter is now created.
Link the Above filter with Manager Hub:
- Make sure you have the “sn_hr_sp.esc_admin” role to proceed further.
- Open the To-do filter record created in the second section and copy its sysId.
- From the mega menu click on manager hub followed by overview.
- Hold the command key and right-click in the section “Your management tasks” and select the instance option.
- Paste the sys id from step 3 under the Approval ID field and click save.
- From the tabs, click on Your Team
- Hold the command key and right-click anywhere on the screen having a list of employees and select the instance option.
- Append the sys id from step 3 under the “Todo filters sysids” field separated by a comma and click save.
Find other configuration tips for Manager Hub in the following blog posts:
Looking for general information about Manager Hub?
Check out these additional resources:
- Blog: Intro to Manager Hub: take manager enablement to the next level
- Live at ServiceNow webinar: Enhancing the Manager Experience
- Technical documentation for Manager Hub (Tokyo)
- 2,780 Views
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.