jondavidjohn/conductor — pull request #1 by joe-dwyer (2012-04-23 18:11:17+00:00)
Title: Built in mechanism to handle the success / failure of commands.

There should be some sort of mechanism for this. Granted this is uglier, but the functionality is probably worth it.

To keep to standard JSON we are limited in our ability to make this solution elegant.
E.G. an alternative could be incorporating ternary operators or something.

```"taskIdentifier" : [ "commandToExecute" ? [ "commandOnSuccess", "2ndOnSuccess"] : ["commandOnFail"]```