In my ruleflow, I have a task which implements a decision table.
My question is how can I abort the ruleflow in certain cases so that the next task in the flow is not executed?
You can always abort by throwing an exception - that will abort the execution all the way to the closest enclosing try/catch.
I would, however, suggest that you consider a branch in your ruleflow instead. That is a lot more descriptive, and probably more maintainable. Your branch can test the return value from the decision table, or perform a test on the state changed by the decision table.
Retrieving data ...