Optimize cleaning activities agent overview
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.
Nota:
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.
- 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.
Nota: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.Nota: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.