How to force a workflow to terminate?
How can i abruptly terminate a workflow in a middle of an activity inter开发者_运维问答rupting the flow sequence?
Can you not use the Terminate activity?
If you want to be less ... nice ... you can always just chuck an exception (and possibly catch it passing it off to a Terminate/Log activity). Just keep the interactions exposed and documented.
Unfortunately, I find the "pretty picture" to just get in my way most of the time :-/ Sometimes using a State vs. Sequential workflow can be helpful.
精彩评论