web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Field Service forum / RSO - Optimization sch...
Field Service forum

RSO - Optimization schedule fails

(0) ShareShare
ReportReport
Posted on by 75

Hi everybody,

I am new to this community, but hope that somebody can help me.

We recently added the Resource Scheduling Optimization (RSO) Add-on to our Dynamics System. We have installed the solution and initially configured following the Microsoft instructions:

https://docs.microsoft.com/de-de/dynamics365/customer-engagement/field-service/rso-configuration

When running the optimization schedule it failed with folloing error description:

„System failed to modify, delete or create some booking records. Please check the ‘Operation Details’ in the ‘Bookings’ tab, correct error(s) as needed.“

The booking details operation details states:

„Booking Status selected is invalid for 'Work Order' booking.“

 

To resolve the problem we have already tried to deactive all workflows which might create bookings and might intervene with RSO.

In a second step we have delete all pre-existing bookings which changed the error description in the booking details but let the scheduling request fail anyway.

„The start time can't be later than the actual arrival time. “

 

We can’t figure out, how resolve this problem…

Does anybody have hint about what could cause this problem?

Does RSO create bookings for bookable resources when running an schedule optimization?

 

We are using Dynamics 365 Version 1710 (9.1.0.1847) online

Thanks in advance!

Richard

Categories:
I have the same question (0)
  • Suggested answer
    Fannie30 Profile Picture
    2,990 Moderator on at

    Hi Richard -

    See if any of this is helpful:

    An optimization request failed with the message “System failed to modify some bookings.” How should I handle this?

    Sometimes you see this message for the following scenarios:

    If you manually update the same bookings in the middle of an RSO run, RSO will not overwrite the changes and will fail the request.

    If you have a workflow/plug-in updating the same bookings during an RSO run, RSO will not overwrite the changes your other system logic did and will fail the request.

    If you have multiple RSO schedules that share the same resources and run at the same time, RSO might show this message. To better understand the situation and further troubleshoot, check the following:

    Scroll through the optimization request booking grid and inspect the operation details column for each individual requirement and booking.

    Do you have multiple schedules that share the same resources, requirements, and bookings running at the same time?  

    If you have only one schedule, is there any other user or workflow trying to update a booking during the run?

  • Richard_S Profile Picture
    75 on at

    Hi Scott,

    thanks for your reply. Unfortunately we hav already tried all of these options.

    We are not manually interfering with the RSO

    We have deactivated all the workflows which might create/change bookings. No Plug-ins have been created in RSO yet.

    We only have 1 Schedule, so that can't cause the problem either.

    Are there any other things you can think off?

    Thanks!

    Richard

  • Verified answer
    Al Iggs Profile Picture
    Microsoft Employee on at

    Hi Richard, I ran into the same issue, we are already tracking the bug.

    You need a booking status of "Simulation - RSO" with FS status="Canceled", that's the initial status of bookings created by RSO.

    If the booking status is read-only, use the "old" web form: Open the web client (Advanced Settings button in UCI) and launch Advanced Find from there. Query the Booking Status entity.

    The booking status "Simulation - RSO" cannot be manually created. If it doesn't exist, try re-deploying RSO to your instance.

    Out of curiosity - are you implenting RSO as a customer or as an integrator? Feel free to send me a direct message.

  • Richard_S Profile Picture
    75 on at

    Hi Alexander,

    thanks for your advice! The booking status "Simulation -RSO" does exist. I have tried to set the FS Staus to "cancelled" which resulted in the following error:

    Might it help if I deleted the Optimization schedule in order to change the FS status?

    We are setting up RSO as a proof of concept.

    Thanks!

    Richard

  • Richard_S Profile Picture
    75 on at

    Apparently the screenshot of the error message wasn't included in my previous post. So here is the text:

    "Business Process Error

    You can't set the field service status to canceled if the status isn't canceled.

    Field Service Status can't be changed. Record is already used on Resource Bookings

    If you contact support, please provide the technical details."

  • Al Iggs Profile Picture
    Microsoft Employee on at

    Let's fix the 2nd part first. Can you delete all bookings that have the aforementioned status? Then try updating the booking status again. It should work, maybe the error is just mis-leading.

  • Richard_S Profile Picture
    75 on at

    Yes I have deleted all resource bookings with booking status " Simulation-RSO" and tried again. But same error so far...

  • Al Iggs Profile Picture
    Microsoft Employee on at

    Have you tried re-ploying RSO? If that doesn't help, can you attach screenshots of the booking status administration (General tab and Field Service tab) or send me an email (alheinz@microsoft.com)?

  • Verified answer
    Richard_S Profile Picture
    75 on at

    Hi Alexander,

    somehow I fixed the problem! I went through the whole MS configuration description again. Apparently it was the Scheduling Method of the "Simulation - RSO" booking status which was set to "Optimize" instead of "Ignore". Anyways, after changing this setting, the Optimization schedule finished with stautus completed and created resource bookings for my unscheduled workorders. :)

    Thanks a lot for your help!

    Richard

  • Al Iggs Profile Picture
    Microsoft Employee on at

    Thanks for the feedback, Richard! Can you mark the response as a solution for the benefit of the community?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Field Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans