Home > workflow > XAML Workflow Schema

XAML Workflow Schema

As I demonstrated in chapter 16 of my WF book, one of the authoring modes that you can use to define the workflow model is the no-code (markup-only) mode. Using this authoring mode, you define the workflow model in an XML file using XAML syntax.

If you try to do this manually in Visual Studio without the aid of a designer, it is fairly tedious and it can be error prone since there’s no Intellisense support. At least until now. Microsoft has now released a workflow XAML schema that makes this process a little easier.

After downloading the file, you unzip it into the default location:

%ProgramFiles%\Microsoft Visual Studio 8\Xml\Schemas

Once the schema file (XamlWorkflow2006.xsd) is installed into the correct directory, Visual Studio will provide Intellisense within it’s XML editor when you edit workflow markup files (.xoml).

Keep in mind that this won’t work for any custom workflow types that you’ve defined and wish to reference. This schema only has knowledge of the standard workflow types provided by MS. However, if there are types that you frequently use, you can modify this schema file yourself in order to provide Intellisense.

Advertisements
Categories: workflow
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: