Define a void two-way operation using Receive activity

79 Views Asked by At

How do I configure a workflow to expose a two-way void operation?

So that:
1) caller is blocked until operation completes and
2) caller is notified on exceptions (faults)

Using Receive + SendReply seems clunky. For one it adds unnecessary noise to the workflow diagram.

1

There are 1 best solutions below

0
On BEST ANSWER

The Receive and SendReply pair is exactly how it is done. I agree that it adds a lot of unwanted complexity to you workflow. The best way to avoid that is to create a separate composite activity and wrap the Receive and SendReply in there. That way you see the simple composite activity on your workflow.