Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Appointment Duration/End Time - business rule configuration

(1) ShareShare
ReportReport
Posted on by 2
Hello!
 
We have a business rule enabled on the appointment entity to set the appointment 'Duration' based on a custom field value 'Consult Type':
 
When the appointment is first created, it sets the end time correctly, based on the duration that has been set by the Business Rule.
 
However, if the user changes the 'Consult Type', the Duration updates accordingly, but the End Time doesn't. What are we missing?
 
  • Leah Ju Profile Picture
    Microsoft Employee on at
    Appointment Duration/End Time - business rule configuration
    Hi,
    You mean the Duration value changed, but the end time didn't change with it, right?
    Tested it and it does, if the business rule changes the duration, the end time will not be updated with it:
    Maybe we can consider that changing end time in the business rule.
     
     
  • FB-24050455-0 Profile Picture
    2 on at
    Appointment Duration/End Time - business rule configuration
    Hi Leah, I am using Set Field Value. The business rule itself its functioning perfectly, but then the usual OOTB behaviour of the end time adjusting based on the duration is not.
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    Appointment Duration/End Time - business rule configuration
    Hi,
    Can you share screenshot about this business rule?
    Which action is selected when setting the value in the Business rule?
    Set Default Value: Value will only be set when the record is created.
    Set Field Value: Not limited to records being created, values can be set when update records.
    https://rajeevpentyala.com/2022/01/19/power-apps-business-rule-set-field-value-vs-set-default-value/
    I hope you can mark my answer verified if it answer your question! If you have any questions, please feel free to contact me.
    Regards,
    Leah
     

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 32 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans