I recently needed to clean out some tasks from the task lists on my development box. Unfortunately, I had attached an ItemDeleting event receiver to most of the task lists as part of a custom workflow. The event receiver prevents a task assignee from deleting their assigned task. Instead of writing a C# console application, […]
Ever wonder where SharePoint keeps it’s “To Do List of things I should remember about currently running DelayActivities”? Want to figure out if there are any “dead timer events” associated with any of your workflow DelayActivities that will never be delivered? Here’s a piece of SQL that will dump out all the event deliveries that are pending […]
Here’s a simple way to prevent users from deleting their assigned tasks (who would ever want to do that??). Start by coding an ItemDeleting event receiver that cancels the attempt to delete the task. If you want to drive your users crazy, you can just set the Status to CancelNoError. Try it out first before […]
Run this while logged on to your SharePoint server to see the current settings that may affect the proper operation of the DelayActivity in your workflows. WARNING: Your auditor may not like the output from Job-Workflow-AutoClean.
Are you setting the DueDate property of your workflow tasks to a date that you pluck from an InfoPath 2007 workflow initialization form using logic similar to the following? Please realize that if ApproverDueDate is 2008-12-31, the task will be considered overdue at 2008-12-31 00:00:00, exactly one day less than what the task assignee might expect. […]
So, there I was, trying to figure out how to create a new Discussion Thread on a SharePoint Discussion Board using the ‘feedback’ comments from a just-completed SharePoint task. It’s a great way to put all the comments from each completed workflow task in a SharePoint Discussion Board, providing an easy, ‘one-stop shopping’ view of all the […]