This article shares some possible use cases your code could support, as well as a sample flow that could support each use case. This can be a helpful jumping off point as you plan your code's implementation.
Your app could give business owners an overview of all bookings made under an older version of a service policy.
To display a list of bookings with outdated booking policy:
bookedEntity.item.slot.serviceId
in
the filter. For classes or courses include bookedEntity.item.schedule.serviceId
in the filter. You may use a conditional or
for both filter options in a
single call.