Search code examples
javapythondjangojbpmbusiness-process-management

How do you start a jBPM process from Python?


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?


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.