Optimize cleaning activities agent overview
Summarize
Summary of Optimize Cleaning Activities Agent Overview
The Optimize Cleaning Activities agent is an AI-driven solution designed to manage and optimize cleaning and maintenance tasks at workplace locations based on space utilization data. It processes open workplace maintenance cases, which represent cleaning or maintenance events scheduled on a daily or hourly basis for specific locations. This optimization primarily targets non-reservable spaces such as restrooms at the floor level within selected buildings.
Show less
How It Works
- The AI workflow is triggered by the Optimize cleaning activities scheduled job, which can run daily or hourly.
- Workplace Maintenance Managers must manually provide the sysid of a maintenance plan record to specify the floor and building to optimize.
- The agent retrieves space utilization thresholds and analyzes maintenance cases in various states (Draft, Ready, Awaiting Approval) from the last 48 hours.
- Utilization rates are calculated considering reservations and visitor registrations to determine if cases should be maintained, added, or deactivated.
- Cases are tagged once optimized to prevent redundant processing.
Key Configuration Properties
- snwsdmaintenance.optimiseplans: Enables optimization of maintenance plans for selected floors.
- snwsdmaintenance.optmisecleaningminutilisationthreshold (default 40): Minimum utilization threshold below which maintenance cases are deactivated.
- snwsdmaintenance.optmisecleaningmaxutilisationthreshold (default 80): Maximum utilization threshold above which new maintenance cases are created to better manage cleaning activities.
Agent Functions and Behavior
- Case Aggregator AI Agent: Fetches open maintenance cases for optimization.
- Utilization Rate AI Agent: Calculates utilization rates for maintenance cases.
- Case Optimizer AI Agent: Groups cases by location and schedule, deactivates underutilized cases, and creates new cases when utilization exceeds thresholds.
- Deactivation changes case status to Closed complete and depends on the scheduling frequency (daily or hourly).
Practical Application for ServiceNow Customers
By leveraging this agent, workplace maintenance managers can efficiently optimize cleaning schedules based on actual space usage, reducing unnecessary cleaning tasks and ensuring resources are allocated where needed. Manual intervention is required to specify maintenance plans, after which the AI workflow automates case adjustments aligned with utilization thresholds. Customers can monitor AI execution via the Execution Plans table to track optimization status and outcomes.
Related Agentic Workflows
- Manage Temporary Space Closures Agentic Workflow
- Help Manage Workplace Reservations Agentic Workflow
- Automate Map Updates Agentic Workflow
The Optimize cleaning activities agent performs cleaning activities on a workplace location based on the space utilization threshold data.
- 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
- 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 (
) 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).
- 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 (
- 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.
- 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 below 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 below 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 than this range, a new maintenance case is added by the Optimize Cleaning Activities agentic AI workflow. A new case is added so that the optimized cleaning activities are handled using a single maintenance case. A new maintenance case can process it efficiently.