BikeName
, BookingDate
, and BookingStartTime
. If another item is created with the same BikeName
, BookingDate
, and BookingStartTime
, the item should not be created, and an error message should be displayed. I want to prevent double booking for the same bike, on the same date, and at the same time. How can I achieve this using Power Automate?(ID ne @{triggerOutputs()?['body/ID']}) and (BikeName eq '@{triggerBody()?['BikeName']}') and (BookingDate eq '@{triggerBody()?['BookingDate']}') and (BookingStartTime eq '@{triggerBody()?['BookingStartTime']}')
length(outputs('Get_items')?['body/value'])