Support for dynamic resource transitions driven by the response from the current command

this null returning would possibly result in a NPE.