Set Appliance State:

Isolate Mains Power to appliance as per TOPs P4
Set Multimeter to Resistance Set meter to measure resistance
Remove both ends of the flame sense harness, from the electrode and from X501 on the PCB

Measurement:

Measure the resistance of the flame sense harness lead.
Replace the harness after the test.
Expect continuity / zero resistance.
Is the resistance measured as expected?