PDF file not created in destination path after successful execution of Export to PDF task by TIBCO Spotfire Automation Services when executed on the server

PDF file not created in destination path after successful execution of Export to PDF task by TIBCO Spotfire Automation Services when executed on the server

book

Article ID: KB0080672

calendar_today

Updated On:

Products Versions
Spotfire Automation Services 7.5 and higher

Description

The "Export to PDF" functionality in Tools > Automation Services Job Builder allows you to export all or parts of an analysis to a PDF file. The exported PDF file is saved to the path in the job configuration, which must be accessible from the job execution location. The job execution location is either the local TIBCO Spotfire Analyst client machine if executing locally, or on the Node Manager server when executing the job on the Automation Services server either via "Execute on server" in the Automation Services Job Builder or via the Client Job Sender. The path provided should be accessible and is normally specified as a UNC path like  \\spotfirewebnm1\Test .
User-added image

When trying to run the job locally via Automation Services Job Builder, the exported PDF file is saved to the destination correctly, but when executing the job on the server, the job may complete successfully with no errors but the PDF file does not get created in the destination path as expected.

Issue/Introduction

http://supportapps.na.tibco.com/case/01455752

Resolution

When the "Export to PDF" task is executed on the Automation Services server (either via "Execute on server" in the Automation Services Job Builder or via the Client Job Sender), Automation Services will export the PDF from the Node Manager machine and be run using the service account running the Node Manager service.

If after job execution the PDF file is not located in the destination folder, verify the following points:
  1. Ensure the 'Destination Path' is accessible from the Node Manager machine in File Explorer. As a best practice, this would be a UNC path like \\spotfirewebnm1\Test.
  2. Ensure the service account running the Node Manager service has Write permissions on the destination path
Note: If you have multiple Automation Services services on multiple Node Managers, ensure these points on all Node Managers since the execution may take place on any service.

Additional Information

Doc: Export to PDF