Today the Action retry policy kicks in if the action throws an exception. In many cases, the application wants to retry the action based on the StatusCode/Output of the action, not just on exception. In my case, I want to retry the action "n" if it returns a specific status code.