Workflow

SharePoint offers 3 different ways to build workflows:

  • Out of the box workfows: you can customise action values, e.g. who gets emailed to approve a doc
  • SharePoint Designer (SPD) 2010: Rules-based declarative workflows, you can combine available conditions and actions\
    Can now also edit the workflow forms using InfoPath (Enterprise edition)
  • Visual Studio: Full customisation including the ability to develop your own conditions and actions, and integration with Line of Business (LoB) systems, e.g combining human and system-based workflows

3 types of workflow:

  • Workflow – Attached direct to a list
  • Reusable workflow – can be associated with many lists or content types
  • Site workflow – not associated to a list or content type: define Initiation Form Parameters that will match columns in a list or library later in the workflow <- note: not available when designing in Visio, Visio can do list or reusable only

Other quick notes:

  • Don’t forget to refresh SPD if you’ve made changes to a list or library you want to reference in a workflow
  • Use site workflows to create an item in a list (if use list/library workflow, it is triggered once an item is created or modified)
  • When using Initiation Form Parameters, look up from Workflow Variables and Parameters as data source in events
  • Workflow Context as a data source: i.e. who initiated the workflow
  • Visio for designing workflow: Add start and end terminators; update workflow status for each step; use stop workflow action to log a stop (i.e. as well as the terminator that literally stops the workflow). Save file, but then need to Export (under Process) to be able to import into SPD – file type VWI, Visio Workflow Interchange
  • Adding manager to workflow: Workflow Lookup – Data Source – User Profiles, choose Manager attribute… (new to 2010). Match attribute to account name of person currently signed in, i.e Data Source – Workflow Context – Initator. Match login names
  • If adding fields to an email as part of the workflow, with paragraphs (i.e. columns of type ‘multiple lines of text’) stick with plain text. If you use rich text, looks messy in email (takes up lots of space)

Links

© 2006 - 2012 Joining Dots Ltd. All rights reserved.

Content is for information purposes only with no warranties or guarantees regarding accuracy = use at your own risk. Ditto for links to other sites.
All product names, logos, brands and other trademarks referred to within this site are the property of their respective trademark holders.