Forum Discussion
'When an appointment is updated' Automate trigger ID different than 'When an appointment is created'
Jpownall17 SelfServiceAppointmentId can be used as unique id across flows for an appointment (whether or not yours is an appointment created via self service page). This is a naming/documentation miss from your side and will be rectified soon.
Can you please use the same and let us know if that works for you well?
Ueberschussladen Isabel2380 as well FYI.
- Vignesh_KailasJan 30, 2023
Microsoft
If 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.