Configuring the work item handler for Email

1,645 views
Skip to first unread message

Bob Hastings

unread,
Dec 1, 2015, 3:46:49 PM12/1/15
to jBPM Setup
I am running kie-wb-6.2.1-SNAPSHOT-tomcat7.war as a separate application on tomcat.  The designer already has the EMail service task visible in the Object Library pop-up.  I created a simple workflow to send an email to myself.  The problem is I do not see how to configure the EMail service task.  I have read  

Chapter 21. Domain-specific Processes

of the 6.2 documentation but it does not tell me how to set up the work item handler when I am using the KIE WorkBench as a standalone application running in Tomcat.  How do you register the work item handler?  How to configure the  connection from the work bench?    What am I missing?  Do I need to create a script before the task is started?  The project does not have a configured KBase or KSession.  Do I need to set one up?

Here is the error I get when I run the task:

INFO: Application Config Directory: C:/home/genus/app/genus/tomcat/webapps/jbpm-console/WEB-INF/etc
Dec 1, 2015 2:02:14 PM org.drools.persistence.SingleSessionCommandService rollbackTransaction
WARNING: Could not commit session
org.jbpm.workflow.instance.WorkflowRuntimeException: [mailTest.MailMyself:771 - Email:2] -- Could not find work item handler for Email
    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:178)
    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:365)
    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:324)
    at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:73)
    at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:44)
    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:172)
    at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:35)

....

Caused by: org.drools.core.WorkItemHandlerNotFoundException: Could not find work item handler for Email
    at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.throwWorkItemNotFoundException(JPAWorkItemManager.java:62)
    at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:57)
    at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:133)
    at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:172)
    ... 68 more

Maciej Swiderski

unread,
Dec 2, 2015, 1:21:11 AM12/2/15
to Bob Hastings, jBPM Setup
take a look at deployment descriptors that allows to register handlers (among other things) http://docs.jboss.org/jbpm/v6.3/userguide/ch14.html#d0e12357

Maciej

--
You received this message because you are subscribed to the Google Groups "jBPM Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-setup+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-setup/fbadccca-1d9f-4d16-887a-eb6a86b5a7fc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bob Hastings

unread,
Dec 2, 2015, 8:53:42 AM12/2/15
to jBPM Setup, hastin...@gmail.com
Thanks,  I'll take a look.

Bob

Bob Hastings

unread,
Dec 2, 2015, 10:29:51 AM12/2/15
to jBPM Setup, hastin...@gmail.com
Maciej,

Thanks so much for your help.  I have it configured and working now.

For those who want to know.  Here is what I did.

Using the WorkBench "Project Explorer" I navigated to the "kie-deployment-descriptor.xml in "<projectName>/src/main/resources/META-INF/
Using the Editor I added the Work Item Handler: with name Email and value new org.jbpm.process.workitem.email.EmailWorkItemHandler("host", "port", "mailUsername", "mailPassowrd")
Then I redeployed the project.
When I ran my simple process, it sent me an email using the Email service task.

Here is the relevant xml from the deployment descriptor:

        <work-item-handler>
            <resolver>mvel</resolver>
            <identifier>new org.jbpm.process.workitem.email.EmailWorkItemHandler("host", "port", "userName", "password")</identifier>
            <parameters/>
            <name>Email</name>
        </work-item-handler>

srinivasul...@awpl.co

unread,
Dec 3, 2015, 6:06:35 AM12/3/15
to jBPM Setup
configure you email work item in CustomWorkItemHandlers.conf
"Email": new org.jbpm.process.instance.impl.demo.Email(),
C:\home\genus\app\genus\tomcat\webapps\jbpm-console.war\WEB-INF\classes\META-INF
and cinfigure your workitem in .wid file

[
    "name" : "Email",
    "parameters" : [
      "From" : new StringDataType(),
      "To" : new StringDataType(),
      "Subject" : new StringDataType(),
      "Body" : new StringDataType()
    ],
    "displayName" : "Email",
    "icon" : "defaultemailicon.gif"
  ],

Tyler Dalious

unread,
Jan 19, 2016, 10:44:11 AM1/19/16
to jBPM Setup
Hey Bob, Have you got this working with custom handlers? Not just the given ones? (Email/async/REST) With the Workbench, where do the .jars for the custom handlers go? The only success I've had is by copying them to /jbpm-installer/dependencies then reinstalling the jbpm-console.war AND uploading the .jars as artifacts in the Workbench -> Authoring -> Artifact repo. However it doesn't pull down 3rd party libraries I have included in the jars maven pom so I can only use native java.

