The prerequisite for this recipe is that we have a table with a state machine that has been generated.