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.
Discussion posts and replies are publicly visible
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.
The Process variable "document" is of type "Document Data"
Can you confirm what value it holds as of the time the node is run?
Also can you confirm the type of pv!returnFileDataList?
The type of pv!retrunDataList is"Document". When it runs also it is of the same type.
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.
Thank you so much! After changing the type it worked.