How do SharePoint 2013 Workflows look like under the hub?

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

To get a feeling how SharePoint Workflows look like under the hub take a look on following example: http://developers.de/media/p/422263.aspx.
This is the original XML which fully (natively) describe the workflow deployed by SharePoint.

Following picture shows a snapshot of the XML which can be downloaded above:

 

image

Note that the dump shown above describe the WorkflowDescription without activities. However notice that description contains the reference to activity ActivityPath.
Similarly you can dump activities as follows:

http://host:12291/SharePoint/default/eac2871d-0758-4a2e-8b03-c02598c63c0b/8256fccd-21e8-4435-8327-2affb3234c23/$Activities

This call will return list of activities by their name. For example: WorkflowXaml_78ba2e34_c23f_4ea9_94fb_86d3efcd3c80
That name can be used to obtain the original XAML
http://host:12291/SharePoint/default/eac2871d-0758-4a2e-8b03-c02598c63c0b/8256fccd-21e8-4435-8327-2affb3234c23/$Activities/WorkflowXaml_78ba2e34_c23f_4ea9_94fb_86d3efcd3c80

And finally, here is the result which dups out the XAML of the workflow:

image

 

Examples shown above has been taken out of Workflow Manager which is running on Premise. However same or similar workflow descriptions are used when running in Office 365 and Windows Azure.
I will describe the meaning of all of required artifacts in my future blog posts.


Posted Nov 29 2012, 08:40 AM by Damir Dobric
developers.de is a .Net Community Blog powered by daenet GmbH.