Forum Discussion
Jpownall17
Oct 31, 2022Copper Contributor
'When an appointment is updated' Automate trigger ID different than 'When an appointment is created'
Have tested this a few times now for sanity sake. I am writing entries to a SharePoint list using the MS Booking 'ID' field as primary key via Power Automate. When using the 'when an appointment...
Ueberschussladen
Jan 29, 2023Copper Contributor
Thanks, it works great for 1:1 bookings. I have big problems with 1:n bookings. The 2nd new booking of a "1:n" appointment is updated via the connector "When appointment is updated". This also applies to corrections and cancellations. Since I want to view the information in PowerApps through SharePoint, the process becomes very complicated. It would be helpful if additional information could be sent via the connector "If an appointment is updated" when booking a 1:n appointment. For example: [Appointment: "New", "Update" or "Cancel"]. Thanks very much!
Vignesh_Kailas
Microsoft
Jan 30, 2023If I understand this correct (please correct otherwise), you are expecting the new slot booking (2nd one onwards) in a 1:N appointment to come as a part of "When an appointment is updated" with a flag/field mentioning that it is a new slot added and not any update (like reschedule or staff change etc).
- UeberschussladenJan 30, 2023Copper Contributor
Thank you for quick response!
Example: There is a 1:N date (fixed date) for a seminar. The first customer to log in is displayed via Connector "When an appointment was created".
The second customer, as well as all subsequent customers who register for exactly this appointment, are displayed via the connector "When was an appointment updated". If a customer has canceled their appointment, this is also displayed via the "When an appointment was updated" connector. This customer is missing from the detailed list of the JSON object. If an already registered customer has his phone number about a correction (rebooking), the information also comes via the connector "When an application was updated". An additional label with the name "customer of 1:N is:" : "new", "updated" or "cancelled" is helpful. I can then use the SelfserviceAppointmentID to search, change or add the item in the SharePoint list.- Vignesh_KailasJan 30, 2023
Microsoft
Thanks for the clarification. We will discuss this with the team internally.