jbpm

JBPM - Catch Intermediate Signal fails sometime

五迷三道 提交于 2019-12-12 05:42:31
问题 I have added "Signal Intermediate Event" to a human-task as a boundary-event as I have given in previous question. Sometimes the signal is processed successfully and sometimes it is NOT . JBPM runtime just updates the process-instance-info and doesn't process the signal. I am using StatefulKnowledgeSession.signalEvent() , it is just updating the ProcessInstanceInfo at the backend and the event doesn't cancel the current activity in progress What could be the problem ? Any bug related to this

jBPM 7.3.0 persistence with Postgres 9.6

只愿长相守 提交于 2019-12-12 05:00:02
问题 I'm trying to set the persistence in jbpm-installer-7.3.0.Final with Postgres 9.6. After MANY attempts, I am able to start the server and the console without errors, but from the workbench interface, I'm unable to use Processes or Tasks. It shows a popup saying: Process Definitions could not be loaded. Check if the jBPM Capabilities are enabled and if the remote server is correctly set up. in the Wildfly deployment console I can see: [org.jbpm.workbench.ks.integration.KieServerDataSetManager]

jBPM 6.5 + Tomcat 8 + Bitronix Transaction + Oracle 11G configuration | Could not commit session java.lang.NullPointerException

流过昼夜 提交于 2019-12-12 04:48:05
问题 I have successfully configured jBPM 6.5 on tomcat 8 + Bitronix transaction manager + Oracle 11G by following the steps provided in this link https://apurvasingh67.wordpress.com/2014/03/03/how-to-install-jbpm6-on-tomcat7-x/ Also, I managed to create a sample business process using script and user task. Now, when I tried to claim and complete the user task, I am getting null pointer exception. Can anyone throw some light on this please. 2017-03-17 16:22:25 WARN http-apr-9012-exec-10 bitronix.tm

jBPM6: using rules contained in a separate jar artifact

旧城冷巷雨未停 提交于 2019-12-12 01:52:30
问题 I'm trying to implement a jBPM6 project containing both processes and rules. One thing I would like to achieve (if it is possible) is to develop a separate artifact containing only the rules definitions, and then referencing this jar into the processes' project via maven, being able to execute the rules from my processes. I implemented this solution, but when I execute one of the process that uses the rules none of the rules is fired. To verify that there were no implementation problems I put

How to set Parameter in WorkItem to be reached within BPMN Process in jbpm-WorkBench

佐手、 提交于 2019-12-12 01:25:02
问题 I have created a custom WorkItem with some parameters, which I have registered in WorkDefinitions.wid file. Then in Business Process I also create Variable Definitions for the entire Process and reference those from WD.wid of my custom WorkItem to those created in BP. WorkItem execute the code, which takes those parameters from the form after starting the process. For this purpose I use getParameter()- method; It looks as follows: public void executeWorkItem(WorkItem workItem, WorkItemManager

JBPM-console 404 not found

谁说我不能喝 提交于 2019-12-11 16:15:55
问题 I have successfully installed JBPM 6.1.0.Final-Installer-Full . While opening the console at http://localhost:8080/jbpm-console it shows JBWEB000065: HTTP Status 404 - /jbpm-console In the server administration console, it can be clearly seen that jbpm-cosole.war is successfully deployed. Here is the log 12:40:35,812 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 35) JBAS010280: Activating Infinispan subsystem. 12:40:35,812 WARN [org.jboss.as.txn] (ServerService

$.parseXML cannot parse XML with script tag inside

感情迁移 提交于 2019-12-11 13:05:34
问题 I'm trying to parse the following BPMN 2 XML with $.parseXML : <?xml version="1.0" encoding="UTF-8"?> <definitions id="Definition" xmlns:tns="http://www.jboss.org/drools"> <process processType="Private" isExecutable="true" id="com.sample.bpmn" name="Sample Process" tns:packageName="defaultPackage" > <scriptTask id="_2" name="Sample Script" scriptFormat="http://www.java.com/java"> <script>person.id</script> </scriptTask> </process> </definitions> but it returns with the following: Uncaught

JBPM: How to run a sql query from a service task?[ver 6.2]

我是研究僧i 提交于 2019-12-11 11:47:08
问题 My objective is to get data from a table stored in MySQL db. For that I have created a custom service task which pulls out the relevant data using hibernate. It works as expected when I run it as a java application on Eclipse. It complains that it is not able to find the required 'persistence unit' when run on the server. I'm pushing my project using git onto kie-workbench(not sure if it's a good way) and had to make a few modifications to couple the work item with work item handler. Work

Access node variables in ProcessEventListener

試著忘記壹切 提交于 2019-12-11 11:40:44
问题 Fairly new to JBPM, using latest version of 6.2. I am trying to establish a process by which I can make a calls to a REST API for a legacy platform whenever certain (custom) task types are opened and again via an asynch process when they are completed at some point in the future. At a high level the process should be something like: Legacy App -> (REST) JBPM "StartProcess" -> (REST) Legacy App "Task A Created" Legacy App -> (REST) JBPM "Complete Task A" -> (REST) Legacy App "Task A Completed"

drools stateless vs stateful session

最后都变了- 提交于 2019-12-11 09:48:30
问题 When should I use Drools stateless session and what are the benefits of using it instead of stateful session? In some comment here it's said that stateless sessions wraps a stateful one, does it means that when I destory the statfeul session after firing all rules would behave like a stateful one ? 回答1: Perhaps it would be better to say that both (stateful) KieSession and StatelessKieSessions provide APIs (interfaces) to classes based on class AbstractRuntime. A StatelessKieSession provides