Maximo

 View Only

 Automation Script to Print Report with Attachments

Jason Johnson's profile image
Jason Johnson posted Thu August 28, 2025 05:15 PM

Is it possible to print a report with attachments to a single PDF using automation scripts in the same way as through the interface? We have working code to print the report itself, just unable to include the attachments.

# Run report
reportBytes = reportAdminService.runReport(
    MXServer.getMXServer().getSystemUserInfo(),
    "woprint.rptdesign",
    "WOTRACK",
    parameterData,
    fileName,
    ReportAdminServiceRemote.OUTPUT_FORMAT_PDF
)