I have a scenario where I want to execute a scheduled call via the scheduler pallet at block number n. This call will change certain storage items of pallet.
So before this storage changes, I want to use offchain_worker() to dump storage to some HTTP server.
Now I feel that scheduled call will be executed before offchain_worker() gets triggered for block number n. Is this true? If yes, then what can be done to achieve my goal?