Issue
What is the best way to cancel an action (CompleteActivityInstance
or RaiseCancelExceptionOnActivityInstance
/ RaiseCancelExceptionOnActivityInstanceByName
method)?
Solution
Use the RaiseCancelExceptionOnActivityInstance
web method.
You have to add an exception transition on the corresponding action as well in order to properly handle the exception.