@danny_swbc What firmware version are you using? Send M115 and post the response. Your config.g calls another file, customconfig.g. Is there anything in that? Please also post your resurrect-prologue.g and latest resurrect.g files.
Have you read through the advice in the wiki page here? https://docs.duet3d.com/en/User_manual/Tuning/Resume
From the above wiki page, to use the resurrect.g file, you send M916:
After the power is restored, you can use command M916 to resume the print from where it stopped. This command runs file sys/resurrect.g which calls sys/resurrect-prologue.g at an appropriate point to home the printer
If you pause during a job, does it create a new resurrect.g file (it should)? Delete any resurrect.g file then test by turning off power during a job, does it create a resurrect.g? If you're connected via DWC, it should show whether a resurrect.g is saved.
The resurrect.g should save all the workplace coordinates in it. While I don't use workplace coordinates in my test setup, I've just tested the functionality, and it is working in the current firmware. This is the resurrect.g that was created:
; File "0:/gcodes/x_carriage_IAN.gcode" resume print after print paused at 2023-06-26 12:48
G21
M140 P0 S60.0
G92 X16.119 Y7.463 Z3.600
G60 S1
G10 P0 S195 R200
T0 P0
M98 P"resurrect-prologue.g"
M116
M290 X0.000 Y0.000 Z0.000 R0
T-1 P0
T0 P6
; Workplace coordinates
G10 L2 P1 X0.00 Y0.00 Z0.00
G10 L2 P2 X0.00 Y0.00 Z0.00
G10 L2 P3 X0.00 Y0.00 Z0.00
G10 L2 P4 X0.00 Y0.00 Z0.00
G10 L2 P5 X0.00 Y0.00 Z0.00
G10 L2 P6 X0.00 Y0.00 Z0.00
G10 L2 P7 X0.00 Y0.00 Z0.00
G10 L2 P8 X0.00 Y0.00 Z0.00
G10 L2 P9 X0.00 Y0.00 Z0.00
G54
M106 S1.00
M106 P0 S1.00
M116
G92 E0.00000
M83
M486 S-1
G17
M23 "0:/gcodes/x_carriage_IAN.gcode"
M26 S706324
G0 F6000 Z5.600
G0 F6000 X16.119 Y7.463
G0 F6000 Z3.600
G1 F1800.0 P0
G21
M24
This is the console output in DWC from turning off the power in the middle of a job:
26/06/2023, 12:48:20 M0
Printing paused at X16.1 Y7.5 Z3.6
Cancelled printing file 0:/gcodes/x_carriage_IAN.gcode, print time was 0h 2m
26/06/2023, 12:48:18 M25
Resume state saved
26/06/2023, 12:45:19 M916
File 0:/gcodes/x_carriage_IAN.gcode selected for printing
26/06/2023, 12:43:30 Connection established
26/06/2023, 12:43:16 Connection interrupted, attempting to reconnect...
HTTP request timed out
26/06/2023, 12:43:07 Resume state saved
Print auto-paused due to low voltage
getting really frustrating now especially with a few power cuts each month that invariably happen when work is on the machine
To be honest, if it's happening that frequently, I think complaining to your electricity supplier and/or a robust power backup solution would be better options.
Ian