Skip to main content

Patrick Tisseghem's Blog [MVP SharePoint]

Go Search
U2U Blog Center
U2U website
  

The Happy SharePoint Traveller

U2U Blog Center > Patrick Tisseghem's Blog [MVP SharePoint] > Posts > What about WorkFlow in SharePoint 2007?
What about WorkFlow in SharePoint 2007?

Last week in Dubai I received multiple questions from companies regarding what the limitations are regarding workflow in WSS 3.0 and MOSS 2007. As many people start to know, I am a big fan of the 'SharePoint as a developer platform' message. So I am advocating in my trainings that in the real-world, the custom workflows you get with WSS and MOSS are not going to be good enough. Sales people should not sell the message that creating custom workflows for the real world is an easy task. It is not. WSS 3.0 is giving you a good platform to work with, but a lot of work will come from you. 

The SharePoint Designer can help, but the workflows created with the SPD are a one-shot thing and not meant to be a re-usable type of workflow. If you stick with the Microsoft products, you're only option is going to be to build custom workflows with Microsoft Visual Studio.NET 2005, enhanced with the workflow extensions for WF and the the additional layer for MOSS 2007 provided by installing the Office Server SDK. Be aware though that creating workflows this VS.NET way will involve a lot of studying and learning since WF is not an easy topic. You can find plenty of samples and tutorials on wf.netfx3.com but basically it is not your day-to-day programming and many of the mainstream .NET developers within companies are not up-to-speed on it yet. Therefore, products coming from partners like K2, Captaris, Skelta, Nintex, and many others are still a viable solution for many organizations because they offer a layer on top of the WF that make it more accessible for everybody. Each of them have an offering that you should have a look at closely since they differ in their approach. The SharePoint conference in Berlin is going to be extremily interesting since many of them will show their latest offering.

In an upcoming BIWUG meeting (BIWUG = Belgian Information Worker User Group), we plan to cover workflow from all angles. The meeting is at the 8th of February, starting at 18:30 in the Microsoft building @ Microsoft. The agenda has, in my opinion, very interesting topics. First, there will be a more sales oriented session discussing what I wrote down above. One of the partners, AgilePoint, is going to talk about their latest products and then there will be a more technical talk about how to get workflow done in MOSS 2007. BIWUG has entered a new year with a lot of good intentions. Hopefully you'll support us. The group is driven by a lot of people working daily with the latest Microsoft technologies in the real world (having all a very very busy agenda but trying their best to get a community up-and-running around IW in Belgium), so you should come and register for the meetings. They are free thanks to our sponsors and Microsoft and there is a lot to learn. I would like to be there as well, but, it should not surprise you, I am Cape Town that week. Back to the sun actually. Yesterday I was enjoying a Cyprus coffee at a terras in Limassol at 9 AM in full sun, enjoying every minute of it. Now, I am Zurich 25 degrees less than yesterday... life can be strange. Now, which one do I prefer best? Yeah right ..

But it is going to be good here in Zurich this week. Full house for the 5-day dev course and lots of snow. Actually, my oldest daughter is also here in Switserland with her school on a skiing trip. Maybe I should visit her :). Although, I am pretty sure she is not going to like her dad visiting her! I would have not liked it when I was young :)

Comments

re: What about WorkFlow in SharePoint 2007?

If you're in Switzerland and search for a good beer, i'm still here in Geneva <br> <br>Your Caml Boy :) <br> <br>Renaud <br>PS : it's not a lot of snow, believe me, just a little
Patrick Tisseghem at 29/01/2007 14:48

Workflows in MOSS

Another article/review about the various ways to do "Workflow" within Sharepoint 2007 :

http://devk2.net/2007/04/18/workflows-in-moss-oob-vs-spd-vs-wf-vs-k2net-battle-of-the-acronyms/
at 7/05/2007 0:25

Salvaging SPD Workflows (partly)

One thing you CAN do to at least reuse the STRUCTURE of the SPD workflow, is to import the XOML file (which you can view through SPD) into VS.Net 2005. 

There is an sample quickstart in the WF SDK (SequentialMarkupWorkflow), that demonstrates how to build a workflow from a XOML file and then all you need to do in your code is then write the expected event handlers.  You can also programatically load the XOML file and save an existing workflow to a XOML file.

Basically the XOML file is used in place of the .designer file (it serves the same purpose and VS.NET recognizes it too so when you make modifications in the designer they just get written to the XOML file).  I like this option a LOT better than using the .designer file as it's MUCH easier to read (if you like to understand what the design time environment did).

I don't know if the XOML file can contain all the custom coding performed and the physical event handlers so this may need to be stored in a separate assembly if you are using a code only approach.  It's worth looking into however and it's good to know that just because you started using SharePoint Designer (which is VERY easy to use to build workflows) - with a little effort you can get your work out of it and into Visual Studio when you get serious about doing workflows.
at 22/08/2007 21:40

Another  sharepoint workflow limitation...

what are other sharepoint workflow limitations
at 21/11/2007 7:24
Captcha

Enter the code shown above: *

(Note: If you cannot read the numbers in the above
image, reload the page to generate a new one.)