Employee Center My active items widget - need help finding where it selects the request filter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2024 09:44 AM
In the My active items widget in the Employee Center (not the Pro version), OOB has three activities, Tasks, Requests, Surveys. I need to create a 4th one, Department Requests.
Using the Request activity as an example, I have determined it uses the script include ActivityConfigurationUtilSNC to get records and the record count and it uses a filter from the request_filter table to determine which records to return. This is where I'm stuck. I assume the request filter in the table is Service catalog Request Portal, but I can't figure out how the code in ActivityConfigurationUtilSNC determines that is the correct filter.
The code appears to use this.EMPLOYEE_CENTER_CACHE = 'employee_center_cache' and a cacheKey to determine the filter, but I don't see where it determines which filter to use. I believe it is in the function _getMyRequestQueryInfo, but I'm just not seeing it. Can anyone help me track this down? I've looked at the widget's HTML, client script, server script - I don't see it there, either.