Question

I'm trying to kick off a few jBPM workflows from a Python/Django app and would rather not add a new language to the stack. Is this possible?

Was it helpful?

Solution

If your jBPM version is 5 or higher you can use gwt-console.
GWT console has REST interface.

For example, to start a new process instance use

http://jbpm-server/gwt-console-server/rs/process/definition/{id}/new_instance

for information how to install:

http://docs.jboss.org/jbpm/v5.3/userguide/ch.console.html#d0e4578

or you can download it from here: http://sourceforge.net/projects/jbpm/files/jBPM%205/

see this guide for more information: http://docs.jboss.org/jbpm/v5.3/userguide/ch.console.html

Hope it will help.

OTHER TIPS

Here is the documentation for jBPM 6.1 Remote REST API.

The REST docs for 6.1 states:

[POST] /runtime/{deploymentId}/process/{processDefId}/start

According to the docs, it does the following:

  • Starts a process.
  • Returns a JaxbProcessInstanceResponse instance, that contains basic information about the process instance.
  • The prodessDefIdcomponent of the URL must conform to the following regex: [_a-zA-Z0-9-:.]+ This operation takes map query parameters (see above), which will be used as parameters for the process instance.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top