Updated poller service to accept any customized resource action.