Set the content type of uploaded file

So, I noticed that when uploading a file and setting it to a variable, it’s content type is always application/octet-stream.

I need to be able to change the content type to applicaiton/json of a file I am uploading, because I need to use that json file in a RESTAPICLIENT later in the workflow.

How can I achieve this?

I don’t think this is possible with EFormAspx action, since the content type is statically set to application/octet-stream.

I was, however, able to change the content type of the file after with a Web Service call using the “GetProcessInstanceContext” and “UpdateProcessInstanceData” methods. :slight_smile:

It would be nice to be able to set the content type of a file somewhere in the EFormAspx action though. Maybe in a future version?