Sync Workday work schedule calendar to MySQL

Recipe ToolsDatabaseMarketing

What it does

When a call arrives for the work schedule calendar sync, this automation retrieves the latest counter from MySQL and inserts a batch of work schedule records. The response confirms whether the sync succeeded or encountered an error.

Who it's for

HR teams who need to keep Workday work schedules synchronized with their database without manual updates.

How teams use this

Sync schedules on a regular cadence

Run this automation daily or weekly so Workday work schedules stay current in MySQL without someone manually exporting and importing data each time.

Route synced records to payroll

Add a payroll system connection and field mapping so hours and shifts flow automatically from Workday into compensation calculations after the sync completes.

Track sync health on a dashboard

Set up logging and dashboard configuration to track whether Workday and MySQL stay in agreement and spot any batches that fail to sync.

How it works

  1. Receive the sync request. A call arrives to start the Add workday_work_schedule_calendar sync in real time through Workato Service.
  2. Get the latest counter. Query the get_latest_wscid_counter table in MySQL to retrieve the most recent batch identifier and starting point for the sync.
  3. Insert work schedule records. Insert the batch of work schedule calendar rows into the workday_work_schedule_calendar table in MySQL to update the records.
  4. Return the sync result. Send back the response from Workato Service confirming the sync completed, or report any error that stopped the process.