API java

Java code to get ProcessName ProcessID from BPM.

Hi All,
I am new to this application and looking for a java code that can get ProcessId, ProcessName, TaskId and TaskName from BPM.

I searched a lot on internet and found following methods that can help to get the result:

getActivitytInstanceUUID()
ProcessDefinitionUUID getProcessDefinitionUUID()
ProcessInstanceUUID getProcessInstanceUUID()

Can Someone help me to understand the procedure to use above methods.

I really appreciate for the help.

-Prakhar

Access a business data object using the Java API (V 7.1.4)

Hello.

I've not found any operation in the Java Engine API to retrieve a business data object associated with a process instance, given its id for example.

The BusinessDataAPI.getProcessBusinessDataReference() doesn't seem to be the good way.

And I've not seen any solution from the ProcessAPI...

Anyone can help me ?

Thanks a lot.

Regards.

How execute a (human) task with contract defined input values using the java API ?

Hello.

I'm looking at the java API documentation, and I have not found any way to execute a task setting its contract inputs values at the same time ?

The goal is to design processes with human tasks, using the contract variables to define what should be user's input, but execute them from external systems (exposing web services in our case).

What is the best design for that ?

Thanks for your help.

Regards.

Access to Bonita Engine using local API

I have a web application that running in the same server (Tomcat Server) that bonita.war running (I'm using BOS 5.9). Now I want to migrate this webapp to BonitaBPM 7.0 but I have a problem.

I'm wanting to access to Bonita Engine from this web application (war) deployed in the same tomcat where it is bonita.war. I'm setting the engine access through local API

API java: get old variable value

Hi, I have an active process with three tasks (task1, task2, task3) and one variable "name". Each task sets the value of the variable name: task1 => name = 'Pippo' task2 => name = 'Pluto' task3 => name = 'Mario'

Using processAPI.getProcessDataInstances or processAPI.getArchivedProcessDataInstances Bonita always returns the value of task3 Mario.

How should I do to get the value of the task1 'Pippo'?

Thanks Manolo

Bonita integration

Hello,

I want to ask if it's possible to integrate Bonita with java desktop application, like open it in java desktop?

Thanks

SearchOptionsBuilder and sort parent fields

Hello. This is my SearchOption :

"No such field" Exception when trying to login using Java API

Hello, I have a server running Bonita BPM. So far the platform can be accessed using a browser and with the REST API, however, trying to login using the Java API results in some strange exceptions being thrown. Has anyone had this problem before? Did I maybe forget to set something in a config file somewhere or so?

Bonita BPM vers: 6.3.1 OS: Windows 8.1 Deployed with: JBoss-5.0 Java Version: 1.6

How to display table widget data vertically

Hello , i m using bonitasoft community 6.3 and from external database i m able to display data in table widget on form . by following code :

How to get Some basic Detail of Current process ? when user use it Like ::::: LOGGED USER ID , CURRENT PROCESS ID , etc

in community version , pl provide how to get following values

  1. logged user id
  2. logged user name
  3. current process id
  4. current task id
  5. current task name
  6. current case id

pl suggest how to get following

Notifications