This is dealing with Windows WorkFlow 4.x
I have create a .XAMLX (WCF) workflow project that has about 7 - 10 pick branches on it.
I consume this service in an .aspx web client.
Inside the web.config file of the XAMLX (WCF) service project.
I added something like
me="ApplicationServerAzureWork flowInstanceStoreConnectionStr" ing
Inside the "SendToReply" activity of the pick branch.
I checked the property that says "PersistBeforeSend".
When I check my local "SqlServer2008 R2" database.
No persistence data is stored.
What am I doing wrong???
Also, if I wanted to add my own tracking data to the 4.0 SqlInstanceStore.
How will I do this?
ThanksThursday, May 03, 2012 4:04 AM
1) You may want to use appfabic for windows server as opposed to appfabic for azure
flowInstanceStoreConnectionStr ing in the config may not point to your local sql server config store.
- Use App fabric config tool to specify where the persistnace and monitoring stores are.
3)Custom tracking information can be sent out by using customtrackingrecord within custom activity. For example
record = new CustomTrackingRecord( "CustomName");
record.Data.Add("RetryAttempt", 10); // tracking variables
context.Track(record); // acutally emits the custom tracking records. The context variable is the custom activity context...Wednesday, May 16, 2012 11:19 PM