My workflow has been tested very stable (as shown in the picture I sent) but when in Active mode, the UploadFile node shows an error File not Found. Can you advise me?
It looks like in active mode your upload file fails because the binary data is lost when it comes into merge. But you said this works in test mode which means that binary data is stored in memory in test mode but is not preserved across Merge nodes in active mode. It would only preserve it if you give the binary data as your first input. so your GOM file email needs to be in Input 1 of Merge.
Binary data is not preserved across Merge nodes in Active mode unless it’s in the first input.
I think the merge node before the upload file is receiving an array of binary files, not just one file, because the code node before it is reproducing the binary file.
Can you try replacing the code node with a simple split-out, so it only passes the binary file?
Thanks for sharing,
but my Code node (GOM FILE EMAIL) is to convert from binary attachment_0, attachment_1 … attachment_n to binary.“data” to UPLOAD FILE DRIVE.
And When i test workflow, WF worked very well. But i turn on Active Mode, Node UPLOADFILE fail.
You likely need $input.all() instead of items, which is not defined in your GOM FILE EMAIL node.
But I wonder how would it work in test mode without this being fixed?
Upd: I was wrong. items is an old way of referring node input, now accessible by $input.all(). Still works, however it is marked as a mistake for a reason. It is recommended to change it for a proper input reference.