NodeJS server attachment gone

Running 2022.2.1.5157.

Process has an HTTP input with setting “Loop through” off. I use a VBscript to find the link in the xml to the actual datafile. This works fine.

However when I migrate to the NodeJS Server input using the same settings, I cannot copy/use the file. According to the NodeJS log it is written to the PP tempdir. It seems it is deleted almost instantly?

With the HTTP Input, uploaded files are stored in the C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\http\[process]\[uniqueID] folder

With the NodeJS Input, uploaded files are stored in the C:\ProgramData\Objectif Lune\PlanetPress Workflow 8\PlanetPress Watch\nodeJS\[process]\[uniqueID] folder

The XMLGet statement to obtain the file name is the same in both cases:

xmlget('/request[1]/files[1]/file[1]',Value,KeepCase,Trim)

I had a NoTrim in the xmlget (which was working ok with the old HTTP server input), but I noticed an CRLF and spaces in the new PP xml ticket. The Trim option did the trick :wink:

the CRLF spaces stuff seems like a bug to me?

Now that you mention it, it does appear to be a bug.
I will report it to our Dev team. Thanks!