#java

enrico.curiotto's picture
enrico.curiotto
Category: 

This project shows some examples on how to use event handlers.

An event handler is a java code that is executed when a certain event is listened.

We can consider to use it when sometimes we need to move from process to platform perspective.

We need to be careful in setting up these events because a wrong implementation can have a strong impact on the platform performance.

The following use cases are covered in the example (at the moment). Handlers that trigger when:

  • Any new human task is activated

  • Any task is assigned to a new user

  • A human task is executed and the handler will get the value of a transient data variable

For sake of simplicity the handler will just log into the filesystem some information.

Releases for Event handlers examples

Total downloads: 61
Version BonitaBPM Version Post date Download Link
1.0 7.x 2020-Nov-25 Download
61 downloads
Release note

In documentation, what does it mean: all development artifacts must be compiled with Java 8 byte code (target version)?

Hi,

I use a JDK 11 for my Studio 7.10.4, but I develop REST API extensions and custom connectors, and I don't understand why the documentation says:

https://documentation.bonitasoft.com/bonita/7.10/hardware-and-software-r...

Problemas al consumir desde el eclipse las tareas del Bonita

Cuando trato de ejecutar una tarea manual en el Bonita desde el eclipse, me sale el siguiente error.

BDM Unique Constraint for Active Processes only

Hello,

I have a process in which each process instance has a BDM object associated with it. If a process has started with a BDM object, I want to prevent users from being able to start another process using the same object as the existing process. If I use a unique constraint on the ID field of my BDM object, users are prevented from ever being able to start a process using an object that was used in the past, which is not what I want. I only want to ensure that a process cannot be started using an object that is being used in an active process.

Get java.io.File from attached document

Hi,

How can I convert an attached document to a standard Java File type in a Groovy Script Connector?

Thanks in advance.

How to change search filters on the portal of the "task" tab

Hi

The "filters" box on the "Tasks" tab searches the tasks only for "Task Name". Is there any way I can configure this filter to perform searches using other search keys? For example, from searches using "Process Name", "Name of the User that started the Task", among others. Explain in detail, I do not have much knowledge in this area. Is there any tutorial ready for this?

If I create a REST API extension can I change this filter search functionality? Explain how I can do this.

Thank you very much, any information can be helpful.

getResource fails with error java.lang.NullPointerException

Hello everyone,

I have a problem I have been wrestling with for most of the day so I hope someone can shine some light on this for me. This is the error I receive:

java.lang.reflect.InvocationTargetException
org.bonitasoft.engine.bpm.connector.ConnectorExecutionException: USERNAME=install | org.bonitasoft.engine.core.connector.exception.SConnectorException: org.bonitasoft.engine.connector.exception.SConnectorException: java.util.concurrent.ExecutionException: java.lang.NullPointerException

how to load data from the database?

Hi everyone
I'm trying to work with engine API to work with my processes, and I don't want to use REST API, so I need to know how can I export my DAO file from the Bonita studio and import it into my java project to work with it?

should I implement the DAO class myself?

Java 9

Is any version of Bonita compatible with Java 9?

Mac High Sierra and Legacy Java, Is anyone aware of this issue?

I have been using the Community Edition for a few months now, and recently changed my MacBook. Now I can't get 7.5.4 to work, but then I can't say whether it worked on the other MacBook as High Sierra is new, so didn't have time to check.

I have the latest version of Java installed (v8) and I get an error asking for me to install Legacy Java SE 6 Runtime. When I install the legacy version, I get an error message telling me to install version 8 of Java.

It appears that Bonitasoft may not be recognising the later version once the Legacy version is installed.

Notifications