This project is read-only.

Transitioning to an 'Error' state while using ReceiveAndSendReply Activities

Aug 3, 2010 at 12:48 PM

We are trying to implement a StateMachine that on normal states has several transitions sharing a Receive Activity as its trigger. Then on the Action portion of the Transition we are modifying the received data from the receive activity and sending a Reply accordingly. These actions are transition specific, that is each transition will perform different manipulations and then send the reply back to the caller. Up to this point everything goes smoothly. The problem we are facing arises when, during this specific actions an exception gets thrown. In this case we would like to transition to an 'error' state instead of the normal transition, but I can't find a way to perform this. Am I missing some option? Or can someone suggest an alternate way of accomplishing this behavior?

Thanks in advance,

Vítor Castro

Feb 28, 2011 at 10:56 PM

Any chance of getting a reply on this?


Vítor Castro