Configure the TeleStaff Schedule Import Integration
This topic describes how to configure this integration.
TeleStaff is the system of record for schedules and time off (non-working time).
This is an API-based integration pack that imports schedule data from TeleStaff; it contains two integrations that translate schedules to pay:
- Schedule Batch integration imports schedules for multiple employees or multiple dates. Typically, you run this integration weekly or daily to synchronize the systems and time clocks. Use Task Manager in TeleStaff to run the integration on demand or on a schedule.
- Schedule integration imports working time changes to update the timecard, and non-working time changes to update accrual balances, for one employee at a time over short time periods of one calendar day. Imports are completed quickly and in near real-time in response to transactions or events in TeleStaff. These events include shift trades, swaps, time-off, back fill, or extra duty.

- Configure adjustment and combination rules.
- In TeleStaff, configure work codes and categories, employee categories, tag references to schedule and segment tags, schedule and segment tags, no pay segment tag, securities, and access. See Configure TeleStaff for Integrations.
Configure the integration

-
Open the Integration Template Designer: Select Main Menu
> Administration > Application Setup > Integrations Setup > Design Integration Templates. Uwaga: If prompted, enter your Username and Password. Kliknij Dotknij Log in.
- Wybierz kartę Zarządzaj > Zarządzanie atomem.
- Wybierz swoje środowisko.

- In Administration, kliknij dotknij Environment Extensions.
- In Process Filter, kliknij dotknij the magnifying glass
. It can take several seconds before the button becomes active.
- Scroll to and select one of the following integration packs:
- Schedule Batch: TeleStaff Schedule Batch Import > WFTSScheduleImport-Batch-v1
- Schedule: TeleStaff Schedule Import > WFTSScheduleImport-v1
Przestroga :Jeśli wybierzesz Użyj wartości domyślnej w ustawieniach połączenia i właściwościach procesu, upewnij się, że Wartość jest pusta. Jeśli Wartość nie jest pusta, wartość ta uchyla wartość domyślną niezależnie od tego, czy wybrano opcję Użyj domyślnej, czy wyczyszczono ją. Przykład: Jeśli wartość domyślna to abc, ale Wartość pokazuje xyz, integracja wykorzystuje xyz niezależnie od ustawienia Użyj wartości domyślnej.

- Select Process Properties.
Przestroga :Nie edytuj wartości domyślnych Właściwości uwierzytelniania. Domyślnie pliki cookie są włączone i ustawiają wartości właściwości uwierzytelniania.
- (Optional) From the Process Property dropdown list, select WFTSAPIErrorHandlerProperties to define how to handle errors if integration runs exceed the limitations of an API.
MaxRetry: Defines the maximum number of attempts to try again to run integrations if an API limit is exceeded.
Default = 0 (do not try again)
To set the maximum number of retries:
- Clear Use Default.
- From Value, select 1, 2, or 3 times to retry.
InitialTimeToWait: If an API limit is exceeded, this property defines how long to wait before sending the API call again.
Default = 60000 ms (1 minute)
This property sets only the first retry. If the API call has to be sent again, each repetition adds 60,000 ms to the wait time.
Example:
- 1st TimetoWait = 60,000 ms (InitialTimeToWait)
- 2nd TimetoWait = 60,000 ms + 60,000 ms = 120,000 ms
- 3rd TimetoWait = 60,000 ms + (2 * 60,000 ms) = 180,000 ms
To change the initial wait time:
- Clear Use Default.
- Enter the wait time in milliseconds (ms) up to a maximum of 180000 ms.
- From the Process Property dropdown list, select ProcessProperties to set process properties that must be configured before the integration can run. For this integration, these values are defined in TeleStaff and updated when you run the integration.
Przestroga :All of the property values must be the same for both the Schedule Batch and Schedule Import integrations.
Process Properties Property Required Actions FromDate Not required Start date to synchronize the schedule data. FromDate Not required End date to synchronize the schedule data. ThruDate Not required Default = false, synchronize shifts (working time) and paycode edits (non-working time).
PayCodeEditsOnly Not required TeleStaff assigns a Calendar Day to a shift. A shift is paid on the corresponding calendar day even though it can start or end on, before, or after this day.
Default = false
To assign a shift to a calendar day that is before the start day of a shift, set this property to true. This creates a virtual shift segment with a NoPaySegmentTag.
- Clear Use Default.
- Select Value.
Przestroga :This property must be set the same in both the Schedule Batch and Schedule Import integrations.
AdjustToCalendarDay Not required The segment tag for non-working time that is not paid.
To use a different tag:
- Clear Use Default.
- In Value, enter the name of the TSG No Pay segment tag. To create the tag, see Configure Dimensions for TeleStaff Integrations > Configure a Dimensions tag.
NoPaySegmentTag Not required Default = false
To merge multiple adjacent shifts into one shift:
- Clear Use Default.
- Select Value.
Przestroga :This property must be set the same in both the Schedule Batch and Schedule Import integrations.
MergeAdjacentShifts Not required Default = 0
The virtual shift segment starts from the day divide minus 1 hour on the calendar day of the shift until the start date and time of the shift.
AdjustToCalendarDay must be set to true.
To change the start time of the virtual shift segment:
- Clear Use Default.
- In Value, enter a positive number of hours.
DayDivide Not required Default = 1
Expected number of day divides that a shift could cross.
To set more than one day divide:
- Clear Use Default.
- In Value, enter a whole number of day divides.
ExtraDaysBeyondPeriod
Not required The start date of the active time window (ATW) in TeleStaff.
- No default value is assigned to this property.
- You do not define the value of this property because it is imported.
AtwFromDate Not required The end or through date of the active time window in TeleStaff.
- No default value is assigned to this property.
- You do not define the value of this property because it is imported.
SupportVirtualPayCodeEdits Not required You can configure the system to export virtual work codes in a schedule as paycodes. However, this configuration is not recommended because the resulting output contains duplicate paycodes.
Example: Work codes are mapped to a paycode and the work codes are used in a shift assignment. Then, the schedule has duplicate paycodes.
Uwaga: Best practice: Instead, use shift segments with work-rule transfers. But if your system is configured with virtual work codes, and reconfiguration is impractical, set the SupportVirtualPayCodeEdits process property to remove the duplicate paycode edit records during schedule synchronization. This setting removes the duplications for the same persons, paycodes, start times, and durations.
Default = false.
To set this property to true, do the following:
- Clear Use Default.
- Select Value.
NumberOfPeoplePerScheduleUpdateCall Not required The maximum number of people records that the schedule batch integration can import in a schedule-update API call.
Default = 100.
To change the maximum number of people:
- Clear Use Default.
- In Value, enter a whole number from 50 to 100 people.
SupportPartialSuccess Not required When the schedule batch integration synchronizes schedules, and one record has errors, the schedule for that person does not synchronize. To prevent this, enable partial success which allows this integration to run with a status of Completed with Errors in the Run Summary.
Default = false.
To enable the partial-success status:
- Clear Use Default.
- In Value, enter true.
Przestroga :This process property interacts with other settings and parameters as follows:
- The Enable Partial Success setting in TeleStaff takes precedence and overrides the SupportPartialSuccess parameter and process property. If Enable Partial Success is not selected, partial success is not enabled.
- In Install TeleStaff Integrations, set the SupportPartialSuccess parameter to true.
- The SupportPartialSuccessprocess property has lowest precedence. You can leave it at the default value of false; but if the Enable Partial Success setting is selected, and the SupportPartialSuccess parameter is true, partial success is enabled.
- Partial success is available only for TeleStaff versions 7.5.2 and later.