Sync Workday schedule calendar details to MySQL
Recipe ToolsDatabaseMarketing
What it does
When someone calls this automation, it retrieves the latest work schedule ID counter from MySQL. It then inserts a batch of Workday schedule calendar details into MySQL and returns the result to the caller.
Who it's for
Data and analytics teams who need to keep Workday schedule data synchronized with MySQL.
Apps used
How teams use this
Sync Workday schedules on demand
Call this automation whenever schedule data needs to be refreshed in MySQL without manual intervention. The batch insert keeps the warehouse current with Workday changes.
Monitor sync errors without retry
When an error occurs during the insert, the automation stops and returns the error to the caller instead of retrying. This prevents duplicate records and lets the team investigate the root cause.
Extend syncs to include additional fields
Add more columns to the workday_work_schedule_calendar_details table and update the insert step to include those fields. The automation will sync the expanded dataset on the next call.
How it works
- Receive a call to sync details. Someone calls this automation in real time to sync Workday work schedule calendar details into the data warehouse.
- Get the latest schedule ID. Select rows from the get_latest_wscid_counter table in MySQL to determine which records to sync next.
- Insert schedule details in batch. Insert the batch of Workday schedule calendar details into the workday_work_schedule_calendar_details table in MySQL.
- Return the sync result. Send a response back to the caller with the outcome. If an error occurs, the automation does not retry and returns the error message.