develop
send_state_event
def self.send_state_event(state, request, reason, comment, batch_id, user = nil) # rubocop:todo Metrics/ParameterLists