---
schema_version: "1"
id: 71caa9648442eca29adc6c5e7cc537c7396f24c2c78b1463826c20f626e9bc38
title: Create the Agent Actions for Handling Service Resource Absences in the Legacy Agentforce Builder
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/fs_agentforce_autonomous_scheduling_resource_absence_actions.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.fs_agentforce_autonomous_scheduling_resource_absence_actions.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6f312fbbaca0f83e686f444b4a9c8596b40829e221cb629a587f41e8e93f07ab
description: Create the agent actions and assign the referenced flows to them.
products:
  - Field Service
release: "264"
---
# Create the Agent Actions for Handling Service Resource Absences in the Legacy Agentforce Builder

Create the agent actions and assign the referenced flows to them.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions with Field Service and Foundations. Also available with <strong>Einstein 1 Field Service</strong> Edition or <strong>Agentforce 1 Field Service</strong> Edition.</td></tr></tbody></table>

## Resource Absence Action

Create an action that creates the resource absence.

1. In Setup, find and select **Agentforce Assets**.
2. From the Actions tab, click **New Agent Action**.
3. For Reference Action Type, select **Flow**.
4. For Reference Action, select the Create Resource Absence flow that you created.
5. For Agent Action Label, enter Create Resource Absence. The API name is automatically populated.
6. For Agent Action Description, enter:
    
    Creates a resource absence and sends a list of service appointments assigned to a given service resource for the current day.
7. For Loading Text, enter Default.
8. Don’t mark the input as required and enter these instructions:
    
    The appointment’s time zone.
9. For the output’s instructions, enter:
    
    The list of service appointments assigned to the service resource.
10. In the output, make sure that **Show in conversation** isn’t selected.
11. Click **Finish**.

## Reschedule Service Appointments Action

Create an action that reschedules the service appointments.

1. In Setup, find and select **Agentforce Assets**.
2. From the Actions tab, click **New Agent Action**.
3. For Reference Action Type, select **Flow**.
4. For Reference Action, select the Reschedule Service Appointments flow that you created.
5. For Agent Action Label, enter Reschedule Service Appointments. The API name is automatically populated.
6. For Agent Action Instructions, enter:
    
    Attempt to reschedule the service resource’s service appointments one at a time.
7. For Loading Text, enter Default.
8. For the input’s instructions, enter:
    
    The service appointment ID passed into the flow.
9. For the output’s instructions, enter:
    
    The service appointment ID returned from the flow.
10. In the output, make sure that **Show in conversation** isn’t selected.
11. Click **Finish**.