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

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Employee Service Management

ft:clusterId :

    - emplsm

bundleId :

    - emplsm

workflow :

    - Employee


---

# Optimize cleaning activities agentic workflow

# Optimize cleaning activities agentic workflow {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 5 min. de leitura

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.

## Optimize cleaning activities agentic workflow overview {#optimize-cleaning-activities-agent__section_fx5_5cp_jgc}

This AI agentic workflow enables Workplace teams to schedule and manage cleaning and other maintenance schedules based on space utilization and optimization. This agentic AI retrieves employee reservation data and visitor registration
planned for a specific office location and date. It checks the minimum and maximum space utilization threshold to see if cleaning requests are required. It deactivates the cases when a location shows a minimum utilization threshold
value (below 40). The agents optimize the cleaning schedule based on how workplace employees plan to use a space or location. It checks space wastage to provide the optimum workplace experience to employees. For more information, see [Optimize cleaning activities agent overview](https://www.servicenow.com/docs/~uA_2xZv9CpA5146Pm9ujg "The Optimize cleaning activities agent performs cleaning activities on a workplace location based on the space utilization threshold data.").

## AI agents used in optimize cleaning activities workflow {#optimize-cleaning-activities-agent__section_zm1_ycp_jgc}

Navigate to AllAI Agent StudioOverview. Select Optimize cleaning activities from the list of available agentic AI workflows. The team of agents optimize a location based on the space utilization threshold. This team of agents fetch open maintenance cases and optimize it based on the utilization threshold rate. The optimization is done on the floor of a selected building autonomously by the agents and it doesn't require any approvals needed from a workplace user.  
Nota:  
Workplace Maintenance Managers (sn_wsd_maintenance.manager) and Workplace Maintenance Administrators (sn_wsd_maintenance.admin) can configure this agentic AI workflow.  
{#optimize-cleaning-activities-agent__table_cgv_crg_x2c__entry__2}

| AI agent Name | Description |
|-|-|
| Case aggregator AI agent | This agent fetches all the open maintenance cases based on the maintenance plan ID. Each workplace maintenance case represents a cleaning or a maintenance case for a location for a scheduled interval. The optimization is done on a floor of a selected building. It fetches all the maintenance plan records that satisfy certain criteria. For example, it fetches a set of maintenance plans, and looks for cases that are open for the next 48 hours. The state of the cases should be in Draft, Ready, or Awaiting for approval. For more information, see [Create and publish maintenance plans](https://www.servicenow.com/docs/twGTu3IgrzC2vpS51z80Qg "Create a maintenance plan for workplace assets and locations. Associate multiple services to different plan records based on the type of workplace maintenance activity."). This agent also considers workplace reservations on a floor. If a case is opened for washroom maintenance, the agent identifies the floor on which the washroom is located. It also considers the number of workplace reservations, visitor registrations, and permanent seat assignments before retrieving the space optimization threshold value. |
| Utilization rate AI agent | This agent can take a list of available maintenance cases to calculate the utilization rate for each case. This utilization rate is used to optimize the cases. It uses the Utilization rate calculator to calculate the utilization rate. |
| Case Optimizer AI agent | The Case Utilization Optimizer analyzes cases grouped by location, schedule type, and date to optimize resource utilization. It confirms cases stay within defined utilization thresholds by creating cases when utilization is too high and deactivating underutilized cases. |
[Tabela 1. Optimize Cleaning activities AI agents]

{#optimize-cleaning-activities-agent__table_cgv_crg_x2c}

## Case Optimizer AI Agent {#optimize-cleaning-activities-agent__section_trt_k2p_jgc}

The Case Optimizer AI Agent analyzes cases grouped by location, schedule type, and date to optimize resource utilization. It verifies that maintenance cases stay within the defined utilization thresholds. It creates maintenance cases
when the utilization threshold is too high. When the utilization threshold is low, it deactivates the maintenance cases for underutilized floors. While deactivating a maintenance case, this agent ensures minimum case availability for
each maintenance schedule group. It retains at least one maintenance case before deactivating all underutilized maintenance cases. The output from the Utilization rate AI agent is given as input to this agent for space optimization.  
This team of AI agents use the following tools:{#optimize-cleaning-activities-agent__table_nfc_s3p_jgc__entry__4}

| Name | Description | Execution mode | Display output |
|-|-|-|-|
| Get utilization thresholds | This tool returns the utilization thresholds configured in the system at the floor level of a selected building. Output is shown as max_utilization and min_utilization values. | Autonomous | true |
| Group cases | This tool can take a list of cases as input and group them by location, date, and the schedule type. The output of Utilization rate AI agent is given as input to this tool. For input, list of cases and each case should be of this structure { 'case_number': Case number, 'case_scheduled_on': When is the case supposed to be executed, 'case_schedule_type' :Type of the schedule, 'utilizationRate': Utilization rate of the case}. | Autonomous | true |
| Create tag | This tool creates a tag on a maintenance plan. The tags are used to identify already processed maintenance cases. The sys_id of the tag is used to identify processed maintenance cases. | Autonomous | true |
| Analyze each group | This tool takes the group as input and analyzes all the cases in that group. A group is an object with the following properties: Group: { 'location': Location for which the cases were raised. 'date': Date for which the cases were raised. It is in the format YYYY-MM-DD. 'schedule_type': Type of schedule 'cases' -An array, which contains the list of cases in that group }. This tool analyzes the cases in a group to optimize based on the utilization threshold rate. The second input for this tool is the tag sys_id. The third input for this tool is the utilization threshold { 'max_utilization' - Maximum utilization threshold, 'min_utilization' - Minimum utilization threshold}. | Autonomous | true |
[Tabela 2. Tools and information-Case Optimizer AI agent]

{#optimize-cleaning-activities-agent__table_nfc_s3p_jgc}

## Case Aggregator AI Agent {#optimize-cleaning-activities-agent__section_pfc_dfp_jgc}

This agent gets all open maintenance cases based on the maintenance plan Id. Each workplace maintenance case represents a cleaning or a maintenance case on a location for a certain time interval, also known as schedule. This agent
fetches the open maintenance cases (maintenance plan record IDs) in the maintenance management system.
{#optimize-cleaning-activities-agent__table_dbn_fjp_jgc__entry__4}

| Name | Description | Execution mode | Display output |
|-|-|-|-|
| Get all open maintenance cases | This tool can fetch all the open maintenance cases in the maintenance management system. This tool takes an input as the plan_record_id, which is the target record Id passed to the workflow. | Autonomous | true |
[Tabela 3. Add tools and information-Case Aggregator AI agent]

{#optimize-cleaning-activities-agent__table_dbn_fjp_jgc}

## Utilization rate AI Agent {#optimize-cleaning-activities-agent__section_usy_ljp_jgc}

This agent can take a list of maintenance cases available and calculate the utilization rate of each case. This utilization rate is used to optimize the cases. This agent takes a list of maintenance cases as input and calculates the
utilization rate for locations for a given schedule.
{#optimize-cleaning-activities-agent__table_vsy_ljp_jgc__entry__4}

| Name | Description | Execution mode | Display output |
|-|-|-|-|
| Utilization rate calculator | This tool takes in a list of maintenance cases as input and then calculates the utilization rates for locations associated with each case for the given time slot. The input is a list of objects and each object would be in the following format: \[{'case_number': Case number 1}, {'case_number': case 2},... \]. | Autonomous | true |
[Tabela 4. Add tools and information-Utilization rate AI agent]

{#optimize-cleaning-activities-agent__table_vsy_ljp_jgc}
**Tópico anterior:** [Optimize cleaning activities agent overview](https://www.servicenow.com/docs/~uA_2xZv9CpA5146Pm9ujg "The Optimize cleaning activities agent performs cleaning activities on a workplace location based on the space utilization threshold data.")  
**Próximo tópico:** [Automate map updates agentic workflow](https://www.servicenow.com/docs/YIY7YetOc9n15izs4ogQZg "This AI agent helps map admins configure the map during bulk updates to Indoor Mapping.")

