Multiple Attachments file field

1
0
-1

Hi

I am using Bonita v6 community and i need to attach multiple file attachments in one process so what are the steps ? does it need groovy script ?

and please if there is example i will appreciate it .

Regards

Comments

Submitted by yannick.lombardi on Wed, 02/11/2015 - 08:57

Hi. I don't understand what you want to do. Do you want to attach multiple files in the mail connector ?

Submitted by yalbednah on Wed, 02/11/2015 - 08:59

thank you for response no i mean in the file field on form ...

2 answers

1
0
-1

can i add more than one attachment in doc1 ? beacause i need it to be open to the user to add attachments as he want..

Comments

Submitted by yannick.lombardi on Wed, 02/11/2015 - 09:19

No you can't. One field can get only one file.

1
0
-1

You doesn't need any code. You just need to create a variable of type DocumentValue for each file in your process data. Then in your form, you set the output operation of each file as "DocumentValueVariableX takes value of field_FileX".

Like this After that you can use the "DocumentValueVariable" in any step to do what you want to do.

Comments

Submitted by Sean McP on Wed, 02/11/2015 - 11:53

Bonita 6.4 has Document Lists that enable multiple documents to be attached to a process for easier manipulation, have a look here ...

Submitted by yalbednah on Thu, 02/12/2015 - 04:25

hi Sean

i did try it and does not work ..incompatible type between list and file field!! ..does it need code ?

regards

Notifications