Bonita 6.3 Java API

Bonita Studio 6.3 - How do I get the ProcessDefinitionId and processInstanceId variables in java (not groovy) code?

I am trying to write some informational data to a log so we can easily track a workflows progress without having to log into Bonita. Since we share the connector that we write with many workflows I need to know what process name, version, and instance (case) id is writing to the log file.

I can easily do this using a Groovy script connector with code like this:

*import org.bonitasoft.engine.bpm.process.ProcessDefinition; import org.bonitasoft.engine.api.ProcessAPI; import org.slf4j.Logger; import org.slf4j.LoggerFactory;

Bonita API and ACME.xml

Hello,

I'm working with bonita 6.3, I created my process using the bonita studio, and then I tried to connect to Bonita API from my Java application (ADF but it doesn't matter)

I found an example in github but when I use to run it, it seem that it can't locate the file acme.xml

I found that file in example that I have downloaded, but I even when I change the propriety 'ORGANIZATION_FILE' to refer to that file, it always return null

Notifications