States StateDefinition A StateDefinition may be defined using one of the following, depending on the desired behaviour: action consumeEvent delay error eventsAnd eventsXor foreach generateEvent getter noop parallel setter switch validate