Same as for publish, I'd guess you'll want a STATE_ERROR here to indicate a step failed. I suppose you could use complete to refer to both success and failure now that I think about it, so if that's your intention ignore this (or consider two separate states and a tuple that defines all complete states).