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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Mobile Application Offline mode - lock other booking status when one booking is in progress

(0) ShareShare
ReportReport
Posted on by 125

Hello,

We were challenged by the customer, about preventing, in offline mode, the capacity for the technician, to change multiple bookings status into "In progress" at the same time.

One idea was, when a technician changes the status to "In progress" in one booking, the other ones, that are assigned to him, should lock the field booking status.

Could you help us figure out the best approach for this, in offline mode?

Much appreciated.

I have the same question (0)
  • Suggested answer
    John Holmes Profile Picture
    260 on at

    I had the same issue - this is what I did.

    You need to create a Variable, Count of Bookings where the status is any of the open ones, in my instance that was Travelling, and In progress then check if the count is zero, if it is then show the Status field and the user can update that booking if greater than 0 then hide the status field therefore not allowing the user to update the status of any other booking.

    Screenshot-2020_2D00_01_2D00_30-at-08.26.02.png

  • evct Profile Picture
    125 on at

    Hello John,

    Great suggestion. I did that and it work in online mode, but not in offline.

    In offline the onload rule seems to not be taken into consideration.

    Does it work in offline mode in your side?

    Thanks.

  • John Holmes Profile Picture
    260 on at

    yes - we only use offline mode.  Are there other rules On Load?  You need that one at the top as they run in order

  • evct Profile Picture
    125 on at

    there is no other rules:

    3056.Screenshot_5F00_2.jpg

    How does it decrement the countbookings back to 0? I am not aware how the loadaggregate works.

    Thanks.

  • Thomas David Dayman Profile Picture
    11,323 on at

    Loadaggregate is a function which allows you to construct a query and retrieve back a count of how many records it returned

    Maybe it doesnt work offline because of your Bookable Resource Booking Sync filter? Can you check what bookings your a returning when you are in offline?

  • Al Iggs Profile Picture
    Microsoft Employee on at

    I just tried it in online and offline mode and get back the same correct result.

    pastedimage1580389626282v1.png

    The first fetch:

    pastedimage1580389683191v2.png

    And this is the aggregate fetch:

    pastedimage1580389766812v3.png

    If I update a booking status in offline mode and save, the value is correctly updated.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
KristineRisberg Profile Picture

KristineRisberg 37

#2
11manish Profile Picture

11manish 35

#3
Manoj - ManoVerse Profile Picture

Manoj - ManoVerse 21 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans