Windows Server AppFabric / Workflow Services Demo - Contoso HR

This sample demonstrates how you can use a Windows Workflow Foundation (WF4) Workflow Service and Windows Server AppFabric to construct a long running business process.

C# (6.3 MB)
4.9 Star
6,156 times
Add to favorites
E-mail Twitter Digg Facebook

Solution explorer

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <meta http-equiv="refresh" content="5; url=">

		<title>How do I test an activity with bookmarks?</title>
	    <style type="text/css">
div.wikidoc h2{font-size:1.6em;}div.wikidoc h1,div.wikidoc h2,div.wikidoc h3,div.wikidoc h4,div.wikidoc h5,div.wikidoc h6{margin-bottom:.13em;}h2{color:Black;}h2{font-size:1.2em;padding-top:.7em;padding-bottom:.7em;}div.wikidoc ul{list-style-image:url(;list-style-type:none;}ul{margin-left:0em;padding-left:2em;list-style-type:square;list-style-image:url('');}div.wikidoc li{margin-bottom:.3em;margin-top:.3em;vertical-align:middle;}li{margin-left:0;margin-bottom:.1em;margin-top:.1em;}a,a:link,a:visited{text-decoration:underline;color:#3E62A6;}html.IE7 div.wikidoc .externalLinkIcon{background-image:url(;background-repeat:no-repeat;background-position:right 0;display:inline-block;height:1em;margin-left:.13em;width:.81em;padding-top:.5em;padding-left:.5em;}
                font-family: Tahoma;
    <p>Will redirect to <a href="">How do I test an activity with bookmarks?</a> on in 5 seconds</p>
            How do I test an activity with bookmarks?</h2>
        Bookmarks allow an activity to inform the host application and workflow runtime 
        that it needs more data before it can continue. The host application or some 
        other workflow extension can resume the bookmark with the required data at some 
        later point in time.
        <br />
        <br />
        Activities with bookmarks must be tested using WorkflowApplicationTest host 
        because WorkflowInvokerTest does not allow activities to use bookmarks.<br />
            <li><i>In this test you will be using Workflow Episode support provided by 
                extensions to WorkflowApplication in the Microsoft.Activities library. These 
                extensions can be used in any code not just unit test code.</i> </li>
            <li><i>This test code requires Microsoft.Activities and 
                Microsoft.Activities.UnitTesting &gt;= v1.8.5 </i></li>
            <li><a href="">
                Download the sample code<span class="externalLinkIcon"></span></a> for this 
                walkthrough from MSDN Code Gallery</li>