书签交易WF4.0内 [英] bookmarking inside a transaction WF4.0
问题描述
我创造长期运行的工作流程,将创建一个书签的持久性。
当我执行工作流是工作流的工作就像一个魅力。
问题就在这里,当我将整个工作流程的事务范围内,它没有完成其执行,一旦碰到 .waitone()
我看不到执行。
I am creating long running workflow with will create a Bookmark for the persistance.
When I execute the workflow it is workflow is working like a charm.
Issue is here when I enclose the entire workflow in transaction scope, it is not completing its execution once it hits .waitone()
I don't see the execution.
当然,我们所需要的交易将present了工作流程。我查了DTC设置的DB其打开。我认为问题是与书签在WF 4.0和交易在它之上。
For sure we need the transaction to be present out the workflow. I checked the DTC setting on the DB its ON. I think issue is with bookmarking in WF 4.0 and transaction on top of it.
推荐答案
微软确认WF 4.0 不支持的长期运行工作流程< STRONG>里面的TransactionScope 。 (我没有这个证明,但我们与微软团队的电话,他们证实,其不支持)。如果你这样做可能出现的情况:工作流暂停或挂起
Microsoft confirms that WF 4.0 does not support long running workflows inside transactionscope. (I don't have this documented but we had a call with Microsoft team, they confirmed that its not supported). What could happen if you do this: Workflow pauses or hangs
其怪异的整个WF 4.0与transactionscopes问题(工作流项目之外调用)。虽然我说PersistableIdle.unload(应坚持到数据库,并应卸载从内存中),它看起来喜欢一个简单的工作。我不明白为什么它具有transactionscopes问题。
Its weird that Entire WF 4.0 has issues with transactionscopes(invoked outside workflow project). Even though I say PersistableIdle.unload (which should persist to the database and should unload from the memory) which look likes a simple job. I don't understand why its having issues with transactionscopes.
这篇关于书签交易WF4.0内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!