.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Post New Web Links

SharePoint 2010 Workflow - Creating multiple tasks

Posted By:      Posted Date: October 01, 2010    Points: 0   Category :SharePoint
 
I'm working on a SharePoint 2010 workflow which will assign multiple tasks to a list of users.

I'm using the Multiple Tasks webcast from Scot Hillier as a guideline
http://www.shillier.com/archive/2010/08/04/Creating_Multiple_and_Parallel_Tasks%20_in_SharePoint_2010_Workflow.aspx, but I cant' get the workflow to work. 

I've created the custom activity to create a single task, and used a replicator to start the this custom activity for every user.
However, the sub-activities in my custom activity are not shown(as opposed to webcast).

  
 public class CreateSingleTaskActivity : SequenceActivity
    {
        public Guid SPTaskId = default(Guid); 
        public string SPTaskOutcome = default(String);
        public SPWorkflowTaskProperties SPTaskProperties = new SPWorkflowTaskProperties();
        public SPWorkflowTaskProperties SPAfterProperties = new SPWorkflowTaskProperties();
        public SPWorkflowTaskProperties SPBeforeProperties = new SPWorkflowTaskProperties();
        public Guid TaskStatusFieldId = new Guid("FCA4FCB5-503C-4e9f-AC62-CD79EB


View Complete Post


More Related Resource Links

Video: Creating Workflow Forms in SharePoint 2010

  
This video demonstrates how to add, design, and develop workflow initiation forms for SharePoint 2010. (Length: 3:58)

Error when creating a Workflow in SharePoint 2010

  

Hello All,

 

Just wantd to get some help with this problem.  I was trying to create an Out of the Box Signatures Workflow in my test SharePoint 2010 environment but I get the following error:

 

The following location is not accessible, because it is in a different site collection: http://<servername>/_catalogs/wfpub/Collect%20Signatures%20-%20SharePoint%202010/Signatures_1033.xsn.

Correlation ID:3d572eca-7fb0-4ec6-b251-151fb9bc6f35

 

Some more info, I did change my server's name just before I tried this.  I did reboot the server and ran the stsadm command -renameserver to force the name change on the server.  I then also did an IIS reset.  Everytime I try to do an IISReset, the first time always comes with:

Attempting stop...
Restart attempt failed.
The service did not respond to the start or control request in a timely fashion
 (2147943453, 8007041d)

If I try it again, it does it fine.  When I click on the central admin icon from the Admin t

Creating Multiple tasks in perticular state in State Machine Workflow

  

Hi Everyone,

I'm very new to workflow so forgive me if I'm asking stupid question.

Here is my scenario :-

Once the data got submitted to a list I have create task for different states(Like HRState, ITDepartment State etc etc) and each pf the state will have more than one task with different data(in terms of title,assigned to etc). That being said my question will be how I will accomplish these I read about replicator on many bolg but I'm not sure if I can provide different data for each task or not. Also I need to keep track if someone reject the task and come back to lets say HRState than based on that data I have to go to perticular task.

Please advise me to accomplish the task.

I'm working with Sharepoint 2010 and Visual Studio 2010.

Thanks in advance.


Creating Multiple tasks in perticular state in State Machine Workflow.

  

Hi Everyone,

I'm very new to workflow so forgive me if I'm asking stupid question.

Here is my scenario :-

Once the data got submitted to a list I have create task for different states(Like HRState, ITDepartment State etc etc) and each pf the state will have more than one task with different data(in terms of title,assigned to etc). That being said my question will be how I will accomplish these I read about replicator on many bolg but I'm not sure if I can provide different data for each task or not. Also I need to keep track if someone reject the task and come back to lets say HRState than based on that data I have to go to perticular task.

Please advise me to accomplish the task.

I'm working with Sharepoint 2010 and Visual Studio 2010.

Thanks in advance.


Creating SharePoint 2010 Workflow using Visual Studio 2010 walkthrough

  

Dear all

I am new in SharePoint development using VS2010.

I am looking for examples for developing Workflow from inside Vs2010 on list or on Site.

Thanks,
Ramzy

Creating Dialogs and Ribbon Controls for SharePoint 2010

  
SharePoint 2010 provides new user interface components, such as server ribbons, and the new dialog platform. As a developer, you can create controls for the server ribbon and dialog boxes for the dialog platform.

Workflow Essentials: Collaborative Workflow Improvements in SharePoint 2010

  

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


SharePoint 2010 Long Starting if start workflow programatically

  

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

How to use display Text in Hyperlink For SharePoint 2010 Designer Workflow

  

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

 


Creating a SharePoint 2010 Web Part That Can Read and Write Data to an External Data Source

  
Learn to use Visual Studio 2010 to create a Visual Web Part that uses a BCS external content type in SharePoint Server 2010 to read and write data to the AdventureWorks sample database.

Sample: Creating a SharePoint 2010 Web Part That Can Read and Write Data to an External Data Source

  
Explore the code in this visual how-to article as you learn to use Visual Studio 2010 to create a Visual Web Part that uses a BCS external content type in SharePoint Server 2010.

Quick Note: Accessing Multiple SharePoint 2010 Lists by Using LINQ

  
In this exercise, you develop and deploy a visual Web Part that reads data from three lists by using LINQ queries and displays the results in a grid view control.

Creating SharePoint Server 2010 External Content Type Associations with SharePoint Designer 2010

  
Learn how to use Business Connectivity Services (BCS) to create associations between external content types in SharePoint Designer 2010 without using code.

Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverlight 3

  
Learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Video: Creating Custom SharePoint 2010 Field Types and Controls with Visual Studio 2010 and Silverli

  
Watch the video that accompanies the MSDN article and learn how developers can create rich experiences in SharePoint Server 2010 publishing sites using Microsoft Silverlight 3.

Creating Tracking Applications in Microsoft Office 2010 and Publishing Them to Microsoft SharePoint

  
Resources to help you develop manageable solutions for your organization to create, share, and collaborate on team databases; be more productive with Microsoft Access 2010 developer enhancements, and get started faster with one-click community templates.

Video: Getting Started SharePoint 2010: Creating .NET Framework Types for a Business Connectivity Se

  
This demonstration shows how to use Visual Studio 2010 to create Business Data Connectivity projects that incorporate external data into SharePoint solutions. (Length: 8:33)
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend