<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://www.codeplex.com/rss.xsl"?><rss version="2.0"><channel><title>WCFWorkflow Forum Rss Feed</title><link>http://www.codeplex.com/WCFWorkflow/Project/ListForums.aspx</link><description>WCFWorkflow Forum Rss Description</description><item><title>New Post: Load predefined items in pulldown in Activity Property page</title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=47299</link><description>&lt;div style="line-height: normal;"&gt;Hi,&lt;br&gt;
&lt;br&gt;
I was wondering if anyone had any ideas on the following. I want to read an xml file which will contain specific values that I want to load and display as a pull-down for a property for a custom activity. In other words, imagine I have a property called DocumentType, and my xml contained the following values Invoice, Credit Note and Statement. I want to display a property called DocumentType in the Property Page when in the IDE which will be represented by a pull-down which in turn will list my various options.&lt;br&gt;
&lt;br&gt;
Any ideas? Even better, do you have a sample code?&lt;br&gt;
&lt;br&gt;
Much appreciated.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
&lt;br&gt;
T.
&lt;/div&gt;</description><author>tfierens</author><pubDate>Tue, 17 Feb 2009 00:49:49 GMT</pubDate><guid isPermaLink="false">New Post: Load predefined items in pulldown in Activity Property page 20090217124949A</guid></item><item><title>NEW POST: Fault handling with WCF activities</title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=11476</link><description>&lt;div class="wikidoc"&gt;
Duncanjs,&lt;br /&gt;Fisrt of all sorry for this very late reply. I always forget to check the discussion list and I don't reciev mail when something is posted :-(&lt;br /&gt; &lt;br /&gt;In the case of authorization the best way to do this is probably just using the WCF AuthoriationService class that you can implement yourself and add that to the service configuration. this way tthe message is never dispatched to the WCF stack in the workflow and therefore you will not be bothered with terminated workflows if you would throw an exception.&lt;br /&gt; &lt;br /&gt;I do agree that a fault activity might be a nice thing to look into, I never needed it myself because I always use the service implemetnation pattern Message in - Messgae out where the out message contains the information that authorization failed. So I handle the exceptions in the code and return the information in the return message, not using Soap Faults. &lt;br /&gt; &lt;br /&gt;If I can find some time I will see if I can create such a Fault activity as well. &lt;br /&gt;thanks for the feedback,&lt;br /&gt;Marcel&lt;br /&gt;
&lt;/div&gt;</description><author>vriesmarcel</author><pubDate>Wed, 05 Sep 2007 18:33:12 GMT</pubDate><guid isPermaLink="false">NEW POST: Fault handling with WCF activities 20070905063312P</guid></item><item><title>NEW POST: Loading workflow from a XOML file</title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=11533</link><description>&lt;div class="wikidoc"&gt;
Hi!&lt;br /&gt; &lt;br /&gt;How can I load a XOML workflow from the filesystem/database when I use your WCF activities?&lt;br /&gt;As far as I have seen the whole WCF hosting code is autogenerated...&lt;br /&gt; &lt;br /&gt;Thanks&lt;br /&gt; &lt;br /&gt;Klaus Aschenbrenner&lt;br /&gt;http://www.csharp.at&lt;br /&gt;http://www.csharp.at/blog &lt;br /&gt;
&lt;/div&gt;</description><author>Codeman1980</author><pubDate>Tue, 19 Jun 2007 10:05:16 GMT</pubDate><guid isPermaLink="false">NEW POST: Loading workflow from a XOML file 20070619100516A</guid></item><item><title>NEW POST: Fault handling with WCF activities</title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=11476</link><description>&lt;div class="wikidoc"&gt;
Hi Marcel,&lt;br /&gt; &lt;br /&gt;Thank you for providing this code!  I've been struggling with some limitations with asmx web services in general but could not look at WCF because workflow activities for this are still some time away from Microsoft.&lt;br /&gt; &lt;br /&gt;One big difference I notice with your activities as appose to the asmx ones are you have no WebServiceFault equivalent?  I have been struggling to understand how best to handle returning faults without terminating the workflow for example if there was an authorization problem or database constraint violation or the like during the operation between the input and output activities.&lt;br /&gt; &lt;br /&gt;How would you suggest handling these situations with your activities?&lt;br /&gt; &lt;br /&gt;Regards,&lt;br /&gt;Duncan&lt;br /&gt;
&lt;/div&gt;</description><author>duncanjs</author><pubDate>Sat, 16 Jun 2007 07:40:17 GMT</pubDate><guid isPermaLink="false">NEW POST: Fault handling with WCF activities 20070616074017A</guid></item><item><title>NEW POST: Custom SQL work flow service</title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7628</link><description>&lt;div class="wikidoc"&gt;
Marcel,&lt;br /&gt; &lt;br /&gt;Yes your right, querying instance is not the place, and i'm now glade that binary formating is used for serialisation.&lt;br /&gt;Tracking extracts are designed for querying state. &lt;br /&gt; &lt;br /&gt;Cheers&lt;br /&gt;Sonny M&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>SonnyM</author><pubDate>Thu, 03 May 2007 04:43:15 GMT</pubDate><guid isPermaLink="false">NEW POST: Custom SQL work flow service 20070503044315A</guid></item><item><title>ice to have - Configuration settings: </title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7758</link><description>&lt;div class="wikidoc"&gt;
You are right. And at this moment the only way to fix this is what you stated and that is to create a custom persistence service that handles the logic.&lt;br /&gt;
&lt;/div&gt;</description><author>vriesmarcel</author><pubDate>Mon, 12 Mar 2007 05:42:15 GMT</pubDate><guid isPermaLink="false">ice to have - Configuration settings:  20070312054215A</guid></item><item><title>Custom SQL work flow service: </title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7628</link><description>&lt;div class="wikidoc"&gt;
Sonny, You definitly need to look at tracking. Use tracking Extracts to get the data you want and define some tables you feel comfortable with for querying.&lt;br /&gt; &lt;br /&gt;Persistency is absolutely not the place for querying running instances.&lt;br /&gt;Regards,&lt;br /&gt;Marcel&lt;br /&gt;
&lt;/div&gt;</description><author>vriesmarcel</author><pubDate>Mon, 12 Mar 2007 05:38:26 GMT</pubDate><guid isPermaLink="false">Custom SQL work flow service:  20070312053826A</guid></item><item><title>ice to have - Configuration settings: </title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7758</link><description>&lt;div class="wikidoc"&gt;
 &lt;br /&gt;Not sure if this belong in the work flow threads or page flow threads:&lt;br /&gt; &lt;br /&gt;Under the page flow custom section within the config file there are work flow service settings.&lt;br /&gt; For example, &lt;br /&gt;&amp;lt;pageFlow&amp;gt;&lt;br /&gt;		&amp;lt;pageFlowProvider providerType=&amp;quot;Microsoft.Practices.PageFlow.WorkflowFoundation.WorkflowFoundationPageFlowProvider, Microsoft.Practices.PageFlow.WorkflowFoundation&amp;quot;/&amp;gt;&lt;br /&gt;		&amp;lt;hostingWorkflowRuntime Name=&amp;quot;Hosting&amp;quot;&amp;gt;&lt;br /&gt;			&amp;lt;Services&amp;gt;&lt;br /&gt;				&amp;lt;add type=&amp;quot;System.Workflow.Runtime.Hosting.SqlWorkflowPersistenceService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; connectionString=&amp;quot;The actual Connection String details&amp;quot; LoadIntervalSeconds=&amp;quot;5&amp;quot; UnloadOnIdle=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;				&amp;lt;add type=&amp;quot;System.Workflow.Runtime.Hosting.ManualWorkflowSchedulerService, System.Workflow.Runtime, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot; useActiveTimers=&amp;quot;true&amp;quot;/&amp;gt;&lt;br /&gt;				&amp;lt;add type=&amp;quot;System.Workflow.Activities.ExternalDataExchangeService, System.Workflow.Activities, Version=3.0.00000.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35&amp;quot;/&amp;gt;&lt;br /&gt;			&amp;lt;/Services&amp;gt;&lt;br /&gt;		&amp;lt;/hostingWorkflowRuntime&amp;gt;&lt;br /&gt;		&amp;lt;pageFlowInstanceStoreProvider providerType=&amp;quot;Microsoft.Practices.PageFlow.Storage.EnterpriseLibrary.PageFlowInstanceCorrelationSqlProvider, Microsoft.Practices.PageFlow.Storage.EnterpriseLibrary&amp;quot; connectionString=&amp;quot;Connection Name that references connection String Section&amp;quot;/&amp;gt;&lt;br /&gt;		&amp;lt;pageFlowInstanceCorrelationTokenProvider providerType=&amp;quot;Microsoft.Practices.PageFlow.Storage.EnterpriseLibrary.CookiePageFlowCorrelationTokenProvider, Microsoft.Practices.PageFlow.Storage.EnterpriseLibrary&amp;quot;/&amp;gt;&lt;br /&gt;	&amp;lt;/pageFlow&amp;gt;&lt;br /&gt; &lt;br /&gt;The page flow instance provider allows you to just put in the 'connection name' which is used to references the connection string via connection string section. However, under the hosting work flow run time when adding a sql work flow persistence service you can NOT just set a connection name, but need to put the actual connection string within it. It would be nice to just to put in a connection name so that all connection string within the configuration file are centralized within the connection string section.&lt;br /&gt; &lt;br /&gt;•	A work around is to code a custom persistence service that handles the logic to reference from the connection strings section, but that seems over kill.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;Regards&lt;br /&gt;Sonny M&lt;br /&gt;
