Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 release wave 1Discover the latest updates and new features to Dynamics 365 planned through September 2020
Release overview guides and videos Release Plan | Preview 2020 Release Wave 1 TimelineWatch the 2020 Release Wave 1 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 | Upcoming TechTalks
I am trying to implement a custom service activity form which will essentially allow users to create bookings for specified resources (facilities/equipment) on the service calendar. On the form there are four fields -
NAME (Subject field)
VEHICLE TAKEN (check box)
VEHICLE RETURNED (check box)
SUBMIT (Save & Close)
As you can see from the form layout, I don't want to allow users to specify how long their bookings will last. The default service time will be 8 hours, but if a user returns the vehicle early, say after 5 hours, I want that vehicle to be made available for booking within the remaining 3 hours of the previous booking. The way I thought this could be done is that, when the VEHICLE RETURNED checkbox value is changed to TRUE, a workflow (detailed below, and disclaimer: probably completely erroneous) is fired.
If Service Activity:Vehicle Returned equals [YES], then
Change record status to: Service Activity Completed
Update: Service Activity (this changes the value of 'Scheduled End' to 'Actual End')
Stop workflow with status of: Succeeded
However, what I have found is that instead of this workflow firing in the desired way, it is merely adding an additional booking on top of the previous booking. Obviously I need to change how I am approaching this. Is anyone able to point me in the right direction? I would be very, very appreciative.
Hi there - it seems to be working now. Actual End became a read-only value after the service activity was marked to complete, so I just changed it to take the value from the time it was last modified. Is working a treat now.
Business Applications communities