document

How i can handly a document inside bonita work flow?

Hi, everybody,

I have a simple work flow that it has only one human task. This human task contains a form with a attached widged. I have done a lot of questiosn about this issue, but i haven't gotten any clear response.

The question is very simple, and it is the follows:

  • When i have attached a document, where exactly it saves?
  • How i can change the default directory by another directory?
  • How i can get the filename ?

Many Thanks!!

Handle document list (delete / add) with 7.2

Hello

I have a process with a document list. The document list is created on the instantiaction form.

In one of the human tasks a user should be able to view / add / delete his documents. I first changed formInput to a Javascript expression to get the documents from the context (and other REST API variables):

return {
    "marchePublicRequestInput": $data.marchePublicRequest,
    "newStatus": "resend",
    "piecesJointesInput": $data.context.piecesJointes_ref
}

I also have an empty JSON object newDocuments

Contrainte document MimeType "application/pdf"

Bonjour,

J'aimerais limiter le type de fichier a charger sur mon processus en PDF uniquement.
J'ai ajouter une contrainte et j'ai définie sa valeur a :

Nom : OnlyPdfDocument
expression : return pjDemandeCompteDocumentInput.getContentType() == "application/pdf" ? true : false
Message d'erreur : Veuillez charger un document de type PDF

Sur mon formulaire j'arrive a charger tout type de document.
Someone can help me

Fusion de document PDF

Bonjour,

jai un processus qui a plusieurs document (PDF) que j'aimerais fusionner en un seul document avec un nom bien défini.

Quelqu'un pour me mettre sur une piste ?

Easy way to save multiple documents to Alfresco

Is there an easy way to save multiple documents from Bonita to Alfresco dynamically?
I have found some instructions in the following link, but it didn't work for me.
http://community.bonitasoft.com/questions-and-answers/multiple-documents...

[RESOLVED] Dynamic destination folder for Alfresco connector

How can I make a dynamic destination folder for Alfresco connector, so that the path is not always the same?
For example, I need to make a new folder in Alfresco whenever the process is started so that the documents for the process would be saved as in tree hierarchy as in /User%20Homes/BPM/Process1, /User%20Homes/BPM/Process2 etc.

antoine.mottier's picture
antoine.mottier
Category: 

Explain how to share a document between a parent process and child process (relation define using call activity).

HTML Widget Bonita 7, display pdf report

Hello programmers,

I am newbie to this bonitasoft, started with bonita ver 7.0.1.
When Customizing the forms, there is a high limitations in widgets.
Here the need is: Can we get the file(.pdf) stored in document, displayed, as we do with the object or else tags, embed src="http://yoursite.com/the.pdf" width="500" height="375" type='application/pdf', displayed as they do in normal html...!!!

Can some one, suggest how to analyze the customization in UI except the two videos, and the documents..

Uploading files to other locations

I understand bonita uses documents to store files uploaded by users however they are stored in the bonita database and for me this is unnacceptable. Is there a way to change this so it's stored as a file in a place I wish or is there a way to upload a file via groovy script?

Documents, upload - How to tell if it's a new Document?

Hi there,

I have a situation where in Service Step 1 I retrieve 2 documents from a DMS and load them to Documents, in Human Task 1 I see the documents, download ONE of them, edit it and upload the document using the same file widget. I downloaded from. The name of the file has not changed.

How do I tell if I've uploaded the document, rather than, as with the other file, just left it alone?

The documentID is not a good contender for this as it changes step to step. Is there some other way to tell if a document has been uploaded or not?

Notifications