What should you do to ensure that the workflow is able to correct previously completed work?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. You need to ensure that the workflow is able to correct previously completed work in the event of a downstream failure. What should you do?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. You need to ensure that the workflow is able to correct previously completed work in the event of a downstream failure. What should you do?

A.
Place the workflow logic in a SequenceActivity activity. Implement the logic to undo the original steps in the fault handler of the workflow.

B.
Place the workflow logic in a CompensatableSequenceActivity activity. Implement the logic to undo the original steps in the compensation handler. Execute a CompensateActivity activity after an error occurs.

C.
Place the workflow logic in a CompensatableTransactionScopeActivity activity. Set the IsolationLevel property to ReadUncommitted. Set the TimeoutDuration property long enough to ensure that the transaction does not time out or set the TimeoutDuration property to 0 for an infinite timeout.

D.
Place the workflow logic in a TransactionScopeActivity activity. Set the IsolationLevel property to ReadUncommitted. Set the TimeoutDuration property long enough to ensure the transaction does not time out or set the TimeoutDuration property to 0 for an infinite timeout.



Leave a Reply 0

Your email address will not be published. Required fields are marked *