Assign form to user - message object 512 KB limit

Hi Allan, hope you are doing fine.

I’m using the assign node to create a user form, and I’m trying to pass a workitem that also has a file to it. And I get the error Error: msg object is over 512KB in size, please clean up the msg object before using Assign.

What I’m trying to accomplish, is to provide a file download link on the form, so that the user can download the file. The file gets in opencore via a workitem upload, which I pop before trying to assign to user.

Tried to find a setting in config that might override this, but couldn’t find. Can you please advise on how to overcome this? Is there a way to override the 512KB limit?

Currently the only way I can think of, is to have a nodered HTTP in that will call the api download file, and from there I could somehow link it. But I feel there should be a easier way. Any idea will help, Thanks :folded_hands:

just to circle back here. I ended up just passing the file name from the work item in the payload, and created an endpoint in nodered, that downloads the file on request

1 Like