get_action from DB