Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All 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