Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Applies to: Dynamics 365 Organization 9.0+ with Universal Resource Scheduling 3.8.x version
In the latest Field Service v8.8.x/Universal Resource Scheduling v3.8.x update, we released the Search Resource Availability API for scheduling single requirements. A list of available resources and their time slots can be retrieved by passing the details of a single resource requirement to this API as input. In this blog post, we will walk you through a scenario with an example of how to use this API.
Let’s consider this scenario: You are looking for list of available resources and their time slots for a requirement in which you have specific constraintsFrom and To dates of the requirement, Duration of the requirement, Effort needed for the requirement, Resource Types, Resource Characteristics, Rating, Roles, Territories, Organizational Units, and Resource preferences (preferred and restricted resources).
To be precise, in our example we are looking for available robotics technicians (Resources: Account, Contact, User) for three hours of work over the next three days, who are familiar with assembly maintenance in the Washington Territory and belong to the Organizational Units Seattle OU or Redmond OU.
Here is the list of input parameters used for our resource requirement and the exact values used in our example:
To execute this search against your organization, you can download the sample files here. Once you download the sample folder, follow these steps:
We can see the list of time slots returned for the resources who match the search criteria with time slot types Off, Available, Scheduled returned. Jorge GaultandJoseph Gonsalvesare the two potential resources who can fulfill our Resource Requirement/Work Orderbetween the times of 09:00 to 17:00 hours GMT on June 26th and 27th.
Once these time slots are returned by the API, you could choose to display the available time slots on your custom web portal, app or a canvas app. If the user chooses an available time slot, you could use your custom logic to create a booking.
A few other scenarios that could leverage the API are as follows:
Program Manager, Dynamics 365 Engineering
Docs: The primary documentation for Dynamics 365 for Field Service.
Scheduling Docs: Documentation for Resource Scheduling.
Learn: Learning path for Resource Scheduling.
Field Service YouTube Channel: Includes concept videos for Field Service.
Ideas: The portal where you can contribute product feedback and ideas for Resource Scheduling.
Forum: Go here to ask questions, find answers, and see upcoming events.
Blog: On the blog, you’ll find ongoing release notes and posts from the product team.
The post How to use Resource Scheduling’s Search Resource Availability API appeared first on Dynamics 365 Blog.
Business Applications communities