They observe/measure the local particle first (LA) which causes the entangled system to collapse into definite states. Then they measure the remote particle (RA) afterward to confirm that it matches the expectation.
They know the "when" that the wavefunction collapse occurs for RA -- it's the moment they chose to observe LA. The "magic" of entanglement is that it's not bound by the speed of light and effectively instantaneous.