Variables

If one of my variables is going to be an upload file, which variable data type should I use?

1 Like

Hi Darando,

I’ll assume you’re using 6.*

Variables are no longer used to store “documents” of which a uploaded file is typed as.

To define a document you have to do it at the Pool level and add a document. Here you specify the appropriate mime type etc.

More details here…

regards
Seán

These are stored across all blocks of code, meaning that they can be changed by anyone who reads them.Constants: These are special types of variables that cannot be changed and which must be set before they are used. I will have to buy a resume so that I could get a job after that.

Hi Daradondo, can you explain a bit more your need please? what you want to do with your variable ? some details of your process? thanks!

the user will need to upload pictures that they have taken from their device. It also has to be used throughout the process. I don’t see a data type for uploaded files. I see it in the form but not for process data

what version of Bonita are you using? as I said before…see answer…photos are just a document type…

regards