Could use a hand troubleshooting this persistent issue with our weekly schedule publishing workflow. We are operating in the America/Chicago timezone and handle a moderate volume of agents, roughly 150-200 per org. Recently, the POST /api/v2/wfm/schedules/publish endpoint has been exhibiting significant latency, often timing out after 60 seconds for larger shifts.
This delay is not just an inconvenience; it is causing a cascade effect on our real-time analytics. The schedule data does not sync with the reporting engine until the publish completes, leading to a 15-20 minute gap where adherence metrics are calculated against stale schedule data. This results in false adherence violations for agents who are actually working their assigned shifts.
We have verified that the API tokens are valid and have sufficient scope. The issue seems to correlate with the complexity of the shift patterns, particularly when shift swaps are involved. We are using the latest Genesys Cloud WFM API documentation. Has anyone found a way to optimize the publish payload or adjust the retry logic to prevent these reporting discrepancies?
Is there a recommended best practice for handling large-scale schedule publishes to ensure real-time analytics remain accurate during the publish window?