---
sourceDocument: Brazil Employee Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/employee-service-management

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Optimize cleaning activities agent overview

# Optimize cleaning activities agent overview {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 4 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Optimize cleaning activities agent overview

The Optimize Cleaning Activities Agent automates the management of cleaning and maintenance tasks for workplace locations based on space utilization data.
It processes workplace maintenance cases that represent cleaning or maintenance schedules for specific locations and time intervals, optimizing activities primarily for non-reservable spaces such as restrooms.
This agentic AI workflow is triggered via a scheduled job that runs daily or hourly, helping workplace maintenance managers efficiently allocate cleaning resources according to actual space usage.
Show full answer Show less  

## Key Features

* **Maintenance Plan Optimization:** Managers manually copy the sysid of a maintenance plan record to enable optimization of cleaning activities for a specific floor in a building.
* **Scheduled Job Execution:** The "Optimize cleaning activities" scheduled job triggers the AI workflow to analyze and optimize cleaning cases based on space utilization thresholds.
* **Case Aggregation and Utilization Calculation:** The Case Aggregator AI Agent collects open maintenance cases, while the Utilization Rate AI Agent calculates utilization rates using reservation and visitor data.
* **Space Optimization Logic:** Optimization occurs in the UTC time zone and focuses on maintaining cases within configured utilization thresholds to maximize resource efficiency.
* **Case Tagging:** Once optimized, maintenance cases receive tags to prevent redundant processing by the AI workflow.
* **Dynamic Case Management:** The Case Optimizer AI Agent adjusts maintenance cases by creating new ones if utilization is high or deactivating underutilized cases based on minimum and maximum utilization thresholds.

## Practical Usage Details

* **Utilization Thresholds:**
  * Minimum utilization threshold default is 40%. Cases below this are deactivated unless scheduled hourly, in which one underutilized case is retained.
  * Maximum utilization threshold default is 80%. Cases at or above this threshold trigger creation of new maintenance cases to handle demand.
* **Case Deactivation:** Underutilized maintenance cases are closed to optimize workload and avoid unnecessary cleaning activities.
* **Execution Monitoring:** Managers can review AI workflow execution status and case processing details via the Execution Plans table.

## Benefits for ServiceNow Customers

