asked on October 30, 2023

Title pretty much states it.  I have a web service call with a rule that retrieves a PDF from an external web service.

I can retrieve the PDF running the rule as a test, downloading the file locally and viewing it as pdf.

The file is returned as an output parameter

In the workflow, the Rule is properly referenced, and the output parameter is referenced properly.

The Response_Content is of type File in the workflow rule invoke; the "Attach" step

However, when I create a new, blank Doc - the "attach electronic document" doesn't work when referring back to the result.file from the Rule . No error message or warning is generated by the workflow step, and the workflow itself throws no error.

(Same results if I use an EXISTING LF Doc, btw )

Tracing Tokens reveals that the output of the Rule step is of type Laserfiche.Workflow.ComponentModel.WorkflowFileData . The Rule returns a file.

How to achieve this?  And if such files CANNOT be used in this manner, what is a true, working use case for allowing the "File" type to returned in a web service response?

Thanks!

0 0