WEBSITE

Sharepoint 2010 : Creating a Workflow Using SharePoint Designer

11/4/2013 3:13:16 AM

We’ve covered creating workflows using Visio 2010 with SharePoint Designer and Visual Studio 2010. For this simple workflow, we’ll make use of SharePoint Designer on its own and then export the workflow to Visual Studio to add some custom code.

  1. In SharePoint Designer, select Workflows from the Site Objects pane.

  2. From the Workflows ribbon, select Reusable Workflow.

  3. Name the new workflow Product Advertising and limit the workflow to the Product content type.

  4. Add three Wait for Field Change in Current Item actions to the workflow. Configure them as illustrated:

  5. Since these activities can be completed in parallel, we can add them to a parallel block. From the Workflow ribbon, in the Insert section, select Parallel Block.

  6. Using the Move Up and Move Down buttons in the Workflow ribbon, move the three actions into the Parallel Block.

  7. Set the status to Available for Advertising. Add a Set Workflow Status action after the Parallel Block.

  8. In the status combo box, type Available for Advertising, as illustrated:

  9. Publish the workflow using the Publish button in the Save section of the Workflow ribbon.

  10. To attach the workflow to the Product content type, select Workflow Settings from the Workflow ribbon. This will close the workflow editor and display the Workflow Settings page instead.

  11. From the Workflow Settings ribbon, select Associate to Content Type | Product.

  12. On the Add a Workflow page, set the Start Options to Start This Workflow When A New Item Is Created. Click OK to complete the process.

We can now create a new product and, using the workflows that we’ve implemented, complete the process defined in our demonstration scenario. When a new item is added to the Products list, our workflows are started automatically. The Product Publishing workflow creates tasks for the capture of additional information, while the Environmental Compliance workflow submits a calculation request to our sample calculation engine. When both of these workflows are complete, the Product Advertising workflow completes with a status of Available for Advertising.

Other  
  •  Sharepoint 2010 : Creating a Workflow Using Visual Studio 2010 - Using the Visual Studio Workflow Designer (part 2)
  •  Sharepoint 2010 : Creating a Workflow Using Visual Studio 2010 - Using the Visual Studio Workflow Designer (part 1)
  •  Sharepoint 2010 : Creating a Pluggable Workflow Service (part 6) - Calling a SharePoint-Hosted WCF Service
  •  Sharepoint 2010 : Creating a Pluggable Workflow Service (part 5) - Calling a WCF Service, Receiving WCF Messages , Raising Events in a Workflow Service, Configuring Pluggable Workflow Services
  •  Sharepoint 2010 : Creating a Pluggable Workflow Service (part 4) - Using the ExternalDataExchange Attribute, Deriving from SPWorkflowExternalDataExchangeService
  •  Sharepoint 2010 : Creating a Pluggable Workflow Service (part 3) - Hosting an .svc File in SharePoint, Token Replacement in Visual Studio , Adding WCF Service Configuration to SharePoint
  •  Sharepoint 2010 : Creating a Pluggable Workflow Service (part 2) - Add a SharePoint-Hosted WCF Service
  •  Sharepoint 2010 : Creating a Pluggable Workflow Service (part 1) - Create a Windows Forms Client Hosting a WCF Service
  •  PowerShell for SharePoint 2013 : Word Automation Services - Disable Word 97–2003 Document Scanning , Disable Embedded Fonts in Conversions
  •  PowerShell for SharePoint 2013 : Word Automation Services - Modify Job Monitoring, Modify Conversion Timeouts
  •  
    Top 10
    Review : Sigma 24mm f/1.4 DG HSM Art
    Review : Canon EF11-24mm f/4L USM
    Review : Creative Sound Blaster Roar 2
    Review : Philips Fidelio M2L
    Review : Alienware 17 - Dell's Alienware laptops
    Review Smartwatch : Wellograph
    Review : Xiaomi Redmi 2
    Extending LINQ to Objects : Writing a Single Element Operator (part 2) - Building the RandomElement Operator
    Extending LINQ to Objects : Writing a Single Element Operator (part 1) - Building Our Own Last Operator
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8