[英]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. 我正在尝试从Python / Django应用程序启动一些jBPM工作流,而不想在堆栈中添加新的语言。 Is this possible?
这可能吗?
If your jBPM version is 5 or higher you can use gwt-console. 如果您的jBPM版本是5或更高版本,则可以使用gwt-console。
GWT console has REST interface. GWT控制台具有REST界面。
For example, to start a new process instance use 例如,要启动新流程实例,请使用
http://jbpm-server/gwt-console-server/rs/process/definition/{id}/new_instance HTTP:// jbpm的服务器/ GWT-控制台服务器/ RS /进程/定义/ {ID} / new_instance
for information how to install: 有关如何安装的信息:
http://docs.jboss.org/jbpm/v5.3/userguide/ch.console.html#d0e4578 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/ 或者您可以从此处下载: 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 有关更多信息,请参见此指南: http : //docs.jboss.org/jbpm/v5.3/userguide/ch.console.html
Hope it will help. 希望它会有所帮助。
Here is the documentation for jBPM 6.1 Remote REST API . 这是jBPM 6.1远程REST API的文档。
The REST docs for 6.1 states: 6.1的REST文档指出:
[POST] /runtime/{deploymentId}/process/{processDefId}/start
According to the docs, it does the following: 根据文档,它执行以下操作:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.