Replace an original report with a non-editable PDF report as part of a workflow step - SmartPlant Foundation - IM Update 48 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

A workflow step definition, GeneratePDFAndReplace, to replace original reports with non-editable PDF reports is provided with the core delivered model.

This step definition is related to the step class GeneratePDFAndReplace. The step class identifies the code (VB.NET class) used when running a step of this definition. The class is used to generate a PDF through either remote services for Hexagon file types or the queue server for non-Hexagon file types.

The process step class, GenerateAlternateRenditionAsyncStep, is used to generate non-editable PDFs and replace the original files with PDF files in a workflow. This process step generates alternate renditions for files on an object asynchronously. If an alternate rendition is not generated within the specified timeout limit, the step fails.

Two step definitions, SetTransmittalStateToRESERVED and AlternateRenditionFailed, are used to set the transmittal state to RESERVED and create an acknowledgement step, respectively. For example, if the PDF file is not generated in an external transmittal workflow, the step fails. The workflow proceeds to the Reject step, and the transmittal state is set to RESERVED. An acknowledgement step, AlternateRenditionFailed, is displayed in the To Do List.

For more information, see Generate alternate rendition asynchronously.

You can also configure alternate file types on the GenerateReportPDFAndReplace method that is used as an argument in the process step class to generate alternate file types and replace the original files with the generated files.