Incompatible Data Types
Comments
-
Ive been having an issue with data types as of recent. In one of my flows I am trying to combine multiple word documents and then convert the single merged document into a PDF. The "Combine Multiple Word Documents" step inputs a FileData type, but its output is a Byte. Thus, when I try to convert the merged document to a PDF, it does not let me because the input is not a FileData type. Is there anyway to fix this by casting the datatype or is there a step that converts Byte data into FileData?
Thank you
[i]edited by AV on 5/16/2019[/i]
[i]edited by AV on 5/16/2019[/i] -
Adjusting the mappings should resolve this issue. Instead of the “select from flow” option on the “convert document” step select the “Build Data” option. This option will create a “Contents” field that accepts the Byte Data type. Then map the Byte output from the “Combined Multiple Word Document” step to the “Contents” field on the "convert document" step.
-
Thank you Jared! The steps above worked.