locked
How to invoke multiple operations on a server workflow within a singular transaction RRS feed

  • Question

  • Hello!

    I would like to ask for a hint for the following case.

    I would like to have a consumer workflow and a server workflow, both hosted by Windows Server AppFabric. Both use tracking as well as persistence.

    The consumer workflow uses a TransactionScope to establish a new transaction. The consumer workflow should be able to execute MORE than one Send activity towards an instance of the server workflow within the transaction.

    How should the server workflow be structurally made so the consumer can execute multiple Send activities towards it during the transaction as I get the the exception at the second invocation because the TransactedReceiveScope from the first Send has not completed yet?

     

    Best regards,

    Henrik Dahl

     

    Saturday, January 7, 2012 9:40 PM