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?
Submitted by g.lapierre on Thu, 04/14/2016 - 12:00
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):
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
Submitted by tresnjica93_1 on Thu, 02/11/2016 - 12:51
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.
Submitted by vivek.paranthaman on Tue, 09/15/2015 - 07:15
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..
Submitted by tugaknight on Fri, 05/29/2015 - 13:09
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?
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?