Reputation: 3878
I'm using the promoted activity (http://msdn.microsoft.com/en-us/library/ff642473.aspx) to store information needed to track a workflow. During execution values are correctly stored and I can query them using the view but, if the workflow is persisted, the view becomes empty and I can't find information anymore.
Can someone explain me how to keep those values until the natural completion of the workflow?
Thanks
update
a few more details
Upvotes: 1
Views: 556
Reputation: 3878
I finally found the problem. In the web.config I was adding my extension after the element, but order matters.
My configuration looks like this now: ..
Everythings works fine now and promoted values are always available.
Upvotes: 0
Reputation: 27632
Each time a workflow is persisted the complete state is persisted. There is no incremental addition. So by not adding the promoted properties on subsequent persists you are effectively removing them from the instance store.
Upvotes: 2