Bob Hastings

unread,
Feb 10, 2016, 9:17:28 AM2/10/16
to jBPM Setup
Sorry, I have done nothing with custom handlers.

Bob Hastings

unread,
Feb 10, 2016, 3:54:10 PM2/10/16
to jBPM Setup
Actually, one thing that I usually do is just get the jars from mvn manually and put them in the jbpm war's lib directory.


On Tuesday, January 19, 2016 at 9:44:11 AM UTC-6, Tyler Dalious wrote:

masoud jabbarvand

unread,
Apr 24, 2016, 2:52:18 AM4/24/16
to jBPM Setup, hastin...@gmail.com
so thanks Bob. it works correct.
another related question: do you know ho to send SMS with work item handlers?

regards

در چهارشنبه 2 دسامبر 2015، ساعت 18:59:51 (UTC+3:30)، Bob Hastings نوشته:

swapnil irabatti

unread,
Jun 20, 2017, 10:06:09 AM6/20/17
to jBPM Setup, hastin...@gmail.com
Hi Bob, Maciej

I am also in need of the same thing. I have KIE server 7.0.0 running on wildfly successfully. I have kjar which contains .drl and .bpmn files.
I have a simple task to send an email but in my KIE server log, i am getting an error.
I have configured kie-deployment-descriptor.xml with an about mentioned post, still same error.
What am I doing wrong?

19:19:06,878 ERROR [org.kie.server.services.drools.DroolsKieContainerCommandServiceImpl] (default task-2) Error calling container 'redpine': Exception executing consequence for rule "battery percentage notification" in defaultpkg: org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.bpmn.email:1 - Email:5] -- Could not find work item handler for Email
        at org.drools.core.runtime.rule.impl.DefaultConsequenceExceptionHandler.handleException(DefaultConsequenceExceptionHandler.java:39)
        at org.drools.core.common.DefaultAgenda.handleException(DefaultAgenda.java:1256)
        at org.drools.core.phreak.RuleExecutor.innerFireActivation(RuleExecutor.java:438)
        at org.drools.core.phreak.RuleExecutor.fireActivation(RuleExecutor.java:379)
        at org.drools.core.phreak.RuleExecutor.fire(RuleExecutor.java:135)
        at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:88)
        at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:34)
        at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
        at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1072)
        at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1019)
        at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1011)
        at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1321)
        at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1312)
        at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1296)
        at org.drools.core.command.runtime.rule.FireAllRulesCommand.execute(FireAllRulesCommand.java:109)
        at org.drools.core.command.runtime.rule.FireAllRulesCommand.execute(FireAllRulesCommand.java:34)
        at org.drools.core.command.runtime.BatchExecutionCommandImpl.execute(BatchExecutionCommandImpl.java:156)
        at org.drools.core.command.runtime.BatchExecutionCommandImpl.execute(BatchExecutionCommandImpl.java:64)
        at org.drools.core.fluent.impl.PseudoClockRunner.executeBatch(PseudoClockRunner.java:102)
        at org.drools.core.fluent.impl.PseudoClockRunner.executeBatches(PseudoClockRunner.java:69)
        at org.drools.core.fluent.impl.PseudoClockRunner.execute(PseudoClockRunner.java:61)
        at org.drools.core.fluent.impl.PseudoClockRunner.execute(PseudoClockRunner.java:39)
        at org.drools.core.runtime.InternalLocalRunner.execute(InternalLocalRunner.java:48)
        at org.drools.core.impl.StatefulKnowledgeSessionImpl.execute(StatefulKnowledgeSessionImpl.java:730)
        at org.kie.server.services.drools.RulesExecutionService.call(RulesExecutionService.java:52)
        at org.kie.server.services.drools.DroolsKieContainerCommandServiceImpl.callContainer(DroolsKieContainerCommandServiceImpl.java:70)
        at org.kie.server.remote.rest.drools.CommandResource.manageContainer(CommandResource.java:73)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:139)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)
        at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:236)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:395)
        at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:202)
        at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:221)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)
        at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
        at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
        at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
        at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
        at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
        at io.undertow.server.handlers.DisableCacheHandler.handleRequest(DisableCacheHandler.java:33)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.security.handlers.AuthenticationConstraintHandler.handleRequest(AuthenticationConstraintHandler.java:51)
        at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
        at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
        at io.undertow.servlet.handlers.security.ServletSecurityConstraintHandler.handleRequest(ServletSecurityConstraintHandler.java:56)
        at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
        at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
        at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
        at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
        at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:284)
        at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:263)
        at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
        at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:174)
        at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
        at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:793)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.jbpm.workflow.instance.WorkflowRuntimeException: [com.sample.bpmn.email:1 - Email:5] -- Could not find work item handler for Email
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:180)
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:367)
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:326)
        at org.jbpm.workflow.instance.node.ActionNodeInstance.triggerCompleted(ActionNodeInstance.java:60)
        at org.jbpm.workflow.instance.node.ActionNodeInstance.internalTrigger(ActionNodeInstance.java:56)
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:174)
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:367)
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:326)
        at org.jbpm.workflow.instance.node.StartNodeInstance.triggerCompleted(StartNodeInstance.java:72)
        at org.jbpm.workflow.instance.node.StartNodeInstance.internalTrigger(StartNodeInstance.java:43)
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:174)
        at org.jbpm.ruleflow.instance.RuleFlowProcessInstance.internalStart(RuleFlowProcessInstance.java:38)
        at org.jbpm.process.instance.impl.ProcessInstanceImpl.start(ProcessInstanceImpl.java:235)
        at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.start(WorkflowProcessInstanceImpl.java:443)
        at org.jbpm.process.instance.ProcessRuntimeImpl.startProcessInstance(ProcessRuntimeImpl.java:208)
        at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:192)
        at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:184)
        at org.jbpm.process.instance.ProcessRuntimeImpl.startProcess(ProcessRuntimeImpl.java:179)
        at org.drools.core.impl.StatefulKnowledgeSessionImpl.startProcess(StatefulKnowledgeSessionImpl.java:1854)
        at org.drools.core.base.WrappedStatefulKnowledgeSessionForRHS.startProcess(WrappedStatefulKnowledgeSessionForRHS.java:733)
        at defaultpkg.Rule_battery_percentage_notification1626033502.defaultConsequence(Rule_battery_percentage_notification1626033502.java:21)
        at defaultpkg.Rule_battery_percentage_notification1626033502DefaultConsequenceInvokerGenerated.evaluate(Unknown Source)
        at defaultpkg.Rule_battery_percentage_notification1626033502DefaultConsequenceInvoker.evaluate(Unknown Source)
        at org.drools.core.phreak.RuleExecutor.innerFireActivation(RuleExecutor.java:431)
        ... 68 more
