on 11-20-2008 11:38 AM
Hi,
I have an Activity step which task executes a method of a class. This method returns result code (and I do binding to WF) and if it is not 0 I would like to terminate this step (workitem) in error status. How is the best and easiest way to do this?
Thank you in advance,
Anna
For the first time I have heard this requirement where you wish to put workitem in error. I will suggest you use Exceptions in place of error or may be just send a notification to someone who is monitoring about this return value.
Thanks
Arghadip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes, when exception is raised and not handled in WF it crashes. Thats what I tried to get.
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.