Actions17
- Customer Actions
- Dictionary Actions
- Document Actions
- Product Actions
- Print Actions
Print → Print Document
AI-generatedSummary
Sends a print request to Optima and returns the generated PDF as binary data. Choose the required print format, and optionally filter the documents and pass named values to the print template.
Inputs
- Format ID (required) — Optima print format ID; defaults to 1.
- SQL Filter — Optional SQL expression used to select documents, such as
TrN_TrNID = 123. - Dynamic Parameters — Optional list of name/value pairs passed to the print template. Repeated names overwrite earlier values.
Output shape
One item containing PDF binary data and JSON metadata.
The binary property is
data, with MIME typeapplication/pdfand a generated filename such asdocument_<timestamp>.pdf. JSON includessuccess: trueandfileName. The request is made once per input item; errors are thrown unless Continue On Fail is enabled.