Adding extra requirement on required_action that it be a variable as well