RSS Feed Feed your read!

Bookmark and Share







Tag Cloud

ASP.NET Generic, Best Practices, Business Intelligence, Freeware Releases, InfoPath, Infrastructure, jQuery, Lunch & Learn Events, Project Server, Random, Reporting Services, Search, SharePoint Administration, SharePoint Business Analysis and Project Management, SharePoint Development, Silverlight, Social Networking, Speaking Events, White Paper Releases, Workflow Foundation,

Archives

June 2007 (3)
August 2007 (1)
November 2007 (2)
February 2008 (2)
April 2008 (5)
May 2008 (7)
June 2008 (8)
July 2008 (7)
August 2008 (3)
September 2008 (7)
October 2008 (1)
November 2008 (3)
December 2008 (3)
January 2009 (7)
February 2009 (5)
March 2009 (10)
April 2009 (2)
May 2009 (6)
June 2009 (3)
July 2009 (4)
August 2009 (6)
September 2009 (3)
October 2009 (9)
November 2009 (10)
December 2009 (1)
January 2010 (1)
February 2010 (3)
March 2010 (6)
April 2010 (2)
May 2010 (3)
June 2010 (4)
July 2010 (3)

Leveraging Visio Graphics Services within SharePoint Designer 2010 Workflows 

Tags:

A great new feature that comes with SharePoint 2010 is the ability to leverage Visio diagrams to show business data and/or workflow statuses. As you may have heard, you can create a SharePoint Workflow from within Visio 2010, and thereafter import that workflow into SharePoint designer. It's a pretty neat way to empower your business users to model their OWN process, and then hand them off to people who are more technical who can deploy them and do other dirty work.

 

Beyond this ease of use factor, there's another great advantage that comes with building workflows in Visio first. This other advantage is you can leverage that diagram to convey where in the process the workflow is currently executing. For example:

 

In SharePoint 2007, all you could do is "Log to history list":

 

 

Now this is a great way to log information, but the trouble is it takes a while to read and draw conclusions, as well as it is dependent on the individual building the workflow to actually log stuff – which one may forget or not know how to do. A cooler approach is to use a Visio 2010 diagram:

 

 

With this diagram, it is very intuitive to see both what the workflow is doing, as well as where in the process the workflow is currently executing. SWEEEEET!!!!

 

Continue reading to see how to import a Visio SharePoint Workflow into SharePoint Designer, and thereafter enable Visio Web Access on that workflow...

 

 

Leveraging Visio Web Access within SharePoint Workflows in 10 Easy Steps!

 

 

STEP 1) Build a Visio SharePoint Workflow. Build a visio workflow that maps to your business process. Mine is very simple: first logging to history list, then a condition, if "Yes", log something, and if "No", log something else. Then complete.

 

 

 

STEP 2) Click the "Check Diagram" ribbon button to validate that the workflow will properly import into SharePoint Designer:

 

 

STEP 3) Export the Visio diagram:

 

 

STEP 4) Import that Visio diagram into SharePoint Designer. Open your SharePoint site in Designer, click "Workflows", then click "Import from Visio":

 

 

Browse to the file you exported, specify a name for your workflow, and choose a deployment target (List, Reusable, etc)

 

STEP 5) Add specific logic into the imported workflow. Notice how my workflow created in Visio looks after being imported into SharePoint Designer:

 

 

I still have the 3 "Logs" activities, as well as the Condition activity. Now simply add the values you need:

 

 

STEP 6) Click Save, and re-open the workflow through the left navigation in SharePoint Designer.

 

Control "S"

 

Click "Workflows" on left navigation and double click the workflow you just created:

 

STEP 7) Check the "Show workflow visualization on status page" check box in the "Settings" box:

 

STEP 8) Publish the workflow and Verify the necessary features are active. Publish:

 

Under Site Actions, Site Settings, Manage Site Collection Features, verify the Visio Web Access feature is active:

 

Also necessary, verify the Visio Graphics Service is active in Central Administration:

 

STEP 9) Add the workflow to a list or library (List settings, Workflow Settings, Select the workflow, Next, Save)

 

STEP 10) Initiate a workflow instance, and view the status!

 

Notice you get a green arrow next to each activity that has completed:

 

Cheers!

 

Phil

 
Posted by BENDER\pwicklund on 22-Oct-09
0  Comment  |  Trackback Url  | 0  Link to this post | Bookmark this post with:        
 
Failed to render control: Value does not fall within the expected range.

Comments

Bookmark and Share

Note: Facebook no longer sends notifications for comments, so it may be a number of days before I see your post. For urgent matters, click "Contact Me" on the top nav. More info: Click Here.