Skip to main content
hema.mathivathanan
January 2, 2024
Solved

Convert DocX to PDF Aspose

  • January 2, 2024
  • 7 replies
  • 0 views

Hi, 

I am using a plugin this plugin - Convert DocX to PDF Aspose. 

In the script task, I am passing the source Doc Id and Generated Doc Folder Id and storing it to a process variable.
In the plugin, I am passing the PV value in the "source file data list" ( Input). I am storing the output in another process variable. 
The PM got completed without any errors, but the output Process variable is empty. Can someone please help here. 

    Best answer by mikes0011

    pv!returnDataList (as you can tell from your screenshot) is also expected to be "DocumentData" type, not just "document".  So the way you have it set now, it's trying to cast any output into an array of simple "document" type, which will result in essentially nothing being written to it since it won't be able to make any sense of such a casting.

    7 replies

    mikes0011
    Brainy
    January 2, 2024

    What is the data type of "pv!document"?  It seems like you're probably just passing in a plain document type variable for "Source File Data List", which clearly requires an array of a specialized dictionary of different elements.

    hema.mathivathanan
    January 2, 2024

    The Process variable "document" is of type "Document Data"

    mikes0011
    Brainy
    January 2, 2024

    Can you confirm what value it holds as of the time the node is run?

    Also can you confirm the type of pv!returnFileDataList?