Re: [rules-users] Plugging custom verification rules into Guvnor
Hi, There is no way to do this in Guvnor right now. You can use custom rules with Verifier outside of Guvnor. You can even make the custom rules with Guvnor. What is missing is the ability to use the rules in Guvnor for the Source - Verify. This has been on the wish list for some time, but can't promise that it will get done for some time. If you want to help and add it in, let me know. https://issues.jboss.org/browse/GUVNOR-1898 Toni Rikkola On May 16, 2012, at 11:14 AM, Joe Ammann wrote: Hi all coming from another thread [1], Wolfgang pointed me to the Guvnor/Drools verifier. I am looking now for ways to implement my own verification rules into Guvnor. Ideally, I would like to be able to hook into 2 places in Guvnor with custom rules (maybe these are going actually through the same code path in Guvnor) 1) When editing BRLs (or other business oriented asset types) and selecting Source - Verify 2) When doing Run Analysis on a package in QA Menu I searched the documentation and had a quick look at the source of Guvnor, but wasn't able to quickly find the way to achieve this. Any pointers? -- CU, Joe [1] http://lists.jboss.org/pipermail/rules-users/2012-May/026518.html ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] [Designer] Problem installing service from repository
Hi Cristiano, I think you may have a configuration issue between Guvnor and Designer. Please read chapter http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3136 in the docs and make sure that both your Guvnor and Designer are configured to be able to see eachother correctly..if this still fails I would need some more info like server logs and more info on your setup to know how to help further. Thanks. On 5/16/12 7:09 PM, Cristiano Gavião wrote: Hi, I'm using Designer 2.2 with Guvnor 3.4 in a Jboss AS 7.1. I could connect to this service repository url: http://people.redhat.com/kverlaen/repository in the Designer editor. I've selected the Twitter service but I got this error: 19:58:58,896 ERROR [org.jbpm.designer.web.server.JbpmServiceRepositoryServlet] (http--127.0.0.1-8080-5) Could not find the package for uuid: c3142f2a-084b-423f-8afa-640c84140075 Am I missing something ? regards, Cristiano ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] [Designer] Problem installing service from repository
On 5/17/12 7:36 AM, Tihomir Surdilovic wrote: Hi Cristiano, I think you may have a configuration issue between Guvnor and Designer. Please read chapter http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3136 in the docs and make sure that both your Guvnor and Designer are configured to be able to see eachother correctly..if this still fails I would need some more info like server logs and more info on your setup to know how to help further. Thanks. Just to add from these docs: Alernative you can specify these configrations via system properties: * oryx.external.protocol * oryx.external.host * oryx.external.usr * oryx.external.pwd This has changed to * designer.external.protocol * designer.external.host * designer.external.usr * designer.external.pwd in 2.2. We are still working on updating the docs. Thanks. On 5/16/12 7:09 PM, Cristiano Gavião wrote: Hi, I'm using Designer 2.2 with Guvnor 3.4 in a Jboss AS 7.1. I could connect to this service repository url: http://people.redhat.com/kverlaen/repository in the Designer editor. I've selected the Twitter service but I got this error: 19:58:58,896 ERROR [org.jbpm.designer.web.server.JbpmServiceRepositoryServlet] (http--127.0.0.1-8080-5) Could not find the package for uuid: c3142f2a-084b-423f-8afa-640c84140075 Am I missing something ? regards, Cristiano ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] [Designer] Problem installing service from repository
Hi Tihomir, I read the docs, and I don't think that I got out of the standard this time. At least this time I can create and save the diagrams and change the color theme properly... Guvnor is reached here: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.jsp?# And Designer here : http://localhost:8080/designer I'm sending the logs perhaps you could see anything. thanks and regards, Cristiano On 17/05/12 08:36, Tihomir Surdilovic wrote: Hi Cristiano, I think you may have a configuration issue between Guvnor and Designer. Please read chapter http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3136 in the docs and make sure that both your Guvnor and Designer are configured to be able to see eachother correctly..if this still fails I would need some more info like server logs and more info on your setup to know how to help further. Thanks. On 5/16/12 7:09 PM, Cristiano Gavião wrote: Hi, I'm using Designer 2.2 with Guvnor 3.4 in a Jboss AS 7.1. I could connect to this service repository url: http://people.redhat.com/kverlaen/repository in the Designer editor. I've selected the Twitter service but I got this error: 19:58:58,896 ERROR [org.jbpm.designer.web.server.JbpmServiceRepositoryServlet] (http--127.0.0.1-8080-5) Could not find the package for uuid: c3142f2a-084b-423f-8afa-640c84140075 Am I missing something ? regards, Cristiano ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users 01:06:57,589 INFO [org.jboss.modules] JBoss Modules version 1.1.1.GA 01:06:57,937 INFO [org.jboss.msc] JBoss MSC version 1.0.2.GA 01:06:58,023 INFO [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final Brontes starting 01:06:58,026 DEBUG [org.jboss.as.config] Configured system properties: [Standalone] = awt.nativeDoubleBuffering = true awt.toolkit = apple.awt.CToolkit file.encoding = UTF-8 file.encoding.pkg = sun.io file.separator = / ftp.nonProxyHosts = local|*.local|169.254/16|*.169.254/16 gopherProxySet = false http.nonProxyHosts = local|*.local|169.254/16|*.169.254/16 java.awt.graphicsenv = apple.awt.CGraphicsEnvironment java.awt.headless = true java.awt.printerjob = apple.awt.CPrinterJob java.class.path = /Users/cvgaviao/Library/JavaApps/jboss-as-7.1.1.Final/jboss-modules.jar java.class.version = 50.0 java.endorsed.dirs = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/endorsed java.ext.dirs = /Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext java.home = /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home java.io.tmpdir = /var/folders/1C/1C98cM9mF5aO0C5b9nv7-E+++TI/-Tmp-/ java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java java.net.preferIPv4Stack = true java.runtime.name = Java(TM) SE Runtime Environment java.runtime.version = 1.6.0_31-b04-415-10M3646 java.specification.name = Java Platform API Specification java.specification.vendor = Sun Microsystems Inc. java.specification.version = 1.6 java.util.logging.manager = org.jboss.logmanager.LogManager java.vendor = Apple Inc. java.vendor.url = http://www.apple.com/ java.vendor.url.bug = http://bugreport.apple.com/ java.version = 1.6.0_31 java.vm.info = mixed mode java.vm.name = Java HotSpot(TM) Client VM java.vm.specification.name = Java Virtual Machine Specification java.vm.specification.vendor = Sun Microsystems Inc. java.vm.specification.version = 1.0 java.vm.vendor = Apple Inc. java.vm.version = 20.6-b01-415 javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory jboss.home.dir = /Users/cvgaviao/Library/JavaApps/jboss-as-7.1.1.Final jboss.host.name = c4bizpro-2 jboss.modules.dir = /Users/cvgaviao/Library/JavaApps/jboss-as-7.1.1.Final/modules
[rules-users] Building Guvnor from source
Hi! I'm trying to build Guvnor from source. I have followed instructions listed here: https://github.com/droolsjbpm/droolsjbpm-build-bootstrap/blob/master/README.md I am able to start the application. After clicking on URL in Development Mode tab, Guvnor app starts to load but after a few seconds becomes unresponsive and I get an OutOfMemoryException: [org.drools.guvnor.Guvnor] Out of memory; to increase the amount of memory, use the -Xmx flag at startup (java -Xmx128M ...) I have increased VM memory, however, no matter how much memory I give, it always throws this exception. I get this output in the console: WARN 17-05 16:14:26,525 (RulesRepositoryManager.java:createRulesRepository:65) Creating RulesRepository with default username. INFO 17-05 16:14:26,530 (RulesRepositoryConfigurator.java:getInstance:46) Creating an instance of the RulesRepositoryConfigurator. WARN 17-05 16:14:30,598 (RulesRepositoryManager.java:createRulesRepository:65) Creating RulesRepository with default username. WARN 17-05 16:14:31,764 (RulesRepositoryManager.java:createRulesRepository:65) Creating RulesRepository with default username. Any suggestions? -- View this message in context: http://drools.46999.n3.nabble.com/Building-Guvnor-from-source-tp3999132.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Guvnor REST API and XLS decision tables
Thanks, I'll listen to your advice and switch to downloading binary asset content. -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-REST-API-and-XLS-decision-tables-tp3985574p3999138.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Displaying BPM node names across lines (easy)
I can't seem to find this on the site and know I have done it - how do you wrap a node name in a ruleflow or BPMN graph so it displays on multiple lines? I would like This is a really long process name that I would like to be be wrapped on multiple lines to appear as This is a really long process name that I would like to be be wrapped on multiple lines via adding in special characters to the process name. Thanks! -- View this message in context: http://drools.46999.n3.nabble.com/Displaying-BPM-node-names-across-lines-easy-tp3999156.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] [Designer] Problem installing service from repository
Not sure why your server log has: 01:10:03,075 ERROR [org.jbpm.designer.web.server.JbpmServiceRepositoryServlet] (http--127.0.0.1-8080-1) Could not find the package for uuid: c3142f2a-084b-423f-8afa-640c84140075 Designer scans all Guvnor packages trying to find the one the UUID belongs to. Maybe you could attach your Guvnor repository export zip (Administration-Import/Export) so I could test locally. Do you by chance have spaces in your package names? Older versions of Guvnor IIRC had issues with that. Thanks. On 5/17/12 8:45 AM, Cristiano Gavião wrote: Hi Tihomir, I read the docs, and I don't think that I got out of the standard this time. At least this time I can create and save the diagrams and change the color theme properly... Guvnor is reached here: http://localhost:8080/drools-guvnor/org.drools.guvnor.Guvnor/Guvnor.jsp?# And Designer here : http://localhost:8080/designer I'm sending the logs perhaps you could see anything. thanks and regards, Cristiano On 17/05/12 08:36, Tihomir Surdilovic wrote: Hi Cristiano, I think you may have a configuration issue between Guvnor and Designer. Please read chapter http://docs.jboss.org/jbpm/v5.2/userguide/ch10.html#d0e3136 in the docs and make sure that both your Guvnor and Designer are configured to be able to see eachother correctly..if this still fails I would need some more info like server logs and more info on your setup to know how to help further. Thanks. On 5/16/12 7:09 PM, Cristiano Gavião wrote: Hi, I'm using Designer 2.2 with Guvnor 3.4 in a Jboss AS 7.1. I could connect to this service repository url: http://people.redhat.com/kverlaen/repository in the Designer editor. I've selected the Twitter service but I got this error: 19:58:58,896 ERROR [org.jbpm.designer.web.server.JbpmServiceRepositoryServlet] (http--127.0.0.1-8080-5) Could not find the package for uuid: c3142f2a-084b-423f-8afa-640c84140075 Am I missing something ? regards, Cristiano ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] Drools 5.4 Jitting Error
I just updated to Drools 5.4 and I am not getting the following error on all my map accessors: 10:41:12,997 ERROR [stderr] (Thread-169) Exception in thread Thread-169 java.lang.RuntimeException: Exception jitting: feeKeys[1] == null 10:41:12,998 ERROR [stderr] (Thread-169)at org.drools.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:219) 10:41:12,999 ERROR [stderr] (Thread-169)at org.drools.rule.constraint.MvelConstraint.access$000(MvelConstraint.java:41) 10:41:13,000 ERROR [stderr] (Thread-169)at org.drools.rule.constraint.MvelConstraint$1.run(MvelConstraint.java:201) 10:41:13,000 ERROR [stderr] (Thread-169)at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 10:41:13,001 ERROR [stderr] (Thread-169)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 10:41:13,002 ERROR [stderr] (Thread-169)at java.lang.Thread.run(Thread.java:662) 10:41:13,002 ERROR [stderr] (Thread-169) Caused by: java.lang.VerifyError: (class: ConditionEvaluator51817e9f4a7542c5b295be7d674f854c, method: evaluate signature: (Ljava/lang/Object;Lorg/drools/common/InternalWorkingMemory;Lorg/drools/reteoo/LeftTuple;)Z) Expecting to find object/array on stack 10:41:13,004 ERROR [stderr] (Thread-169)at java.lang.Class.getDeclaredConstructors0(Native Method) 10:41:13,004 ERROR [stderr] (Thread-169)at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) 10:41:13,005 ERROR [stderr] (Thread-169)at java.lang.Class.getConstructor0(Class.java:2699) 10:41:13,005 ERROR [stderr] (Thread-169)at java.lang.Class.getConstructor(Class.java:1657) 10:41:13,006 ERROR [stderr] (Thread-169)at org.drools.rule.builder.dialect.asm.ClassGenerator.newInstance(ClassGenerator.java:173) 10:41:13,006 ERROR [stderr] (Thread-169)at org.drools.rule.constraint.ASMConditionEvaluatorJitter.jitEvaluator(ASMConditionEvaluatorJitter.java:53) 10:41:13,007 ERROR [stderr] (Thread-169)at org.drools.rule.constraint.MvelConstraint.executeJitting(MvelConstraint.java:217) 10:41:13,008 ERROR [stderr] (Thread-169)... 5 more Could anyone indicate how to fix this? -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4 Jitting Error
rule Rule1 trade no-loop true when $tsc:TradeSideContext(trade!=null,primarySide!=null,contraSide!=null) $trade:Trade($tradeDate:tradeDate, tradeSource == O) from $tsc.trade $ps:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) from $tsc.primarySide $cs:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) from $tsc.contraSide $ft:FeeType(feeKeys[0] == DefaultFeeTypeComponent.RULE_1_SCH, feeKeys[1] == null) from $tsc.baseFee then $ft.appendKeyValue(DefaultFeeTypeComponent.RULE_1_ELG); events.select(new GenericBillingEvent(BillingEventType.BASE_FEE_EVENT)).fire($tsc);retract($tsc); end -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999199.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4 Jitting Error
It looks like the rule executes(based on my unit test the proper element is placed in the list) and it always seems to happen on the my last execution. In addition I have noticed that the evaluations seem to be handled on other threads. Is this correct behavior? gboro54 wrote rule Rule1 trade no-loop true when $tsc:TradeSideContext(trade!=null,primarySide!=null,contraSide!=null) $trade:Trade($tradeDate:tradeDate, tradeSource == O) from $tsc.trade $ps:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) from $tsc.primarySide $cs:TradeSide(capacity.capacityCode == CapacityCode.CUSTOMER) from $tsc.contraSide $ft:FeeType(feeKeys[0] == DefaultFeeTypeComponent.RULE_1_SCH, feeKeys[1] == null) from $tsc.baseFee then $ft.appendKeyValue(DefaultFeeTypeComponent.RULE_1_ELG); events.select(new GenericBillingEvent(BillingEventType.BASE_FEE_EVENT)).fire($tsc);retract($tsc); end -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999228.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4 Jitting Error
In Drools 5.4 we added an optimization that JITs constraints (i.e. compile them in bytecode) after they have been evaluated for a given amount of times (currently 20). Moreover it is not true that constraints' evaluations is made in threads different from the main one. Instead it is that jitting process mentioned above that is performed in a different threads, so until the optimized version of the constraint isn't ready, the main thread isn't blocked but can continue to use the non-jitted one. The error you are experiencing is generated during the optimization process and that is why you see it happens in different thread. I will try to reproduce the issue you found just now. Thank you for reporting this. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999347.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Plugging custom verification rules into Guvnor
Joe, you might also consider adding your own rule to one of the existing verifyer DRL files. I think they are part of some .jar file, so all you'd need to do is de-jar, edit, re-jar, or just fiddle with class path if that's the way the verifiy locates the DRL resources. -W On 17/05/2012, Toni Rikkola toni.rikk...@gmail.com wrote: Hi, There is no way to do this in Guvnor right now. You can use custom rules with Verifier outside of Guvnor. You can even make the custom rules with Guvnor. What is missing is the ability to use the rules in Guvnor for the Source - Verify. This has been on the wish list for some time, but can't promise that it will get done for some time. If you want to help and add it in, let me know. https://issues.jboss.org/browse/GUVNOR-1898 Toni Rikkola On May 16, 2012, at 11:14 AM, Joe Ammann wrote: Hi all coming from another thread [1], Wolfgang pointed me to the Guvnor/Drools verifier. I am looking now for ways to implement my own verification rules into Guvnor. Ideally, I would like to be able to hook into 2 places in Guvnor with custom rules (maybe these are going actually through the same code path in Guvnor) 1) When editing BRLs (or other business oriented asset types) and selecting Source - Verify 2) When doing Run Analysis on a package in QA Menu I searched the documentation and had a quick look at the source of Guvnor, but wasn't able to quickly find the way to achieve this. Any pointers? -- CU, Joe [1] http://lists.jboss.org/pipermail/rules-users/2012-May/026518.html ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4 Jitting Error
Mario, That is what i expected(just wanted to verify). Let me know if any additional information is needed... Mario Fusco wrote In Drools 5.4 we added an optimization that JITs constraints (i.e. compile them in bytecode) after they have been evaluated for a given amount of times (currently 20). Moreover it is not true that constraints' evaluations is made in threads different from the main one. Instead it is that jitting process mentioned above that is performed in a different threads, so until the optimized version of the constraint isn't ready, the main thread isn't blocked but can continue to use the non-jitted one. The error you are experiencing is generated during the optimization process and that is why you see it happens in different thread. I will try to reproduce the issue you found just now. Thank you for reporting this. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999350.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4 Jitting Error
Ok, I've been able to reproduce your issue. I'll fix it asap and keep you updated on how I am progressing. The only (ugly) workaround I could find at the moment is to replace feeKeys[1] with feeKeys[new Integer(1)]. Let me know if it works for you. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999380.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4 Jitting Error
Thanks Mario! That seems to have resolved the issue. I look forward to your fix. Mario Fusco wrote Ok, I've been able to reproduce your issue. I'll fix it asap and keep you updated on how I am progressing. The only (ugly) workaround I could find at the moment is to replace feeKeys[1] with feeKeys[new Integer(1)]. Let me know if it works for you. Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999487.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] Drools 5.4 Jitting Error
I have reported this issue here: https://issues.jboss.org/browse/JBRULES-3511 I have also already fixed it and pushed the fix on the master branch. Working on the fix I also found another workaround: even replacing feeKeys[1] with feeKeys[1+0] should work. I don't know if this is better or worse than the former one I suggested, since it is a bit more concise but probably also less readable. Thanks again for reporting this, Mario -- View this message in context: http://drools.46999.n3.nabble.com/Drools-5-4-Jitting-Error-tp3999176p3999537.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] traits - don more than 3 pojos, got IllegalArgumentException
Thanks for reporting this, I'll double check and fix it as soon as possible Best Davide -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-traits-don-more-than-3-pojos-got-IllegalArgumentException-tp3788670p3999543.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
[rules-users] ProcessInstance from StartProcessCommand
I am using the StartProcessCommand through the BatchExecution interface, and it works fine, but I don't see any return information in the ExecutionResults, such as a ProcessInstanceId or ProcessState? Is there some way to acquire this information. I see a number of other Commands in the process package but it's not clear how to use them or where the ProcessState would come from. Thanks, Herm -- View this message in context: http://drools.46999.n3.nabble.com/ProcessInstance-from-StartProcessCommand-tp383.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] ProcessInstance from StartProcessCommand
Hi Herm, You can use the out identifier to get some result.. On Thu, May 17, 2012 at 8:25 PM, Hrumph herman.p...@imail.org wrote: I am using the StartProcessCommand through the BatchExecution interface, and it works fine, but I don't see any return information in the ExecutionResults, such as a ProcessInstanceId or ProcessState? Is there some way to acquire this information. I see a number of other Commands in the process package but it's not clear how to use them or where the ProcessState would come from. Thanks, Herm -- View this message in context: http://drools.46999.n3.nabble.com/ProcessInstance-from-StartProcessCommand-tp383.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- - MyJourney @ http://salaboy.wordpress.com - Co-Founder @ http://www.jugargentina.org - Co-Founder @ http://www.jbug.com.ar - Salatino Salaboy Mauricio - ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
Re: [rules-users] ProcessInstance from StartProcessCommand
What would one call with the outIdentifier to get a result? -- View this message in context: http://drools.46999.n3.nabble.com/ProcessInstance-from-StartProcessCommand-tp383p4000166.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users