UX - Task Scheduler / PDF Attached Mail Send Issue

Hi,

I’m trying to configure a mail send task in UX Task Scheduler. I have configured the SMTP related parameters and now I’m able to send mail.

I try to send mail with a PDF attachment of a UX view as customer requested, but it doesn’t export the related page to PDF properly.

By using default settings, it creates the PDF output but it just shows only the login page.

When I increased the printerPauseBeforePrint it just could not create any PDF output and created below error logs.

2025-09-26 17:23:29 com.cubewise.k ERROR PrintJob:1501 Some of the PDFs did not complete in time.
2025-09-26 17:23:29 com.cubewise.k INFO PrintJob:1510 PrintJobTotal: 1 (With 1 Reported Printing Issues) is COMPLETED after 60003ms
2025-09-26 17:23:29 com.cubewise.k WARN PrintJob:1513 PrintJobErrorWithURL → http://localhost:8880/ButceContentStore/#!/wizard/a4.z4/a4.z4.t3.v3
2025-09-26 17:23:29 com.cubewise.k WARN TaskRunJob:1155 Running job… Processing Reports - PrintPDFRetry
2025-09-26 17:23:29 com.cubewise.k INFO TaskRunJob:1315 Merging: 0 pdf(s)
2025-09-26 17:23:29 com.cubewise.k INFO TaskRunJob:391 Sending Email…
2025-09-26 17:23:29 com.cubewise.scheduler.pojo.ChromiumWebSocketEndpoint ERROR ChromiumWebSocketEndpoint:73 WebSocket CLOSED - ws://localhost:5250/devtools/page/90567CE6309B8271DFE7F76519F727DE, due to: CloseReason: code [1006], reason [null]
2025-09-26 17:23:29 com.cubewise.k INFO TaskRunJob:397 Sending Email Response Code: 200
2025-09-26 17:23:29 com.cubewise.k INFO TaskRunJob:1188 Running job… Processing Reports - DONE
2025-09-26 17:23:29 com.cubewise.k INFO TaskRunJob:1307 Running job… [MailKrediRapor] DONE
2025-09-26 17:23:29 com.cubewise.a WARN ChromiumPrinter:701 [5250] PrintPageRequest: [http://localhost:8880/ButceContentStore/#!/wizard/a4.z4/a4.z4.t3.v3?print], Completed: [false]
2025-09-26 17:23:29 com.cubewise.k ERROR PrintJob:1476 PrintJob[1] ERROR - sleep interrupted
java.lang.InterruptedException: sleep interrupted
at com.cubewise.k.a(SourceFile:1476) ~[appbase.jar:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_392]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_392]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_392]
at java.lang.Thread.run(Thread.java:750) [?:1.8.0_392]
2025-09-26 17:23:29 com.cubewise.k ERROR PrintJob:1483 PrintJob[1] PDF Generation Error: http://localhost:8880/ButceContentStore/#!/wizard/a4.z4/a4.z4.t3.v3

Need your helps to proceed,

Regards,