web
You’re offline. This is a read only version of the page.
close
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?
 
I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    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
     
  • FB-24050455-0 Profile Picture
    2 on at
    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.
  • Leah Ju Profile Picture
    Microsoft Employee on at
    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.
     
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
iampranjal Profile Picture

iampranjal 45

#2
Martin Dráb Profile Picture

Martin Dráb 38 Most Valuable Professional

#3
Satyam Prakash Profile Picture

Satyam Prakash 35

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans