Unable to reschedule using WFM API

Tried to do rescheduling using the endpoint /api/v2/workforcemanagement/businessunits/{businessUnitId}/weeks/{weekId}/schedules/{scheduleId}/reschedule and got a response as per below:
{
"status": "Processing",
"operationId": "32-char-id"
}

How can I get the processing completion notified? I have tried to use notification channel but could not find anything back. How can I try to get the updated result?

1 Like

The rescheduling run sends a notification when complete. The overall process bears some similarity to updating a schedule, including subscribing to be notified when the rescheduling run completes. In general the steps are:

  1. Subscribe to the notification topic described in the "updating a schedule" link above.
  2. Run your reschedule operation
  3. Wait for the completion notification
    • In case of a missed notification, you can also fetch the run status from this api resource
  4. Once the reschedule run is complete, fetch the result from this api resource
  5. Follow the process to update the schedule (same as linked above), copying over the suggested changes from the reschedule run as desired
  6. Once you're happy with the changes to your schedule, or if you want to discard the rescheduling run without making changes, use this route to apply the reschedule run .

It's worth noting that a rescheduling run must be "applied" (step 6, above) before it is possible to run another reschedule request on the same business unit.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.