Caused by: org.drools.core.WorkItemHandlerNotFoundException: Could not find work item handler for Email
        at org.drools.core.process.instance.impl.DefaultWorkItemManager.internalExecuteWorkItem(DefaultWorkItemManager.java:73)
        at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:140)
        at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:174)
        ... 91 more

Maciej Swiderski

unread,
Jun 20, 2017, 3:03:58 PM6/20/17
to swapnil irabatti, jBPM Setup, hastin...@gmail.com
see this article for details on hot to use email work item http://mswiderski.blogspot.com/2017/04/email-configuration-for-jbpm.html

Maciej
--
You received this message because you are subscribed to the Google Groups "jBPM Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-setup+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.

swapnil irabatti

unread,
Jun 21, 2017, 1:55:17 AM6/21/17
to jBPM Setup, swapnilir...@gmail.com, hastin...@gmail.com
Hi Maciej, thanks for your response.
I am not using KIE workbench, I have a REST client which makes HTTP calls to KIE server. Is there any alternative way.
I have gone through all of your blogs posts nowhere it's been mentioned about registering the handlers through REST calls.

Maciej Swiderski

unread,
Jun 21, 2017, 2:25:31 AM6/21/17
to swapnil irabatti, jBPM Setup, hastin...@gmail.com
there is no possibility to register handlers via REST call - this is an configuration thing and not runtime. So handlers must be registered via deployment descriptor when running on kie server. Note that you don’t have to use workbench to create deployment descriptor. it is just an xml file so one can be created with any editor.

Maciej

swapnil irabatti

unread,
Jun 21, 2017, 2:35:50 AM6/21/17
to jBPM Setup, swapnilir...@gmail.com, hastin...@gmail.com
Ture Maciej, your quick response is very much appreciated.
What I did is, In my Kjar I added kie-deployment-descriptor.xml at path  /<ProjectName>/src/main/resources/META-INF/kie-deployment-descriptor.xml. as such

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<deployment-descriptor xsi:schemaLocation="http://www.jboss.org/jbpm deployment-descriptor.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <work-item-handlers>
       <work-item-handler>
            <resolver>mvel</resolver>
            <identifier>new org.jbpm.process.workitem.email.EmailWorkItemHandler("<actual host>", "<actual port>", "<username>", "<password>", true)</identifier>
            <parameters/>
            <name>Email</name>
        </work-item-handler>
        </work-item-handlers>
