2

Scenario

  • DeclarativeServiceLibrary[FlowChart]
    • with Two Recieve - Send Reply Activities
    • persistence enabled and working
  • WebApplication
    • "Service Reference" is above mentioned declarative service library

Question

  • Is there anyway to Suspend workflow after receiving reply from first activity ?
  • Whether it is possible via exposed WCF Service method?

1 Answer 1

2

You can do so by adding a WorkflowControlEndpoint to the workflow service. Use a WorkflowControlClient at the client side to suspend, or abort etc, the workflow instance using the workflow instance id.

See here for more details. If you are using the AppFabric the WorkflowControlEndpoint is automatically added and configured using the NetNamedPipeBinding binding but you can use another binding if you like.

1
  • thank you for showing right direction. I'll checkout WorkflowControlEndPoint... I'm not using AppFabrice, may be in future! Sep 21, 2010 at 10:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.