Liferay Connector
Retrieve all users in a Liferay User Group through WebService (tested with liferay 6.0.4)
Needs Liferay client jars and dependencies (provided by liferay [url=http://sourceforge.net/project/lportal/files/Liferay%20Portal/6.0.4/life...) :
activation.jar
axis.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
mail.jar
portal-client.jar
saaj-api.jar
saaj-impl.jar
wsdl4j.jar
Liferay Connector
Assign users to an User Group through WebService (tested with liferay 6.0.4)
Needs Liferay client jars and dependencies (provided by liferay [url=http://sourceforge.net/project/lportal/files/Liferay%20Portal/6.0.4/life...) :
activation.jar
axis.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
mail.jar
portal-client.jar
saaj-api.jar
saaj-impl.jar
wsdl4j.jar
Add a new user to a liferay portal through WebService (tested with liferay 6.0.4)
Use Liferay client jars and dependencies (provided by liferay [url="http://sourceforge.net/project/lportal/files/Liferay%20Portal/6.0.4/life..."]here[/url]) :
activation.jar
axis.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
mail.jar
portal-client.jar
saaj-api.jar
saaj-impl.jar
wsdl4j.jar
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.