Implemented the mechanism of accessing variable values inside an action.