How to handle attachment

Hello,

How can I use multiple attachment in Bonita 6.3, and if possible with example?

thanks a lot

Multiple Documents were introduced in 6.4. Depending on your use case, you can create a multi instantiated call activity which links to a process with a document.

HTH,

Hi,

There is a limitation in the Community edition: file widget cannot be “multiple” whereas you can declare a document as multiple in the process definition.

Multiple file widget is a feature of the Subscription edition.

What you might want to do with community edition is to add multiple file widgets and use some Groovy script to update the process document data.

You can refer to documentation about documents for further details.

Sorry for that, i’m using 6.4, but when I choose multiple attachment i could but there’s always this error comes up keep in mind the same step I used for single attachment works…

the operator “set document” is not compatible with the left operand

You don’t say what version you are using Community or subscription.

Assuming Subscription:
regarding Set Document you have to change the TYPE of the variable, when using a document it should be document, but when multiple documents it should be document List.

I don’t have Subscription so I’m guessing but that’s what I think is the issue.

regards

I have a Community version. So how to do it.