Answered Check for double booking using workflows in SP2010

  • Dienstag, 1. Mai 2012 09:25
     
     

    Hi

    I'm trying to build ressource booking system using SP2010 and InfoPath 2010.

    I have a an InfoPath form, a Reservations list, a Ressource calendar and a custom workflow built in SharePoint 2010 Designer.

    The goal is to create a setup, where users can reserve ressources (in this case holiday houses) using an InfoPath form. The form creates a new item in Reservations list. On that list I have a workflow, that is started when a new item is created. The workflow starts an approval process. If the reservation is approved a new event is created in the calendar.

    The problem is that I would like the workflow to check for double booking before starting the approval process. If the holiday house is already booked in the gived period there is no reason to start an approval process.

    But I can't see how I can get the workflow to check the bookings in the calendar???

    The funny thing is if I create a new event in the calendar using the GUI there is a check for double booking!?

    Can anybody help?

    Thanks.

Alle Antworten