Workflow task. Method not supported.

When creating a Workflow in Visual Studio, make sure your created tasks inherit from the content type “Workflow tasks”. If not you might encounter the following error: Exception has been thrown by the target of an invocation. System.NotSupportedException: Specified method is not supported. at Microsoft.SharePoint.Workflow.SPWorkflowTask.SetWorkflowData I always forget this.

Custom workflow does not start. Feature needed.

Lost again a few hours today. Apparently workflows on your SharePoint¬† site need the hidden ‘OffWFCommon’ feature to be enabled. If not the workflow code is simply not executed. The annoying thing is that there is no indication that the workflow is not starting. You can assign the workfow to a list ,¬† let the […]