Trigger a dispatch event before running the RPC