&lt;/div&gt;</description><author>SonnyM</author><pubDate>Thu, 01 Mar 2007 22:47:18 GMT</pubDate><guid isPermaLink="false">ice to have - Configuration settings:  20070301104718P</guid></item><item><title>Custom SQL work flow service: </title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7628</link><description>&lt;div class="wikidoc"&gt;
Marcel,&lt;br /&gt; &lt;br /&gt;I have a situation where a web workflow has activates associated with quotes, I need away for customer support to query the database to find out what state a person putting in a quote is at. Produce reports using MS reporting service ( no need to create an instance of the work flow.&lt;br /&gt; &lt;br /&gt;1)	The ‘User Data; property in the work flow contains strongly typed object also serializable, lets say customer data contract (first name last name) used to identify the work flow instance the client is using.&lt;br /&gt; &lt;br /&gt;2)	Page flow is also used with the work flow in a web environment.&lt;br /&gt;3)	I want to have the ability to query the database with out creating an instance of the work flow, Admin pages that just query the work flow database.&lt;br /&gt; &lt;br /&gt;•	My understanding of tracking is that it contains meta-data about activities and events, no actual data such as user data within the work flow. But, will go back and look into the tracking. The instance is still in binary format.&lt;br /&gt; &lt;br /&gt;If I have the ability to query the database, then I can allow customer support to find a specific instance within the work flow and override the instance, take over it and finish the work flow for a customer.&lt;br /&gt; &lt;br /&gt;•	Hope that makes sense&lt;br /&gt; &lt;br /&gt; Regards&lt;br /&gt;Sonny M&lt;br /&gt;
&lt;/div&gt;</description><author>SonnyM</author><pubDate>Wed, 28 Feb 2007 11:51:20 GMT</pubDate><guid isPermaLink="false">Custom SQL work flow service:  20070228115120A</guid></item><item><title>Custom SQL work flow service: </title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7628</link><description>&lt;div class="wikidoc"&gt;
Sonny,&lt;br /&gt;Can you please describe from what requirement you want to be able to use a different persistence format then binary?&lt;br /&gt; &lt;br /&gt;I can't think of a reason why you woul want this. If it is to be able to query status of a workflow from persistence that you need to use the tracking services in stead. It is a common misunderstanding that people want to query the persistence store for status information, but the persistence store is only used for providing workflow robustness.&lt;br /&gt; &lt;br /&gt;Also be aware of the fact that persistence data contains more then the activity tree, because it needs also to keep track of work already done so a compensation can be initiated after persistence has occured. &lt;br /&gt; &lt;br /&gt;Can you give me an idea of the usecase for what you are trying to chage persistence format?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Marcel&lt;br /&gt;
&lt;/div&gt;</description><author>vriesmarcel</author><pubDate>Wed, 28 Feb 2007 09:48:01 GMT</pubDate><guid isPermaLink="false">Custom SQL work flow service:  20070228094801A</guid></item><item><title>Custom SQL work flow service: </title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7628</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;I've done some further digging around and come to the following conclusion:&lt;br /&gt; &lt;br /&gt;To code a custom persistence service the base class(WorkflowPersistenceService, IPendingWork) needs to be inherited. They have a dependency on the 'Activity' class which also has a dependency on PendingWorkItem class.&lt;br /&gt;the 'pending workItem' class can be described as a container for the serialized work flow object. The property within the class 'public byte[] SerializedActivity;&lt;br /&gt;' that contains the data is byte[] which means we can only use binary formatter :(.&lt;br /&gt; &lt;br /&gt;So regardless of the custom state service we write, we are locked into using binary formatter unless we re-code some of the work flow engine and change the db schemes for state table, which makes it a custom solution for the one workflow which is not good.&lt;br /&gt; &lt;br /&gt;I'm hoping i my view has a short fall and that someone can explain another option, help much appreciated.&lt;br /&gt; &lt;br /&gt;Regards&lt;br /&gt;Sonny M&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt; I’m surprised there is no config attribute to explicitly defined the serialization method just like majority of other .Net providers.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;</description><author>SonnyM</author><pubDate>Tue, 27 Feb 2007 22:45:57 GMT</pubDate><guid isPermaLink="false">Custom SQL work flow service:  20070227104557P</guid></item><item><title>Custom SQL work flow service: </title><link>http://www.codeplex.com/WCFWorkflow/Thread/View.aspx?ThreadId=7628</link><description>&lt;div class="wikidoc"&gt;
 &lt;br /&gt;I have a need to serialize work flow activates as XML ‘not’ binary format. so I have gone down the path of a custom sql work flow service which will give me the capability to override methods that serialize and de-serialize. However, I have questions that need answering prior to doing this:&lt;br /&gt; &lt;br /&gt;Do I change the underling 'state' table schema within the work flow db schema from binary column to ntext or create a new table and write to it instead.&lt;br /&gt;The second choice seems the most likely but then I need to override more methods across types.&lt;br /&gt; &lt;br /&gt;Do I create new db tables or just modify the existing state table.&lt;br /&gt; &lt;br /&gt;Direction would be much appreciated.&lt;br /&gt;Cheers&lt;br /&gt;SonnyM&lt;br /&gt;Sonny M&lt;br /&gt;
&lt;/div&gt;</description><author>SonnyM</author><pubDate>Tue, 27 Feb 2007 01:24:09 GMT</pubDate><guid isPermaLink="false">Custom SQL work flow service:  20070227012409A</guid></item></channel></rss>