Optimize cleaning activities agent overview
Summarize
Summary of Optimize Cleaning Activities Agent Overview
The Optimize Cleaning Activities Agent is an AI-driven workflow in ServiceNow that enhances workplace maintenance by optimizing cleaning activities based on space utilization thresholds. It focuses on non-reservable spaces within a building’s floor, such as restrooms, to efficiently manage cleaning schedules and maintenance cases.
Show less
This AI agent works with maintenance cases generated by the Workplace Planned Maint Nightly Run scheduled job, which creates cases for specific locations and time intervals (daily or hourly). The agent analyzes these cases using space utilization data to optimize cleaning activities on a floor level.
Key Features
- Maintenance Plan Optimization: The agent optimizes maintenance plans for selected floors by using the
snwsdmaintenance.optimiseplansproperty and requires manual input of the maintenance plan’ssysidto trigger the optimization process. - AI Agents Collaboration: Various AI agents work together:
- Case Aggregator AI Agent: Fetches all open maintenance cases (Draft, Ready, Awaiting Approval) for about 48 hours based on the maintenance plan ID.
- Utilization Rate AI Agent: Calculates utilization rates for each maintenance case considering reservations and visitor registrations.
- Case Optimizer AI Agent: Analyzes cases by location, schedule, and date to ensure cases meet utilization thresholds by creating new cases or deactivating underutilized ones.
- Utilization Thresholds: Configurable properties control optimization behavior:
snwsdmaintenance.optmisecleaningminutilisationthreshold(default 40): Deactivates cases below this utilization rate.snwsdmaintenance.optmisecleaningmaxutilisationthreshold(default 80): Creates new maintenance cases when utilization meets or exceeds this threshold to efficiently handle cleaning activities.
- Tagging Mechanism: Maintenance cases are tagged once optimized to prevent re-processing, with the tag’s
sysidused to track processed cases. - Scheduling and Time Zone: The optimization runs via a scheduled job (daily or hourly) in UTC time zone, adjusting case status and handling based on scheduling frequency.
- Execution Monitoring: Workplace Maintenance Managers can review AI workflow execution status in the Execution Plans table using the instance’s context menu.
Practical Application and Benefits
ServiceNow customers using Workplace Maintenance Management can leverage this agentic AI workflow to:
- Automatically optimize cleaning schedules based on actual space utilization, improving resource allocation.
- Reduce unnecessary cleaning activities by deactivating underutilized maintenance cases.
- Ensure high-utilization areas are serviced effectively by creating new maintenance cases as needed.
- Gain visibility into workflow execution and maintenance case processing through tagging and monitoring tools.
- Customize thresholds to align with organizational cleaning standards and operational needs.
To activate optimization, managers must manually copy and input the maintenance plan sysid and run the Optimize Cleaning Activities scheduled job, which triggers the AI workflow to process and optimize cleaning activities for selected floors.
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.