This agentic AI workflow helps workplace maintenance managers automate cleaning schedules to better align with actual space usage, improving operational efficiency and reducing wasted resources. By leveraging utilization thresholds and AI-driven case management, customers can maintain optimal cleanliness levels while minimizing unnecessary maintenance activities. The solution integrates with existing Workplace Maintenance Management features and empowers managers to make data-driven decisions for workspace upkeep.  
The Optimize cleaning activities agent performs cleaning activities on a workplace location based on the space utilization threshold data.  
This team of AI agents get all open workplace maintenance management cases. The Workplace Planned Maint Nightly Run scheduled job runs on a daily or hourly basis to create maintenance cases. Each workplace maintenance case represents a cleaning or a maintenance case on a location for a certain time interval, also known as schedule (on a daily or hourly basis). The Optimize cleaning activities agentic AI workflow retrieves space utilization threshold for each workplace maintenance cases.  
Note:  
Optimize Cleaning Activities Agentic workflow optimizes a space at the floor level for a selected building. It only optimizes non-reservable spaces like restrooms and so on.  
For more information about how to create maintenance management plan records, see [Create and publish maintenance plans](https://www.servicenow.com/docs/q1uY81jrozvbQPeA743IoA "Create a maintenance plan for workplace assets and locations. Associate multiple services to different plan records based on the type of workplace maintenance activity.").

* The Optimize cleaning activities agentic AI workflow is triggered when the Optimize cleaning activities scheduled job is executed. The Optimize cleaning activities AI agent optimizes a maintenance plan record and gets space utilization data using the following Workplace Maintenance Management properties.

  For more information, see [Components installed with Workplace Maintenance Management](https://www.servicenow.com/docs/GxnOhHHbbbi7hkddO3ihWQ "Different roles and components or tables are available with the installation of Workplace Maintenance Management.")
  * The sn_wsd_maintenance.optimise_plans property helps in optimizing a maintenance plan for a selected floor. To optimize a maintenance plan, workplace maintenance managers should copy the sys_id from the maintenance plan URL. For example, \<https://\<instance_name\>.service-now.com/now/workplace-management/maintenance-plan/ 59e13dbc3b27ee5090fd390f23e45a68. You can also copy the sys_id of a maintenance plan record by navigating to the Additional actions icon (![Additional actions icon]()) and select Copy sys_id.

    Here, 59e13dbc3b27ee5090fd390f23e45a68 is the sys_id of a maintenance plan record.  
    Note:  
    Workplace Maintenance managers should manually copy the sys_id of a maintenance plan record. This is a required step to optimize cleaning activities on a floor in a building. The AI agents perform space optimization on the floor of a selected building.
  * After manually copying the maintenance plan sys_id, run the Optimize cleaning activities scheduled job. This schedule job triggers the agentic AI workflow for optimizing cleaning activities on a floor of a selected building. The space optimization for location is done in the UTC time zone.
  * The Case Aggregator AI Agent fetches all open maintenance cases based on the maintenance plan Id. It fetches cases that are either in Draft, Ready, or Awaiting Approval state in the system for about 48 hours (two days).
  {#optimise-cleaning-agent-overview__ul_tdf_wnz_kgc}
* Utilization rate AI agent takes a list of available maintenance cases and calculates the utilization rate for each case. The utilization rate calculator calculates the utilization threshold for a floor in a building. The utilization rate calculator calculates the space optimization. It considers the available reservations and visitor registration for a selected floor in a building.
* (Optional) Workplace Maintenance Managers can navigate to the context menu in an instance and enter sn_aia_execution_plan.list in the Filter search box to open the Execution Plans table. This table showcases workplace agentic AI workflow execution status. Review the maintenance cases that are executed by the Optimize cleaning activities agentic AI workflow.
  * Select an optimized cleaning activity agentic workflow.
  * Select the Tools Execution tab to review the execution tools and execution status.
  * A tag is added to the maintenance case after it's optimized for the first time.The tag is added as an identifier to showcase that a selected maintenance case is processed for space optimization. It isn't picked up again
    by the agentic AI workflow for processing. When a case is updated and processed again, the sys_id of existing tags and the case is not tagged again. The sys_id of the tag is used to identify processed maintenance cases from
    the non-processed maintenance cases.

  {#optimise-cleaning-agent-overview__ul_zm2_cqz_kgc}
* The Case optimizer AI agent analyzes cases grouped by location, schedule type, and date to optimize resource utilization. It confirms that maintenance cases stay within the defined utilization thresholds by creating new cases when the utilization rate is too high and deactivating underutilized cases.
  * Retrieves the utilization thresholds.
  * The sn_wsd_maintenance.optmise_cleaning_min_utilisation_threshold property analyzes the minimum space utilization threshold. The default value is 40. If the utilization for a workplace maintenance case is lower than this range, it's deactivated. It's deactivated when it meets all the deactivation criteria.  
    Note:  
    For example, if a floor has only 1 reservation for a day, then, only 10% of space is optimized for a selected floor. This range falls under the minimum threshold utilization range of 40. The maintenance case in this case is deactivated. The deactivation of a maintenance case also depends on the interval time of a scheduled job. For example, if the schedule job is scheduled to run daily, the maintenance cases that are showing low space optimization are removed or deactivated by the agentic AI workflow. However, if a scheduled job is scheduled to run on an hourly basis, all maintenance cases showing minimum threshold value are removed or deactivated except one. The system retains one underutilized maintenance case before deactivating all other maintenance cases that are scheduled to run on an hourly basis. When cases get deactivated, the status changes to Closed complete in the Workplace Maintenance cases table.
  * The sn_wsd_maintenance.optmise_cleaning_max_utilisation_threshold property analyzes the maximum utilization threshold for a maintenance case. The default value is 80. If the utilization for a workplace maintenance plan case falls within this range or is higher, the Optimize Cleaning Activities agentic AI workflow adds a new maintenance case. This ensures optimized cleaning activities are handled efficiently.
  {#optimise-cleaning-agent-overview__ul_gcx_mqz_kgc}
{#optimise-cleaning-agent-overview__ul_wcr_rmz_kgc}
1. [Optimize cleaning activities agentic workflow](https://www.servicenow.com/docs/pn_Ov4MqGAWhPXAAuTu6Xw)  
   This team of workplace agents can find open maintenance cases and optimize it for workplace maintenance activities. These agents can optimize a maintenance case based on the utilization rate of a location for which a maintenance case is created.

**Related concepts**   

* [Manage temporary space closures agentic workflow](https://www.servicenow.com/docs/DOZ78UsUGmNvuouKCKRzDQ "This team of AI agents temporarily block a location when there’s an emergency workplace maintenance case is submitted.")
* [Help manage workplace reservations agentic workflow](https://www.servicenow.com/docs/oiTdGoOZFGc~J607KRoxAA "The Help manage workplace reservations agentic AI workflow enables Workplace Event Planners with rescheduling a planned reservation. AI Agents gather relevant information from a workplace reservation and update an existing planned reservation with a new date, time, and duration.")
* [Automate map updates agentic workflow](https://www.servicenow.com/docs/BFO5snY7oqU7lr~YUWNq4A "This AI agent helps map admins configure the map during bulk updates to Indoor Mapping.")
* [Workplace Concierge agentic workflow](https://www.servicenow.com/docs/tqFT0B4T2DdD708zZnJc4A "Use the Workplace Concierge agentic workflow to register visitors from existing communication tools like emails, calendars, or the Virtual Agent.")
* [Process image to record agent for workplace case creation](https://www.servicenow.com/docs/jJlrWsxBuY2mMrBuneiwRg "The Process image for new tasks workflow enables workplace users to report workplace issues by capturing and uploading images through the virtual agent interface. The system automatically analyzes the image and creates a workplace case with populated fields including short description, description, and priority.")
* [Implement Autonomous L1 Agent for Workplace](https://www.servicenow.com/docs/xSi18pUFJ0tJBJqdX08Z7g "Use the Autonomous L1 Agent for Workplace agent that automatically resolves frequently asked General Inquiry workplace cases without requiring manual agent intervention.")

