Lucy de Boer
 

VS 2008 workflow will not start

29

Feb

When deploying a VS 2008 workflow developed in .net 3.5 to a server (w.o. 3.5) the workflow will not start, and the error log will say ‘System.Core’ not found.

To fix this: install .Net3.5 on your server.
http://www.microsoft.com/downloads/details.aspx?FamilyID=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

Kudo’s again to Stef for finding this.

Lucy de Boer schreef

Comments (0)

Lucy de Boer

Unknown Task Type

29

Feb

When creating a site collection based on the team site or document centre the feature ‘ReviewRouting’ is not enabled (yet). This results in ‘unknown task type’ in the error logs and 'Error Occurred' in the workflow status screen.

To fix this:
Enable the standard SharePoint feature ReviewRouting: Id = 02464C6A-9D07-4F30-BA04-E9035CF54392

Kudo’s to Stef for finding this.

Lucy de Boer schreef

Comments (0)

Lucy de Boer

Assign a task to a Group

29

Feb

Assigning a (workflow)task to a Group from code can be tricky, but this trick works:

SPGroup group = SPWeb.UserGroups[“groupname”];
SPFieldUserValue groupvalue = new SPFIeldUserValue(                  group.ParentWeb, group.ID, group.Name);
SPWorkflowTaskProperties taskProperties = new SPWorkflowTaskProperties();
 (Connect these taskproperties to the task to update)

taskProperties.AssignedTo = groupvalue.LookupValue;

To display these tasks in the task list the view 'Groups' has to be selected. they will not shop up in the 'My Tasks' view.

 

Lucy de Boer schreef

Comments (0)

Lucy de Boer

Zoeken

Categorie

Archief


Sign In