An example that illustrate how to allow user to upload and download a single document or a list of documents.
Also illustrate how to only allow certain type of files to be uploaded (e.g. only PDF files).
Process definition includes a reference to a document and to a list of documents (document with option "multiple" enable).
All files will be stored by Bonita BPM Engine in database.
Engine also saved the association between the process instance and documents content and version.
This collection is a set of widget which give more controls on the standard widget.
* Real Max Length : you can decide for the max character. After this number, it is not possible to give more character
* Style CSS : directly set some additional CSS style to the input
* Title : add an info bullet to your widget
A big thanks to Learning Health to produce this widget. This widget manage the Date (and do that correctly over all the time zone : the July 24 will be July 24 over all time zone, and you will have July 24 in your database) and manage the date and the time. Two methods exist for the time point of view : the ABSOLUTE and the TIMEZONE.
The page help you to configure you JAAS service. Give the parameters, and then test immediately if all is correct.
If you have a subcription version, you have access to the LDAP Synchronizer tool. Copy the JAR file, and then you can verify that the parameters are correct.
The example shows how to use multi-instantiated tasks in Bonita BPM. The goal is to create multiple instance of the same activity, how to manage different environments for each instance, how to assign each instance to a different user, how to get results form each instance and how to put a condition over that multi-instantiated task.
The Bear Table widget display data in a table, with the control:
* Cell in read/write (Text, Number, Select, Date)
* filter, sort
* rules: sum must be egal to 154, all values different
* color, hide lines
This is a simple process example that explains how to fill in combobox values from a Map.
By using a Map, values and labels may be diffrent in the generated HTML < select > tag :
< select >
< option value="P1" >Product1< / option >
< option value="P2" >Product2< / option>
< option value="P3" >Product3< / option >
< / select >
Example of forms to display and update a text process variable
Generally it is recommended to use business variables instead of process variables.
By default only users with administrator profile are allowed to access process variables.
You can change such behavior by customizing dynamic-permissions-checks.properties. Refer to REST API authorization documentation for more information.
Webapp to read and download log file of the Bonitasoft plateform
This app will enable tech user to get the container logs without using a file system access
* Remove dev context files : webapp/logs/META-INF/context.dev.xml and web.dev.xml
* Edit the authorized user/password in webapp/logs/META-INF/users.xml
* Edit the context.xml
* Edit the param-value of the logsDirectory context-param to point to your container log folder
* Copy the webapp/logs folder into your container folder
If you need to upload an image into your Picasa web album, this connector is done for you.
You need to add next google dependency jar files in order to execute this connector:
You can find these jar files in the gdata distribution: http://code.google.com/p/gdata-java-client/downloads/list
This connector allows you to get properties from a file that is in your classpath. This connector is very usefull if you want to store a configuration for your process. In this case, you just have to put the configuration in a properties file and get values when you instanciate your process via this connector.
You will find this connector in the java category.
To get a specific properties, just edit the ouput groovy script of your connector and use the method getProperty(String). Example: properties.getProperty "myProperty"