jbpm

How do I listen to all Seam contextual events with parameterized names?

那年仲夏 提交于 2020-01-04 05:23:06
问题 Seam will fire different kinds of events that relate to particular scopes, tasks, or processes and appends the name of the scope, task or process to the end of the event. How do I listen to all the events of a type? E.g. for any <name> I'd like to listen to events such as these: org.jboss.seam.createProcess.<name> — called when the process is created org.jboss.seam.endProcess.<name> — called when the process ends org.jboss.seam.initProcess.<name> — called when the process is associated with

How to change front end of kie workbench of jbpm 6.5?

谁都会走 提交于 2019-12-25 08:36:25
问题 This is Login page of kie wb Home page of kie-wb 1. How to remove "KIE IDE" Logo from Login Page and insert other Logo Or add any other String? 2. Is there possible any way to change only Menu items name (e.g Authoring to Developer Job) ? I want to customise Kie-wb.jsp ? But went into location jbpm-installer/lib, there i found kie-server-6.5.0.Final-wildfly-10.0.0.Final.war file, but i couldnt find kie-wb.jsp page in that war ? 回答1: You are probably looking at the wrong place since KIE Server

How to disable JBPM persistance?

大憨熊 提交于 2019-12-24 11:29:59
问题 I'm trying to implement a few tests with JBPM 6. I'm currently working a a simple hello world bpmn2 file, which is loaded correctly. My understading of the documentation ( Click ) is that persistence should be disabled by default. "By default, if you do not configure the process engine otherwise, process instances are not made persistent." However, when I try to implement it, and without doing anything special to enable persistence, I hit persistence related problems every time I try to do

NullPointerException: Unable to create the container entity manager factory for the org.jbpm.persistence.jpa persistence unit

前提是你 提交于 2019-12-24 10:45:19
问题 I'm attaching the top few lines of my persistence.xml and ormTasks.xml Persistence.xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <persistence version="2.0" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd" xmlns:orm="http://java.sun.com/xml/ns/persistence/orm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns

Accessing KieSession from jbpm6 WorkItemHandler

微笑、不失礼 提交于 2019-12-24 04:22:42
问题 I'm using jbpm-console (6.0.0.Final) with custom work item handlers. I've embedded a custom work item handlers JAR in my jbpm-console WAR as described in post #7 here: https://community.jboss.org/thread/221748 This is all fine so far, as I can successful start a process definition in jbpm-console, and it kicks off my custom WorkItemHandler code. However, in my WorkItemHandler, I want to set some variables on the ProcessInstance. When I try something like this: public void executeWorkItem

jBPM6 - embed web designer in existing application

怎甘沉沦 提交于 2019-12-23 14:55:34
问题 Are you aware of any guide / tutorial / example project that might help me embed the jBPM web designer in an existing web application? Namely: Which are the maven libraries I need to include? Is it possible to deploy the designer specific components in the main application WAR (this is after all what embedded means)? How can I access the designer? Is there a specific URL for it? Thanks in advance for any hint. 回答1: I finally found out how to do it. What you need is a running instance of the

Rules in jBPM 6

我的梦境 提交于 2019-12-23 04:13:18
问题 I have created a process in jbpm 6. There is a class Person, with attributes name and age. In the process form, the name and age of the person is entered. The first node in the process is a human task to view the details. The second node is an XOR gateway with drools expression on its arcs like Person(age > 20) and Person (age < 20). Now when I execute the process instance, the first human tasks works fine, but when it reaches the gateway, I can see this error - "XOR split could not find at

JBPM Console Remote authetication through java

房东的猫 提交于 2019-12-23 02:49:21
问题 I have deployed jbpm-cosole on my localhost, and I have created a java application to make REST calls for process transaction. So, my question is. As jbpm-console uses spring-security, how to send authentication request to JBPM? After successful authentication I want to store authentication token as a java object to make further transactions without login. or is there any another way to do that please let me know. 回答1: This is a sample code which returns the tasks list of a user. You just

Throwing exceptions from JBPM WorkItemHandlers?

妖精的绣舞 提交于 2019-12-22 18:06:30
问题 I'm a little confused about the subject of throwing exceptions from JBPM work item handlers and handling the exception elsewhere in the business process. We're using JBPM 6.0.3 to run in Jboss EAP 6.1. The JBPM User Guide implies that you should never throw exceptions from within a WorkItemHandler. Instead, the handler should catch them and either handle them some way or else convert them to an error message, signal, or similar. JBPM even provides work item handler wrappers which catch

How to specify which start event should be called from a BPMN callActivity

我的未来我决定 提交于 2019-12-22 08:08:38
问题 From http://www.omg.org/spec/BPMN/2.0.2/PDF on page 238: If the Process is used as a global Process (a callable Process that can be invoked from Call Activities of other Processes) and there are multiple None Start Events, then when flow is transferred from the parent Process to the global Process, only one of the global Process’s Start Events will be triggered. The targetRef attribute of a Sequence Flow incoming to the Call Activity object can be extended to identify the appropriate Start