Hello, I'm using the SPD 2010 workflow engine in a SP 2013 site. I have used SPD workflows for years, but never found out how/if one can "stop" a running workflow based on a material change to the triggering list item.
Example: I have a payroll entry due date Calendar (list), and it runs a workflow that generates a reminder email at the end of each pay cycle, then terminates. However, sometimes HR will change when they want the payroll to be entered, and hence
the Calendar item has a new date (often earlier). However, as my WF has "pause until" the old due date, and that hasn't happened, I can't get a revised entry date to CANCEL the prior workflow and RESTART it. It won't do anything until that "pause
until" has expired....too little too late.
My workaround is simply to manually "stop the workflow" on that item, then edit the date, which then restarts it and it reminds at the appropriate date. I could keep doing this forever, but would love NOT to if you catch my drift. I'd like HR to
update the entry, and leave me out of it (they don't use SPD....yet).
I have researched stopping/starting workflows, but so far can't find anyone who has posted this problem and/or a solution.
P.S. Even more fun is when HR wants to change the email. I have to stop ALL workflows, adjust the email details, then restart for each item, since SP will always use the old WF email on running items. I don't expect to ever get out of that workaround. At least
we only have 24 due dates/emails--can't imagine what hundreds or thousands of entries would do to my sanity.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.