---
schema_version: "1"
id: d74874457e5b484f70468fc6621060be4b01c954cc0bd6add1862e6c700faa39
title: Working with Workforce Scheduling Interactions
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/service/264-0-0/wfs_manage_interactions_work_with.md
canonical_url: https://help.salesforce.com/s/articleView?id=service.wfs_manage_interactions_work_with.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 7a466406f211440f0b1489df20683571108848c3474544bee730ca8af3b3c31a
description: Create an Interaction to schedule when customers arrive at one of your branches. Workforce Scheduling actions schedule Interactions through their underlying Service Appointments according to the scheduling policy. The scheduling policy combines work rules and service objectives to determine eligible resources and time slots. You can reschedule or cancel an Interaction.
products:
  - Public Sector
  - Service Cloud
release: "264"
---
# Working with Workforce Scheduling Interactions

Create an Interaction to schedule when customers arrive at one of your branches. Workforce Scheduling actions schedule Interactions through their underlying Service Appointments according to the scheduling policy. The scheduling policy combines work rules and service objectives to determine eligible resources and time slots. You can reschedule or cancel an Interaction.

### 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> and <strong>Unlimited</strong> Editions</td></tr></tbody></table>

## How Workforce Scheduling Schedules On-Site Interactions

Interactions represent on-site work. Scheduling or rescheduling an Interaction creates or updates the underlying Service Appointment. The scheduling engine acts on the underlying records, not on the Interaction itself, using [object mapping](https://help.salesforce.com/s/articleView?id=service.wfs_manage_interactions_mapping.htm&release=264.0.0&type=5 "Every Interaction in Workforce Scheduling has an underlying Service Appointment that the scheduling engine reads and writes. When you create an Interaction, Workforce Scheduling creates the underlying record automatically. Users see and act on the Interaction; the scheduling engine acts on the Service Appointment. Interaction fields are mapped to Service Appointment fields so that these records stay in sync."). Workforce Scheduling uses a unified scheduling flow and a backend [Context Service](https://help.salesforce.com/s/articleView?id=service.wfs_context_service_use.htm&release=264.0.0&type=5 "Context Service acts as a data layer between Salesforce objects and the scheduling flows that power appointment creation and management.") layer. In the Salesforce platform architecture — specifically within Workforce Scheduling for Agentforce Public Sector — [Context Service](https://help.salesforce.com/s/articleView?id=service.wfs_context_service_use.htm&release=264.0.0&type=5 "Context Service acts as a data layer between Salesforce objects and the scheduling flows that power appointment creation and management.") is a standard backend service designed to act as an intelligent data abstraction and mapping layer.

- **How scheduling is initiated:** A user creates and schedules an Interaction record from the scheduling flow (with the scheduling method set to on-site).
- **The Backend Logic:** When an Interaction is scheduled, Context Service automatically creates and maps a corresponding Service Appointment in the background. Context Service acts as a data layer between Salesforce objects and the scheduling flows that power appointment creation and management. When a user schedules a Service Appointment or an Interaction, the scheduling flow uses a standard context definition to gather the required data, such as work type, engagement channel, location, and scheduled times, from the relevant Salesforce objects. Standard context definitions simplify this process by providing preconfigured mappings between context attributes and Salesforce object fields. Each mapping is designed for a specific scheduling scenario, so the correct data is collected and passed to the scheduling flow automatically.
- **The Result:** Interactions are user-facing, while Service Appointments are engine-facing. Every scheduling action the user triggers on the Interaction runs against the Service Appointment. The scheduling and optimization engine reads the underlying Service Appointment’s fields to schedule the appointment. The engine blocks out the service resource’s calendar and applies the scheduling policy’s work rules. Any changes made to a Service Appointment, such as scheduled time, assigned resource, status, and other scheduling logic, are synced with the Interaction. Dispatchers work with the Interaction tile on the Operations Console, while the scheduling actions run against the Service Appointment in the background.

## Scheduling Actions

The following scheduling actions run against the Service Appointment behind an Interaction.

[Schedule New Appointment or Change Time Slot](https://help.salesforce.com/s/articleView?id=service.wfs_schedule_reshedule_unschedule.htm&release=264.0.0&type=5 "Workforce Scheduling offers multiple ways to assign, adjust, and remove appointments from the Operations Console, record pages, and scheduling flows.")

The scheduling flow returns graded time slots. Users pick a slot. Workforce Scheduling assigns the resource, schedules the Interaction, and updates the Service Appointment’s status.

[Schedule and Reschedule](https://help.salesforce.com/s/articleView?id=service.wfs_schedule_reshedule_unschedule.htm&release=264.0.0&type=5 "Workforce Scheduling offers multiple ways to assign, adjust, and remove appointments from the Operations Console, record pages, and scheduling flows.")

Schedule automatically assigns the highest-graded candidate to the Service Appointment. Reschedule automatically moves the Interaction and the Service Appointment to a new time or resource, subject to the active scheduling policy.

Before you schedule an Interaction, confirm that your org has:

- The Interaction Type defined, with a duration and required skills that match the on-site work the resource performs.
- At least one service territory that covers the Interaction’s address, with resources assigned to it.
- A scheduling policy with work rules and service objectives configured for on-site scheduling.

You can create and schedule an Interaction from a Case or Application Form record. The [scheduling flow](https://help.salesforce.com/s/articleView?id=service.wfs_schedule_onsite_flow.htm&release=264.0.0&type=5 "Manage on-site appointments to address your business needs. Use a scheduling flow to schedule, reschedule, or cancel an on-site appointment where a customer travels to one of your branches.") walks you through selecting a time slot and confirming the Interaction. When creating or managing Interactions, you work with these key fields:

- Interaction Type: Determines the type of work, required skills, duration type, and estimated duration.
- Location: The branch where the Interaction occurs.
- Service Resource: The primary and optional resources assigned to the Interaction.
- Start Time and End Time: The date and time of the Interaction.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-service-workforce_scheduling-264-0-0-production-enus/1eb114f2-bdf8-40c9-98ed-accb880f7906/images/icon_note.png)

Note When you schedule a new appointment, an Interaction is created and scheduled as part of the scheduling flow.

When you schedule an Interaction, you select the scheduling policy that controls how Workforce Scheduling assigns the Interaction to a resource.

- If you create and schedule an Interaction from the scheduling flow, the default policy defined in Setup is used. You can select a different policy in the flow.
- If an Interaction is scheduled automatically from the Gantt with the Schedule action, the scheduling policy is based on the Gantt’s selected policy.
- If scheduling and optimization is done via API, the scheduling policy is an API parameter.

Each scheduling policy combines work rules that determine which resources are eligible with service objectives that rank the best fit. The scheduling engine uses the Interaction’s underlying Service Appointment to balance the load of your service resources.

You can reschedule an Interaction to a different time slot, which can reassign it to a different resource based on availability. You can also cancel an Interaction that’s no longer needed. When you reschedule, Workforce Scheduling updates the underlying service appointment and pushes the new time, resource, and status back to the Interaction. Canceling an Interaction removes the appointment from the Operations Console Gantt and the service appointment list, frees the resource’s time and sets the Interaction’s status to Canceled.

## Use Case for Public Sector: Schedule a Meeting With a Compliance Officer

A business owner wants to meet with a compliance officer at the municipal office to discuss a flagged violation on their food establishment permit. The Interaction needs to be routed to a compliance officer who is both available and familiar with food safety codes — not just the next free desk. If the officer has other appointments, the scheduling system needs to account for both appointments and avoid conflicts across the team.

#### See Also

- [What Are Workforce Scheduling Interactions](https://help.salesforce.com/s/articleView?id=service.wfs_manage_interactions_what.htm&release=264.0.0&type=5 "An Interaction is a record that represents on-site work performed at one of your branches. Workforce Scheduling creates a background Service Appointment for each Interaction.")
- [Create and Manage Scheduling Policies in Workforce Scheduling](https://help.salesforce.com/s/articleView?id=service.wfs_policies_manage.htm&release=264.0.0&type=5 "Scheduling policies combine work rules and service objectives to control which resources and time slots Workforce Scheduling assigns to each appointment. Work rules decide who’s eligible, and service objectives decide who’s the best fit. During scheduling and optimization, the engine applies these criteria against factors like resource skills, travel time, and urgency to make sure the right person is assigned to the right job efficiently.")
- [Context Service](https://help.salesforce.com/s/articleView?id=ind.context_service.htm&type=5&language=en_US)