View Complete Post
Hello all,
The workflow deploys successfully, goes to first state as expected. When I click to change the task [using InfoPath task form], instead of showing the InfoPath form I see SharePoint 2010 edit form for the task list
Here are my files:
Feature.Template.xml:
<?xml version="1.0" encoding="utf-8" ?> <Feature xmlns="http://schemas.microsoft.com/sharepoint/ " ReceiverAssembly="Microsoft.Office.Workflow.Feature, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" ReceiverClass="Microsoft.Office.Workflow.Feature.WorkflowFeatureReceiver"> <Properties> <Property Key="GloballyAvailable" Value="true" /> <Property Key="RegisterForms" Value="*Forms\*.xsn" /> </Properties> </Feature>
Package.Template.xml :
<?xml version="1.0" encoding="utf-8"?> <Solution xmlns="http://schemas.microsoft.com/sharepoint/"> </Solution>
Workflow->Elements.xml:
<?xml version="1.0" encoding="utf-8" ?> <Elements xmlns="http://schemas.microsoft.com
In this article, the author covers the new features in SharePoint 2010 geared for workflow developers and thenÃÂ walks the readerÃÂ through a couple of new user scenarios.
Paul Andrew
MSDN Magazine November 2009
In SharePoint 2010, I'm starting workflow #2 programatically from my workflow #1. See code below:
SPList currentList = web.Lists[new Guid(ListId)]; SPListItem currentListItem = currentList.GetItemById(ListItem); //resolve any lookup parameters string workflowId = base.ProcessStringField(WorkflowIdentifier); //find workflow association by name SPWorkflowAssociation workflowAssoc = currentList.WorkflowAssociations.GetAssociationByName(workflowId, Thread.CurrentThread.CurrentCulture); if (workflowAssoc != null) { //start the workflow SPWorkflow workflow = site.WorkflowManager.StartWorkflow(currentListItem, workflowAssoc, workflowAssoc.AssociationData, SPWorkflowRunOptions.Synchronous); }
And workflow #2 will hang with Starting status (1-10 minutes), Then the workflow #2 status would be modified to Completed.
I couldn't find how to start the workflow # 2 immediately and complete immediately without several minutes delay
I've created a workflow with a Collect Data from User action that emails a Group when the task is created. Once the task is claimed by an individual, the Assigned To column in the task list is updated to display that person's name but once the task is completed the email variable for the action is not updated and the group is emailed instead of the person listed as Assigned To.
So the question is this: Is there a way to update the user varialbe in the workflow task once the task is completed, or would I need to build my own workflow and use the Send Email action?
In SharePoint 2007 Designer, I have used the Hyperlink column to store the link "http://www.sharepoint.com/Default.aspx, Details". The details text will be shown in the Hyperlink column. Everything works fine in sharepoint 2007 Designer workflow.
In SharePoint Designer 2010 Workflow, I used the same method but the hyperlink column is displaying the full text "http://www.sharepoint.com/Default.aspx, Details" instead of only Details
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend