Use state machine on publish
Rename isser on JobEntity
Use machineState to manage transitions