Professional Documents
Culture Documents
Version 5.1
Contents
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 2
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 3
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 4
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 5
Bonita Open Solution 5.1 Connectors Reference Guide
Figures
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 6
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 7
Bonita Open Solution 5.1 Connectors Reference Guide
Welcome to Bonita Open Solution (BOS). If you don’t already have the software, you can download
it from the BonitaSoft web site..
How to Use Connectors is intended to help you use the Connectors provided in Bonita Open
Solution Version 5, the complete open source Business Process Management Solution.
You can download this, and the general User Guide and updates, from the BonitaSoft web site.
Part 2 describes how to use predefined Connectors to connect Bonita Open Solution to external
information systems.
Part 5 gives information about how to analyze problems in Bonita Open Solution.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 8
Bonita Open Solution 5.1 Connectors Reference Guide
Connectors take specified input (directly as a value from the end user or carried over / built
into an expression) and execute. Some Connectors also return output back into Bonita Open
Solution. Inputs and outputs for each Connector provided in Bonita Open Solution are given
in this document.
Once created, Connectors can be Moved or Copied (to another Step or to a Process or Pool).
There is also a function to Test a Connector before the Process is run.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 9
Bonita Open Solution 5.1 Connectors Reference Guide
To Add a Connector already defined in Bonita Open Solution to a Step, click the Step and go
to Details -> Connectors -> Add.
Note: you will need to have global variables defined, to associate with your inputs and/or
output results. See How to define Data variables in the Bonita Open Solution User Guide.
When the Select a connector window appears, choose the type of Connector you want to
add. (These Connectors are described in detail in the following paragraphs, but all of them
go through these same first steps).
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 10
Bonita Open Solution 5.1 Connectors Reference Guide
Figure 2. Specify Connector parameters at the Step level (Automatic or Subprocess Step)
If Connector fails: choose the appropriate action to take if the Connector itself fails
to execute properly:
o Abort process and raise error; or
o Ignore error and continue process.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 11
Bonita Open Solution 5.1 Connectors Reference Guide
Deadlines are used to trigger a Connector after the specified duration or date has passed.
A Deadline is either:
Deadlines can be set for both Human and Automatic Steps. Go to Step -> Deadlines -> Add.
Choose a Connector to be triggered when the deadline is reached.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 12
Bonita Open Solution 5.1 Connectors Reference Guide
At the Process level, there are also options to implement a Connector at any time during the
Process:
o Cancel the connector implements if the Actor cancels the Process (case)
o Abort the connector implements if the Process case encounters a fatal
error
Next, define the parameters required for Connector inputs and, where appropriate, for
outputs. You will need to define variables used in the inputs before configuring the
Connector; but for outputs, you can create variables directly within the output
configuration.
Note that whenever an output configuration wizard appears, you either need to define the
output or delete the output field.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 13
Bonita Open Solution 5.1 Connectors Reference Guide
Specific Connector input and output configurations are described in the following sections.
For many Connectors, you have an option to Save connector configuration which allows you
to re-use the same configuration to define another Connector of the same type. This option
will appear as you continue the Connector configuration wizard:
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 14
Bonita Open Solution 5.1 Connectors Reference Guide
Be sure that any variables you defined in a Connector attached to a Step are also available
either globally in the target Process, or locally in the target Step.
To duplicate a Connector – that is, Move it and at the same time leave a copy in its original
location, check the Make a Copy option before moving it.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 15
Bonita Open Solution 5.1 Connectors Reference Guide
You can test the function of a Connector before you configure and save it. To do this, you’ll
configure your Connector first as a test. Once it works, you can create the real thing.
Check external configurations before testing a specific Connector. Sometimes the Connector
test returns an error due to external factors. (For example, some Bonita Connectors may
return errors because the Process has not been Run, and therefore the BEE has not been
launched. This example illustrates that not all Connectors can be tested before an
execution.)
Then choose the category and specific Connector to test. Continue to configure the
Connector (as explained below, beginning in Section 2.2).
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 16
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 17
Bonita Open Solution 5.1 Connectors Reference Guide
You will get a Results window indicating that the Connector was successfully implemented,
or that an error occurred with information to help debug the connector.
When you are satisfied with the Connector behavior, you can Save connector configuration
and use this as a basis to create the actual Connector where you want it.
This connector will send an email message when activated. There is no output returned.
Email
Category: Messaging
Connector description: send an email message
Input Description Type
Host IP address or name of string
email server
Port port defined for email number
system
Security: SSL check if SSL security
authorization required
Security: STARTTLS check if STARTTLS security
authorization required
Authentication: User User name for the host string
Name and password account
Authentication: password User password for the host string
account
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 18
Bonita Open Solution 5.1 Connectors Reference Guide
Email
Category: Messaging
Connector description: send an email message
Input Description Type
From name@name.ext string
To: name@name.ext, string
name@name.ext
CC: name@name.ext, string
name@name.ext
Bcc: name@name.ext, string
name@name.ext
Subject text string
Message message to recipient which string
can include variable(s) and
text (hello ${var})
Or select a data you want chose a variable to add select
to use
HTML email Check to activate HTML
tags in message
Other headers: name name of additional header string
information
Other headers: value value of additional header string
information
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 19
Bonita Open Solution 5.1 Connectors Reference Guide
This Connector will send a direct message to a Twitter address. There is no output.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 20
Bonita Open Solution 5.1 Connectors Reference Guide
This Connector will broadcast a Status Update via Twitter. There is no output returned.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 21
Bonita Open Solution 5.1 Connectors Reference Guide
Figure 20. Browse for the java class, enter a string to search and choose
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 22
Bonita Open Solution 5.1 Connectors Reference Guide
Java Executor
Category: Java
Connector description: configure invocation of Java methods
Input Description Type
Class java class; click Browse and select
enter a string to find class
Methods methods defined for select
selected class;
double-click on method to
set
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 23
Bonita Open Solution 5.1 Connectors Reference Guide
2.4.1.1 Input
Shell
Category: Scripting
Connector description: execute a shell command or script
Input Description Type
Shell command enter command, script, or string
command path to execute
a shell file
can include variable(s)
Or select a data you want choose a variable to add select
to use
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 24
Bonita Open Solution 5.1 Connectors Reference Guide
2.4.1.2 Output
You can return the output of your executable into a predefined variable. Note that if there is no
output for your connector, you should delete this option (click the red X).
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 25
Bonita Open Solution 5.1 Connectors Reference Guide
2.4.2.1 Input
Enter an expression in Groovy. You can include predefined variables (including variables that are
Groovy expressions) here.
Groovy
Category: Scripting
Connector description: execute a Groovy command or script
Input Description Type
Groovy script enter the script directly string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 26
Bonita Open Solution 5.1 Connectors Reference Guide
2.4.2.2 Output
You can return the output of your executable into a predefined variable. Note that if there is no
output for your connector, you should delete this option (click the red X).
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 27
Bonita Open Solution 5.1 Connectors Reference Guide
2.5.1 Inputs
Figure 26. Configure a Connector to search in an LDAP directory and return a list
LDAP
Category: Database
Connector description: search in an LDAP directory and return a list of specified
attributes
Input Description Type
Host IP address or name of string
server hosting LDAP
directory
Port LDAP directory port number
number
Protocol choose LDAP, LDAPS, or select
TLS
User LDAP User name string
Password LDAP user password string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 28
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 29
Bonita Open Solution 5.1 Connectors Reference Guide
2.5.2 Outputs
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 30
Bonita Open Solution 5.1 Connectors Reference Guide
This Connector adds a comment to a Step which will be shown in the User Experience when
the Process is running.
Add a comment
Category: Other
Connector description: Add text to a Step or a Process
Input Input description Type
message enter text to display string
On this step The comment appears
when this step shows up in
the User Experience inbox
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 31
Bonita Open Solution 5.1 Connectors Reference Guide
Execute a Step
Category: other
Connector description: send a command to execute the indicated Step (anywhere in
the Pool)
Input Description Type
Step name name of Step string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 32
Bonita Open Solution 5.1 Connectors Reference Guide
Start a Step
Category: other
Connector description: send a command to start the indicated Step (any Step in the
Pool)
Input Description Type
Step name name of Step string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 33
Bonita Open Solution 5.1 Connectors Reference Guide
Finish a Step
Category: other
Connector description: send a command to finish the indicated Step (any Step in the
Pool)
Input Description Type
Step name name of Step string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 34
Bonita Open Solution 5.1 Connectors Reference Guide
This Connector sets the value of a Data variable when a Step is reached.
Set variable
Category: other
Connector description: create a global or a local variable
Input Description Type
Name name of variable string
Value variable definition string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 35
Bonita Open Solution 5.1 Connectors Reference Guide
This Connector sets the value of a Data variable when a Step is reached.
Set variable
Category: other
Connector description: create a global or a local variable
Input Description Type
Name name of variable string
Value variable definition string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 36
Bonita Open Solution 5.1 Connectors Reference Guide
HookProcessConnector
Category: other
Connector description: Use a hook defined in Bonita v4 as a Connector
Input Description Type
className name of javaclass string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 37
Bonita Open Solution 5.1 Connectors Reference Guide
To see an example of how to configure a Connector to query a MySQL database, see the
video How to Query a Database with Bonita Open Solution.
2.8.1 Inputs
Bonita Open Solution supports multiple databases. The inputs required for each database
are specified in each database Connector wizard.
4. Local OR Server-based
H2
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 38
Bonita Open Solution 5.1 Connectors Reference Guide
HSQL
6. Oracle
Note that to send the query result to a variable, you will need to define the Data variable
before you define the Connector.
Databases
Category: Database
Connector description: search in a database and return data
Input Description Type
1,2,3,5,6
Database name of database string
1,2,3,4,5,6
User name database user’s name string
1,2,3,4,5,6
Password database password string
2,3,4,5,6
Host name IP address or name of string
database host server
2,3,5,6
Port database assigned port integer
2,2a
DB server name of database server string
4,5
Local check if locally based boolean
4,5
Server check if server-based boolean
5
Web server check if web-server based boolean
4
SSL support check if SSL security boolean
authentication required
6
SID check if database has an boolean
Oracle system ID
6
oracleServiceName check if this is to go to an boolean
alias
6
oracleOCI check is this is to go to an boolean
Oracle Instant Client
1,2,3,4,5,6
Query the statement or query string
expression which can
include variable(s) with the
syntax ${var}
1,2,3,4,5,6
Or select a data choose a variable to add select
you want to use
others some databases require
unique input (ie Oracle)
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 39
Bonita Open Solution 5.1 Connectors Reference Guide
2.8.2 Outputs
You can return the output of your database query into a variable.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 40
Bonita Open Solution 5.1 Connectors Reference Guide
For an example of how to configure an Alfresco Connector, see the video How to Upload a File to
Alfresco with Bonita Open Solution.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 41
Bonita Open Solution 5.1 Connectors Reference Guide
Alfresco Connectors
Input Description Type
host IP address or name of string
Alfresco directory host
server
port Alfresco directory port number
number
username Alfresco user name string
password Alfresco user password string
Unique inputs for each Alfresco Connector are given in the following sections.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 42
Bonita Open Solution 5.1 Connectors Reference Guide
Figure 41. Enter path and information for checked-out file to cancel
Check in
Category: Alfresco
Connector description: check in an Alfresco file
fileID ID of the file you are string
checking in
Major version
Check-in comments
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 43
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 44
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 45
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 46
Bonita Open Solution 5.1 Connectors Reference Guide
Download file by ID
Category: Alfresco
Connector description: download a file by ID
Input Description Type
File ID ID of the file to be canceled String
Folder for the downloaded Destination folder for the String (file path syntax)
file file
Downloaded file name Name of file to be String
downloaded
Figure 48. Enter version store and information for file to download
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 47
Bonita Open Solution 5.1 Connectors Reference Guide
This Connector has no unique inputs or outputs. See 2.9.1 and 2.9.2, Alfresco Common Inputs and
Output.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 48
Bonita Open Solution 5.1 Connectors Reference Guide
Figure 51. Enter path and information for checked-out file to update
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 49
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 50
Bonita Open Solution 5.1 Connectors Reference Guide
2.10.1 Inputs
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 51
Bonita Open Solution 5.1 Connectors Reference Guide
Create Report
Category: Jasper
Connector description: create a Jasper report from a database
Input Description Type
Database driver Database driver string
JDBC URL Location of database string
User name database user name string
Password database user password string
2.10.2 Outputs
Figure 55. Enter file path and output for Jasper report
Create Report
Category: Jasper
Connector description: create a Jasper report from a database
Output Description Type
JRXML file path Path of Jasper xml file string
Parameters: name Name of parameter to string
include in report
Parameters: value Value of parameter to string
include in report
Output file path Destination of output file string
Output format Choose pdf, html, or xml
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 52
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 53
Bonita Open Solution 5.1 Connectors Reference Guide
Define the Data variables needed to accept the report returned. Note that you can Add
variables here for output.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 54
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 55
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 56
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 57
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 58
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 59
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 60
Bonita Open Solution 5.1 Connectors Reference Guide
2.12.1.1 Inputs
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 61
Bonita Open Solution 5.1 Connectors Reference Guide
2.12.1.2 Outputs
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 62
Bonita Open Solution 5.1 Connectors Reference Guide
2.12.2.1 Inputs
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 63
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 64
Bonita Open Solution 5.1 Connectors Reference Guide
eXo
Input Description Type
host IP address or name of eXo string
directory host server
port eXo directory port number number
username eXo user name string
password eXo user password string
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 65
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 66
Bonita Open Solution 5.1 Connectors Reference Guide
eXo - CancelCheckout
Category: eXo
Connector description: Cancel checked-out item of eXo JCR through WebDAV server
Input Description Type
URI URI of the item to cancel String
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 67
Bonita Open Solution 5.1 Connectors Reference Guide
eXo - CreateFolder
Category: eXo
Connector description: Create a new folder in eXo JCR
Input Description Type
Parent URI URI of the parent folder String
new folder name name of new folder String
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 68
Bonita Open Solution 5.1 Connectors Reference Guide
eXo – DeleteItem
Category: eXo
Connector description: delete an item from eXo JCR
Input Description Type
URI URI of the item to delete String
eXo – DownloadFile
Category: eXo
Connector description: Download a file from a WebDav server
Input Description Type
File URI URI of the file to download String
Output file folder Destination folder for the String
file
Output file name Name of the output file String
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 69
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 70
Bonita Open Solution 5.1 Connectors Reference Guide
eXo - UploadFile
Category: eXo
Connector description: upload file to a WebDAV server
Input Description Type
Destination URI the destination URI of the String
folder of the uploaded file
File the absolute path of the String
file to upload
ContentType mime type of the uploaded String
file
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 71
Bonita Open Solution 5.1 Connectors Reference Guide
There are two xWikis Connectors; both have the same set of inputs and outputs to configure.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 72
Bonita Open Solution 5.1 Connectors Reference Guide
xWiki
Input Description Type
host IP address or name of wiki string
host server
port wiki port number number
User name Wiki account user name string
password Wiki user password string
Wiki name Name of wiki String
Space name Wiki space String
Page name Page in wiki String
Class name Wiki class String
Property name
Property value
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 73
Bonita Open Solution 5.1 Connectors Reference Guide
Note that the output fields can be deleted (red X) if no output is needed.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 74
Bonita Open Solution 5.1 Connectors Reference Guide
Google Calendar
Input Description Type
userEmail Gmail user email user String
name: name@gmail.com
password Gmail password string
CalendarUrl URL of Google calendar (eg string
http://www.google.com/
calendar/feeds/
your_gmail_address/
private/full
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 75
Bonita Open Solution 5.1 Connectors Reference Guide
2.15.2 Configure a Connector to create a Google calendar event with web content
Figure 89. Configure a Connector to Create a Google calendar event with web content
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 76
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 77
Bonita Open Solution 5.1 Connectors Reference Guide
GoogleCalendar – DeleteEvent
Category: Google
Connector description: delete an event from specified Google calendar
Input Description Type
searchString String to find event (by String
title)
2.16.1 Inputs
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 78
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 79
Bonita Open Solution 5.1 Connectors Reference Guide
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 80
Bonita Open Solution 5.1 Connectors Reference Guide
For a step-by-step example of how to develop a Connector, see the tutorial How to Create a
Connector. See also the video tutorial Create a Twitter Connector in Bonita Open Solution.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 81
Bonita Open Solution 5.1 Connectors Reference Guide
The java source file window will appear, in which you can create the executable Connector.
When it is completed, save it and close the window to return to the Process.
The Connector you have created is now available in Details -> Connectors.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 82
Bonita Open Solution 5.1 Connectors Reference Guide
For more information, see the tutorial, “How to Create a Connector,” and the video “How to
Get the Latest Tweet About a Subject.”
Figure 99. Import (or Export) a Connector from the Menu bar
To import a Connector from BonitaSoft Community Contribution into Bonita Open Solution:
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 83
Bonita Open Solution 5.1 Connectors Reference Guide
This will connect to the Contributions section of www.Bonitasoft.org. From here you can
select a shared extension and Install it. (You will need to be registered as a BonitaSoft
Community user and log in to the Community forum from Bonita Studio).
To close the Contributions page and return to the Whiteboard, click the X in the upper right
corner of the BonitaSoft.org window.
Your Bonita Open Solution log files (for Bonita Studio and Bonita Execution Engine are
available via the Menu Bar: Help -> Show log and Help -> Show engine log.
When you encounter a problem, please post a description of the problem and a copy of your
log file on the Bonita Community Forum at www.bonitasoft.org/forum/.
BonitaSoft developers, among others, actively contribute to the Bonita Community and will
post a response.
BOS V5.1, Connectors Reference Guide, 24 Mar 10 www.bonitasoft.com | © BonitaSoft S.A. page 84