Is there a way to have the switch check for a value that is not hardcoded? I have a requirement where the users want emails 7 days before a task is due, 1 day before, and the day of. I am using one list workflow to accomplish this, and currently, there are three run ifs (that go one after the other). One looks for today == dueDateMinus7, the next for today ==dueDateMinus1 and the last one today == dueDate. I'd rather have this be a switch based on which of the ones "today" equals, but there's no "Advanced Lookup" capability for the "Switch Value" fields.
Solved! Go to Solution.
So, here's the full scope. We needed to be able to account for changing due dates. So, a site workflow runs daily and looks for today to be one of the "reminder dates" we've set it to calculate every time it runs. If today is any one of the special dates, it kicks off the list workflow, which is then responsible for seeing which special date it is and then sending the appropriate email. We're not using the "Assign Task" action anywhere.