Variables

1
+1
-1

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

Comments

Submitted by enrico.curiotto on Fri, 09/19/2014 - 10:35

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!

Submitted by daradondo on Thu, 10/16/2014 - 21:34

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

Submitted by Sean McP on Fri, 10/17/2014 - 14:08

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

regards

2 answers

1
+1
-1

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

1
0
-1

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.

Notifications