When does a Windows workflow process go to sleep?
1 answer
A workflow instance is idle when:
- waits for external event
(ReceiveActivity
/ WCF orListenActivity
/ ExternaDataExchange) - a
DelayActivity
performs
Next, the workflow instance is saved when:
- it is in a waiting state (see above)
- completed or completed
- a
TransactionScopeActivity
orCompensatableTransactionScopeActivity
completes - execution of the custom action marked with the attribute
PersistOnClose
completed - Unload () (or TryUnload) is called
+5
a source to share