This connector starts an instance of a process.
It needs at least the name of the process to start. Optionally, the process version and some values to initialize the data with can be specified.
The Step execution on deadline connector allows you to implement the attached timer event.
To do that, you have to:
- define a local variable of type Boolean in the step you want to add attached event.
- set the default value to false
- add a deadline with this connector, provide the name of the variable
The connector will set the variable value to true and execute the step.
This example send an email to all participants of the task "Perform example task"
The connector configuration gets the emails from the Bonita User Experience. Please adapt this configuration if the emails are stored in another place.
To test this sample, you have to:
1) configure the smtp server (open the connector configuration)
2) set the sender email
3) provide some emails (admin and john) in the Bonita User Experience
The Bonita Inbox Feed Creator allows your users to get their inbox in a RSS feed.
To install this web application, you need to have a server (like tomcat) with Bonita User Experience installed. Just copy/paste the war file in the webapp folder of your server.
When you go in the root url of the Bonita Inbox Feed Creator, you have to login with your account, then you will be redirected to your RSS feed. You just have to use this url in your favorite RSS reader.
Tried multi-instantiator with 5.2 works fine.. Please see the usecase and the attached bar.. As usual what i have provided is only a simple example and obviously can be improved further. But i leave that to you ;-)
UseCase
My Usecase is that.. When you start the Main process with a list of usernames (comma seperated) for example (john, jack, james)
This example presents a way to design a process which executes two operations (activities) in parallel, the second operation depending on the first one.
This process provides a sample of multi instantiation feature with execution of a sub-process.
(Inspirited by "Multi instantiation sample")
Use Case:
* A list of values is split into a list.
* A subprocess is executed for each element of that list
* Each step writes a message into the console which lets you track the execution.
Let you push a document to Alfresco and attach meta-data and categories to it.
Meta-data and categories can be specified one by one or passed as Map object.
This connector takes as input the description of a payment transaction, and returns an URL at PayPal to process this transaction.
It uses the basic PayPal Forms Web API (https://www.x.com/docs/DOC-1332), and does not have a dependency.
This multiInstantiator works with a String input variable. According to the separator you define, it splits it into a serie of tokens. It instantiates the task n times passing to each of those tasks one token.
It is also possible to define a threshold (in pourcentage) to control how many tasks must be realized to continue the process (by default 100% - all of them).
This process provide a sample of multi instantiation feature.
It uses a multiInstantiator called SplitString you can find in the multiInstantiator contributions.
The use case is very simple :
An user enter a list of guest for his/her party then the system multi instantiate a task for each guest to send them a mail (simulated).
This connector allow to retrieve all recently uploaded photos.
You need to add next google dependency jar files in order to execute this connector:
- activation.jar
- gdata-core-.jar
- gdata-media-.jar
- gdata-photos-.jar
- google-collect-.jar
- mail.jar
You can find these jar files in the gdata distribution: http://code.google.com/p/gdata-java-client/downloads/list
This connector allow to retrieve all photos of a user.
You need to add next google dependency jar files in order to execute this connector:
- activation.jar
- gdata-core-.jar
- gdata-media-.jar
- gdata-photos-.jar
- google-collect-.jar
- mail.jar
You can find these jar files in the gdata distribution: http://code.google.com/p/gdata-java-client/downloads/list
This connector allow to retrieve all photos from an album.
You need to add next google dependency jar files in order to execute this connector:
- activation.jar
- gdata-core-.jar
- gdata-media-.jar
- gdata-photos-.jar
- google-collect-.jar
- mail.jar
You can find these jar files in the gdata distribution: http://code.google.com/p/gdata-java-client/downloads/list
This connector allow to retrieve album list of a user.
You need to add next google dependency jar files in order to execute this connector:
- activation.jar
- gdata-core-.jar
- gdata-media-.jar
- gdata-photos-.jar
- google-collect-.jar
- mail.jar
You can find these jar files in the gdata distribution: http://code.google.com/p/gdata-java-client/downloads/list
This connector allow you to create a new album on PicasaWeb.
You need to add next google dependency jar files in order to execute this connector:
- activation.jar
- gdata-core-.jar
- gdata-media-.jar
- gdata-photos-.jar
- google-collect-.jar
- mail.jar
You can find these jar files in the gdata distribution: http://code.google.com/p/gdata-java-client/downloads/list
First version for the Voicent callRemove connector.
This connector takes a call's reqID as input parameter and remove the record from the Voicent Gateway Server.
If your call is still in plan it will be also remove.
You need Voicent Gateway configured in a host machine.
This is a first version for the Voicent Gateway connector: callText.
This connector makes a phone call with a text message as input.
Just set the host (localhost), the port (8155), set the phone number (1234567), set the message ("My new call"), set if the record will be self deleted from the Voicent Gateway and... have fun!!
You need Voicent Gateway configured in host machine.
The first version for the Voicent callStatus connector.
This connector gets an call reqID as input parameter and returns the call's status.
The returned status may be one of the following:
"Call Made" it means your call was successful made.
"Call Failed" it means your call has failed.
"Call Will Retry" it means your call is going to retry again.
"" it means your call is still on plan and you have to retry for check status later.
You need Voicent Gateway Configured in a host machine.
A simple process that let the user book a meeting room.
The user can then view his bookings and remove or add new ones, it also ensure that there can't be two booking in the same meeting room at the same time.
This example use advanced groovy script, customized form and custom connectors to persist data.
Data are serialized using xstream and stored in a file called MRB_db in order to allow running this example without any database configuration.
This connector allows you to log data in the default Bonita engine's log file (i.e, within the studio: help>Show Engine log).
Data can be either variables or groovy expressions.
Usage:
- Source: the source of the log, e.g., the name of the step that generates the log.
- Data:
* column1: the name of the variable / expression to log.
* column2: the value of the variable / expression to log.
This filter let you use a groovy script to filter your actors.
It takes in input a set of String bind in the variable candidates, and must return a set of String.