</deployment-descriptor>

I rebuilt and redeployed Kjar to KIE-server but, still the same error.

What is missing? still, do I need to do configure a mail session in Wildfly or not required (as per your blog mentioned.)

Maciej Swiderski

unread,
Jun 21, 2017, 2:54:30 AM6/21/17
to swapnil irabatti, jBPM Setup, hastin...@gmail.com
ok the problem is that you use non jbpm managed ksession to fire your rules. Please change the lookup attribute of the batch command you send to fire rules to be same as container id. That should then pick up the jbpm managed ksession and thus the handler should already be registered.

Maciej

swapnil irabatti

unread,
Jun 21, 2017, 3:02:52 AM6/21/17
to jBPM Setup, swapnilir...@gmail.com, hastin...@gmail.com
I didn't found any lookup attribute or I didn't configure it below is my method to fire the rule

public String _batteryFireAllRules(Object batteryPercentageDetails) {
System.out.println("== Sending commands to the server =="); 
BatteryPercentageDetails newBatteryPercentageDetails = null;
   RuleServicesClient rulesClient = kieServicesClient.getServicesClient(RuleServicesClient.class);  
   KieCommands commandsFactory = KieServices.Factory.get().getCommands();  
   Command<?> insert = commandsFactory.newInsert(batteryPercentageDetails,"battery");  
   Command<?> fireAllRules = commandsFactory.newFireAllRules("fireallrules");  
   Command<?> batchCommand = commandsFactory.newBatchExecution(Arrays.asList(insert, fireAllRules));  
   ServiceResponse<ExecutionResults> executeResponse = rulesClient.executeCommandsWithResults("redpine", batchCommand);  
}

This the rule which gets fire.


rule 'battery percentage notification'

when
batteryPercentageDetails : BatteryPercentageDetails(percentage <20.0)
then
BatteryPercentageDetails battery = new BatteryPercentageDetails();
battery.setMessage("battery percentage is less than 20, its "+batteryPercentageDetails.getPercentage()+" Please change it ");
batteryPercentageDetails.setMessage("battery percentage is less than 20, its "+batteryPercentageDetails.getPercentage()+" Please change it ");
Map<String, Object> parms = new LinkedHashMap<String, Object>();
parms.put("name", battery);
kcontext.getKieRuntime().startProcess("com.sample.bpmn.email");
end

Can you rectify what mistake am I doing? I am scratching my head last 2 days.

Maciej Swiderski

unread,
Jun 21, 2017, 3:12:42 AM6/21/17
to swapnil irabatti, jBPM Setup, hastin...@gmail.com
See line in bold red

Maciej
On 21 Jun 2017, at 09:02, swapnil irabatti <swapnilir...@gmail.com> wrote:

I didn't found any lookup attribute or I didn't configure it below is my method to fire the rule

public String _batteryFireAllRules(Object batteryPercentageDetails) {
System.out.println("== Sending commands to the server =="); 
BatteryPercentageDetails newBatteryPercentageDetails = null;
   RuleServicesClient rulesClient = kieServicesClient.getServicesClient(RuleServicesClient.class);  
   KieCommands commandsFactory = KieServices.Factory.get().getCommands();  
   Command<?> insert = commandsFactory.newInsert(batteryPercentageDetails,"battery");  
   Command<?> fireAllRules = commandsFactory.newFireAllRules("fireallrules");  
   Command<?> batchCommand = commandsFactory.newBatchExecution(Arrays.asList(insert, fireAllRules), "redpine");  

swapnil irabatti

unread,
Jun 21, 2017, 3:22:30 AM6/21/17
to jBPM Setup, swapnilir...@gmail.com, hastin...@gmail.com
You made my day...
Thanks a lot.. :)

Sarjerao

unread,
Jan 14, 2018, 7:41:52 AM1/14/18
to jBPM Setup
Hi Swapnil,
did you managed to install jBPM7.5 ?
I have installed jBPM 7.5 with MySQL but unable to start wildfly/KIE/case-mgmt.
so can you please help me?

Thanks
Sarje
Reply all
Reply to author
Forward
0 new messages