#framework: # workflows: # administrative_state: # type: 'state_machine' # marking_store: # type: 'single_state' # arguments: # - 'administrativeState' # supports: # - RadiusBundle\Entity\ONU # places: # - active # - pre_notice # - suspend # - deleted # transitions: # active_to_pre_notice: # from: active # to: pre_notice # active_to_suspend: # from: active # to: suspend # pre_notice_to_active: # from: pre_notice # to: active # pre_notice_to_suspend: # from: pre_notice # to: suspend # suspend_to_active: # from: suspend # to: active # delete: # from: [active,suspend,pre_notice] # to: deleted # transition_state: # type: 'state_machine' # marking_store: # type: 'single_state' # arguments: # - 'transitionState' # supports: # - RadiusBundle\Entity\ONU # places: # - pending # - process # - fail # - success # transitions: # pending_to_process: # from: pending # to: process # process_to_fail: # from: process # to: fail # process_to_success: # from: process # to: success # fail_to_pending: # from: fail # to: pending # success_to_pending: # from: success # to: pending