I have a wf running that when a task is rejected, it adds 3 more days to the due date from the current date excluding the weekend. Now I want to exclude any federal holidays. If the due date (today+3 days) falls on a holiday or contains a holiday within the 3 day period, I want it to give the due date one more additional day (today+3 days + 1 day for the holiday). I created a list and did a look up to that list in the wf within a loop. The loop is set up to check all business days and compare it to the list but is failing-
Here is My Workflow that I Used:
If var:duedate starts with Wed or var:duedate starts with Thurs or var:duedate starts with Fri add 5 days to currentitem:duedate (output to var:newdate) else if var:dueDate starts with Sat add 4 days to currentitem:duedate (output to var:newdate) else add 3 days to currentitem:duedate (output to var:newdate) set currentItem:duedate to var:newdate