> For the complete documentation index, see [llms.txt](https://kb.theloops.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kb.theloops.io/agentstudio/skills-library/field-service-and-workforce-scheduling/recommend-task-scheduling-window.md). Agents can also search and read this documentation through its [MCP server](https://kb.theloops.io/~gitbook/mcp).

# Recommend Task Scheduling Window

Read-only: loads schedule assistance constraints, dataset horizon, matching resources, shifts, and capacity checks to recommend scheduling windows for one unallocated task.

| Business area                          | Action type |
| -------------------------------------- | ----------- |
| Field Service and Workforce Scheduling | Read-only   |

## Overview

From the Dispatch Console, "Schedule Assistance" (DispatchConsolePage\_ScheduleAssistanceCommand, the @Overtake command ScheduleAssistanceCommand in svcsch/model/svcsch/SvcschDispConsole.fragment) opens the Activity Schedule Assistance page for the dataset (ActivityScheduleAssistancePage, projection SvcschActivityScheduleAssistanceHandling). For a selected task the page lists matching resources (GetFilteredResources, filtered by skills, certificates, competencies, resource groups and regions), shows their shifts and allocations on a Gantt (SchedAssistShiftsQuery, ActCentricTaskAllocationsQuery) within the dataset time range (GetTimeRange), and lets the dispatcher drag the task onto a resource.

Reads SvcschActivityScheduleAssistanceHandling for window recommendations.

## How it works

{% stepper %}
{% step %}
Get Task Scheduling Constraints.
{% endstep %}

{% step %}
Get Dataset Scheduling Window.
{% endstep %}

{% step %}
Find Matching Resources.
{% endstep %}

{% step %}
Get Resource Availability.
{% endstep %}

{% step %}
Check Capacity For Window on best gaps.
{% endstep %}
{% endstepper %}

## Key capabilities

* Read one task demand line with all time, SLA, appointment and dependency constraints for a dataset.
* Respect fixed starts and booked appointments (only that window is valid).
* Read the dataset scheduling horizon.
* Get qualified resources with configurable skill/certificate/competency/group/region matching.
* Read resource shifts, breaks and existing allocations inside the horizon.
* Compute free gaps of at least the task duration that satisfy earliest start, latest finish and SLA end.
* Check that resource capacity exists for a proposed window.
* Rank up to five windows by SLA margin, start time and utilization, with clear blockers when none fit.

## Requirements

The following IFS Cloud components and projections must be available, with permission sets that grant access to each projection.

| Component                             | Projection                               |
| ------------------------------------- | ---------------------------------------- |
| SVCSCH (ACTIVITY SCHEDULE ASSISTANCE) | SvcschActivityScheduleAssistanceHandling |

## Version compatibility

| Projection                               | Supported IFS Cloud releases |
| ---------------------------------------- | ---------------------------- |
| SvcschActivityScheduleAssistanceHandling | 25R2, 26R1, 26R2             |

## Known limitations

* Read-only: does not create, update, or delete IFS Cloud data.
