Apologies if this is not the best forum, but I am new to SharePoint and was looking for advice/solutions for an 'equipment checkout' list with the following columns:
"ID" - Number
"Equipment Name" - Choice
"Requester Name" - Person or Group
"Requested Date" - Date and Time
"Return Date" - Date and Time
"Assigned Approver" - Person or Group
"Approval Status" - Flow assigned?
These columns are all required to contain information. The goal is for when an item is created, it checks the following fields: Equipment Name, Approval Status, Requested Date, Return Date.
When an item is created, it will check if the list has a matching Equipment Name, the next step is to check if the Approval status is 'pending' 'denied', or 'approved'. If the status is set to 'approved', it will then check if either the Requested Date and/or Return Date conflicts with the date range of the already approved item(s) which will send an automatic reply that the request has been denied. Otherwise, it will move forward and be set to pending approval like other items in waiting.
Through a workflow, an email notification would be sent to the requester if the item is pending approval, has been denied, or has been approved. Simultaneously, the workflow will create a task for the assigned approver who will receive an email to review the item and be notified of items pending approval that share conflicting dates. From here they can either approve or deny the request through a link in the email that will take them to a pending task.
Sorry for the big blocks of text. I may be asking a lot out of SharePoint, Designer, and Workflows, but any advice and help would be greatly appreciated.
Thank you!