2 Replies Latest reply on Sep 22, 2017 2:20 AM by bwallis42

    JBPM 7 Could not find work item handler for Rest

    bwallis42

      I'm running JBPM 7.1.0.Final using the show case docker images for the jbpm workbench and kie-server and have a simple little workflow that includes a REST node. When the execution gets to the REST node (via a timer node) I get an error about not finding the work item handler. I would have thought this would be in the server by default.

       

      Is there something special I need to do to get this to work for a REST node?

       

      I'd appreciate any suggestions about what might be missing from my workflow or server..

       

      The error I get is

       

      11:48:14,451 WARN  [org.jbpm.services.ejb.timer.EJBTimerScheduler] (EJB default - 6) Execution of time failed due to java.lang.RuntimeException: org.jbpm.workflow.instance.WorkflowRuntimeException: [WorkingMemory.WorkingMemory:7 - REST:5] -- Could not find work item handler for Rest: java.lang.RuntimeException: java.lang.RuntimeException: org.jbpm.workflow.instance.WorkflowRuntimeException: [WorkingMemory.WorkingMemory:7 - REST:5] -- Could not find work item handler for Rest
      at org.drools.persistence.jpa.JDKCallableJobCommand.execute(JDKCallableJobCommand.java:37)
      at org.drools.persistence.jpa.JDKCallableJobCommand.execute(JDKCallableJobCommand.java:21)
      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.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:39)
      at org.drools.persistence.PersistableRunner$TransactionInterceptor.execute(PersistableRunner.java:594)
      at org.drools.persistence.PersistableRunner$TransactionInterceptor.execute(PersistableRunner.java:552)
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:39)
      at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.internalExecute(OptimisticLockRetryInterceptor.java:102)
      at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:83)
      at org.drools.persistence.jpa.OptimisticLockRetryInterceptor.execute(OptimisticLockRetryInterceptor.java:44)
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:39)
      at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:73)
      at org.drools.persistence.jta.TransactionLockInterceptor.execute(TransactionLockInterceptor.java:45)
      at org.drools.core.command.impl.AbstractInterceptor.executeNext(AbstractInterceptor.java:39)
      at org.jbpm.runtime.manager.impl.error.ExecutionErrorHandlerInterceptor.internalExecute(ExecutionErrorHandlerInterceptor.java:60)
      at org.jbpm.runtime.manager.impl.error.ExecutionErrorHandlerInterceptor.execute(ExecutionErrorHandlerInterceptor.java:49)
      at org.jbpm.runtime.manager.impl.error.ExecutionErrorHandlerInterceptor.execute(ExecutionErrorHandlerInterceptor.java:29)
      at org.drools.persistence.PersistableRunner.execute(PersistableRunner.java:398)
      at org.drools.persistence.PersistableRunner.execute(PersistableRunner.java:66)
      at org.drools.core.runtime.InternalLocalRunner.execute(InternalLocalRunner.java:37)
      at org.drools.core.runtime.InternalLocalRunner.execute(InternalLocalRunner.java:35)
      at org.jbpm.process.core.timer.impl.GlobalTimerService$DisposableCommandService.execute(GlobalTimerService.java:314)
      at org.jbpm.process.core.timer.impl.GlobalTimerService$DisposableCommandService.execute(GlobalTimerService.java:291)
      at org.drools.core.runtime.InternalLocalRunner.execute(InternalLocalRunner.java:37)
      at org.drools.core.runtime.InternalLocalRunner.execute(InternalLocalRunner.java:41)
      at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:79)
      at org.jbpm.persistence.timer.GlobalJpaTimerJobInstance.call(GlobalJpaTimerJobInstance.java:48)
      at org.jbpm.services.ejb.timer.EJBTimerScheduler.executeTimerJob(EJBTimerScheduler.java:79)
      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.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57)
      at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82)
      at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:95)
      at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57)
      at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73)
      at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:52)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275)
      at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:327)
      at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:100)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437)
      at org.jboss.as.ejb3.concurrency.ContainerManagedConcurrencyInterceptor.processInvocation(ContainerManagedConcurrencyInterceptor.java:110)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:54)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
      at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:356)
      at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
      at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340)
      at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
      at org.jboss.as.ejb3.timerservice.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:99)
      at org.jboss.as.ejb3.timerservice.TimedObjectInvokerImpl.callTimeout(TimedObjectInvokerImpl.java:109)
      at org.jboss.as.ejb3.timerservice.TimerTask.invokeBeanMethod(TimerTask.java:190)
      at org.jboss.as.ejb3.timerservice.TimerTask.callTimeout(TimerTask.java:186)
      at org.jboss.as.ejb3.timerservice.TimerTask.retryTimeout(TimerTask.java:213)
      at org.jboss.as.ejb3.timerservice.TimerTask.run(TimerTask.java:165)
      at org.jboss.as.ejb3.timerservice.TimerServiceImpl$Task$1.run(TimerServiceImpl.java:1215)
      at org.wildfly.extension.requestcontroller.RequestController$QueuedTask$1.run(RequestController.java:497)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at java.lang.Thread.run(Thread.java:748)
      at org.jboss.threads.JBossThread.run(JBossThread.java:320)
      Caused by: java.lang.RuntimeException: org.jbpm.workflow.instance.WorkflowRuntimeException: [WorkingMemory.WorkingMemory:7 - REST:5] -- Could not find work item handler for Rest
      at org.jbpm.process.instance.timer.TimerManager$ProcessJob.execute(TimerManager.java:313)
      at org.drools.core.time.SelfRemovalJob.execute(SelfRemovalJob.java:34)
      at org.drools.core.time.impl.DefaultTimerJobInstance.call(DefaultTimerJobInstance.java:69)
      at org.drools.persistence.jpa.JpaTimerJobInstance.internalCall(JpaTimerJobInstance.java:59)
      at org.drools.persistence.jpa.JDKCallableJobCommand.execute(JDKCallableJobCommand.java:35)
      ... 101 more
      Caused by: org.jbpm.workflow.instance.WorkflowRuntimeException: [WorkingMemory.WorkingMemory:7 - REST:5] -- Could not find work item handler for Rest
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:185)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerNodeInstance(NodeInstanceImpl.java:373)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:332)
      at org.jbpm.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:44)
      at org.jbpm.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:343)
      at org.jbpm.workflow.instance.node.TimerNodeInstance.triggerCompleted(TimerNodeInstance.java:105)
      at org.jbpm.workflow.instance.node.TimerNodeInstance.signalEvent(TimerNodeInstance.java:95)
      at org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:498)
      at org.jbpm.process.instance.event.DefaultSignalManager.signalEvent(DefaultSignalManager.java:98)
      at org.jbpm.process.instance.timer.TimerManager$ProcessJob.execute(TimerManager.java:301)
      ... 105 more
      Caused by: org.drools.core.WorkItemHandlerNotFoundException: Could not find work item handler for Rest
      at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.throwWorkItemNotFoundException(JPAWorkItemManager.java:77)
      at org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalExecuteWorkItem(JPAWorkItemManager.java:71)
      at org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:140)
      at org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:179)
      ... 114 more
      

       

      and the workflow source is this

       

      <?xml version="1.0" encoding="UTF-8"?>
      <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.omg.org/bpmn20" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:bpsim="http://www.bpsim.org/schemas/1.0" xmlns:color="http://www.omg.org/spec/BPMN/non-normative/color" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:drools="http://www.jboss.org/drools" id="_s6FVoIf9EeeDoqo-aX0gKQ" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd http://www.jboss.org/drools drools.xsd http://www.bpsim.org/schemas/1.0 bpsim.xsd" exporter="jBPM Designer" exporterVersion="6.2.0" expressionLanguage="http://www.mvel.org/2.0" targetNamespace="http://www.omg.org/bpmn20" typeLanguage="http://www.java.com/javaTypes">
        <bpmn2:itemDefinition id="_mandatoryCodesItem" structureRef="com.myteam.workingmemory.Codes"/>
        <bpmn2:itemDefinition id="__B944D067-4001-4DD3-AD0E-C1CA8576007B_TaskNameInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__B944D067-4001-4DD3-AD0E-C1CA8576007B_SkippableInputXItem" structureRef="Object"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_TaskNameInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_ConnectTimeoutInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_MethodInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_PasswordInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_UsernameInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_UrlInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_ReadTimeoutInputXItem" structureRef="String"/>
        <bpmn2:itemDefinition id="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_ResultOutputXItem" structureRef="java.lang.Object"/>
        <bpmn2:process id="WorkingMemory.WorkingMemory" drools:packageName="com.myteam.workingmemory" drools:version="1.0" name="WorkingMemory" isExecutable="true">
          <bpmn2:property id="mandatoryCodes" itemSubjectRef="_mandatoryCodesItem"/>
          <bpmn2:startEvent id="processStartEvent" drools:selectable="true" color:background-color="#9acd32" color:border-color="#000000" color:color="#000000" name="">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:outgoing>_F0ED0613-2F68-422C-95AE-017760D3BF80</bpmn2:outgoing>
          </bpmn2:startEvent>
          <bpmn2:businessRuleTask id="_9349C64D-1CE1-4CAB-9467-2C7ADAFEA9CA" drools:selectable="true" drools:ruleFlowGroup="have_mandatory" drools:scriptFormat="http://www.java.com/java" color:background-color="#fafad2" color:border-color="#000000" color:color="#000000" name="HaveMandatory" implementation="http://www.jboss.org/drools/rule">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[HaveMandatory]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:incoming>_6B38D950-E670-4FE1-A33B-84CE0E04CD71</bpmn2:incoming>
            <bpmn2:outgoing>_4F2CA52D-C04B-496C-A700-B366F86589D8</bpmn2:outgoing>
          </bpmn2:businessRuleTask>
          <bpmn2:sequenceFlow id="_6B38D950-E670-4FE1-A33B-84CE0E04CD71" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_76D53FA2-6B76-4F44-BAA4-29323F382448" targetRef="_9349C64D-1CE1-4CAB-9467-2C7ADAFEA9CA"/>
          <bpmn2:userTask id="_B944D067-4001-4DD3-AD0E-C1CA8576007B" drools:selectable="true" drools:scriptFormat="http://www.java.com/java" color:background-color="#fafad2" color:border-color="#000000" color:color="#000000" name="ShowAll">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[ShowAll]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:incoming>_4F2CA52D-C04B-496C-A700-B366F86589D8</bpmn2:incoming>
            <bpmn2:outgoing>_3DF9C0E5-6D07-468C-B6C5-EEA411DCFD10</bpmn2:outgoing>
            <bpmn2:ioSpecification id="_s6IY8If9EeeDoqo-aX0gKQ">
              <bpmn2:dataInput id="_B944D067-4001-4DD3-AD0E-C1CA8576007B_TaskNameInputX" drools:dtype="String" itemSubjectRef="__B944D067-4001-4DD3-AD0E-C1CA8576007B_TaskNameInputXItem" name="TaskName"/>
              <bpmn2:dataInput id="_B944D067-4001-4DD3-AD0E-C1CA8576007B_SkippableInputX" drools:dtype="Object" itemSubjectRef="__B944D067-4001-4DD3-AD0E-C1CA8576007B_SkippableInputXItem" name="Skippable"/>
              <bpmn2:inputSet id="_s6KOIIf9EeeDoqo-aX0gKQ">
                <bpmn2:dataInputRefs>_B944D067-4001-4DD3-AD0E-C1CA8576007B_SkippableInputX</bpmn2:dataInputRefs>
                <bpmn2:dataInputRefs>_B944D067-4001-4DD3-AD0E-C1CA8576007B_TaskNameInputX</bpmn2:dataInputRefs>
              </bpmn2:inputSet>
              <bpmn2:outputSet id="_s6KOIYf9EeeDoqo-aX0gKQ"/>
            </bpmn2:ioSpecification>
            <bpmn2:dataInputAssociation id="_s6KOIof9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_B944D067-4001-4DD3-AD0E-C1CA8576007B_TaskNameInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KOI4f9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOJIf9EeeDoqo-aX0gKQ"><![CDATA[ShowAll]]></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KOJYf9EeeDoqo-aX0gKQ">_B944D067-4001-4DD3-AD0E-C1CA8576007B_TaskNameInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
            <bpmn2:dataInputAssociation id="_s6KOJof9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_B944D067-4001-4DD3-AD0E-C1CA8576007B_SkippableInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KOJ4f9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOKIf9EeeDoqo-aX0gKQ">true</bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KOKYf9EeeDoqo-aX0gKQ">_B944D067-4001-4DD3-AD0E-C1CA8576007B_SkippableInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
          </bpmn2:userTask>
          <bpmn2:sequenceFlow id="_4F2CA52D-C04B-496C-A700-B366F86589D8" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_9349C64D-1CE1-4CAB-9467-2C7ADAFEA9CA" targetRef="_B944D067-4001-4DD3-AD0E-C1CA8576007B"/>
          <bpmn2:endEvent id="_6D7DA8DA-82E8-4061-8FDD-1F44DE27D46B" drools:selectable="true" color:background-color="#ff6347" color:border-color="#000000" color:color="#000000" name="">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:incoming>_3DF9C0E5-6D07-468C-B6C5-EEA411DCFD10</bpmn2:incoming>
          </bpmn2:endEvent>
          <bpmn2:sequenceFlow id="_3DF9C0E5-6D07-468C-B6C5-EEA411DCFD10" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_B944D067-4001-4DD3-AD0E-C1CA8576007B" targetRef="_6D7DA8DA-82E8-4061-8FDD-1F44DE27D46B"/>
          <bpmn2:task id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D" drools:selectable="true" drools:taskName="Rest" color:background-color="#fafad2" color:border-color="#000000" color:color="#000000" name="REST">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[REST]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:incoming>_63C29FCC-4CE7-43BE-90B2-FA3E50DAB1D5</bpmn2:incoming>
            <bpmn2:outgoing>_E4DC9898-149E-4DA9-972C-497321FD0DDB</bpmn2:outgoing>
            <bpmn2:ioSpecification id="_s6KOKof9EeeDoqo-aX0gKQ">
              <bpmn2:dataInput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_TaskNameInputX" drools:dtype="String" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_TaskNameInputXItem" name="TaskName"/>
              <bpmn2:dataInput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ConnectTimeoutInputX" drools:dtype="String" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_ConnectTimeoutInputXItem" name="ConnectTimeout"/>
              <bpmn2:dataInput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_MethodInputX" drools:dtype="String" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_MethodInputXItem" name="Method"/>
              <bpmn2:dataInput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_PasswordInputX" drools:dtype="String" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_PasswordInputXItem" name="Password"/>
              <bpmn2:dataInput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UsernameInputX" drools:dtype="String" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_UsernameInputXItem" name="Username"/>
              <bpmn2:dataInput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UrlInputX" drools:dtype="String" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_UrlInputXItem" name="Url"/>
              <bpmn2:dataInput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ReadTimeoutInputX" drools:dtype="String" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_ReadTimeoutInputXItem" name="ReadTimeout"/>
              <bpmn2:dataOutput id="_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ResultOutputX" drools:dtype="java.lang.Object" itemSubjectRef="__99C38CD4-51E6-466E-B89D-3910D6F6B95D_ResultOutputXItem" name="Result"/>
              <bpmn2:inputSet id="_s6KOK4f9EeeDoqo-aX0gKQ">
                <bpmn2:dataInputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ConnectTimeoutInputX</bpmn2:dataInputRefs>
                <bpmn2:dataInputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_MethodInputX</bpmn2:dataInputRefs>
                <bpmn2:dataInputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_PasswordInputX</bpmn2:dataInputRefs>
                <bpmn2:dataInputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UsernameInputX</bpmn2:dataInputRefs>
                <bpmn2:dataInputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UrlInputX</bpmn2:dataInputRefs>
                <bpmn2:dataInputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ReadTimeoutInputX</bpmn2:dataInputRefs>
                <bpmn2:dataInputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_TaskNameInputX</bpmn2:dataInputRefs>
              </bpmn2:inputSet>
              <bpmn2:outputSet id="_s6KOLIf9EeeDoqo-aX0gKQ">
                <bpmn2:dataOutputRefs>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ResultOutputX</bpmn2:dataOutputRefs>
              </bpmn2:outputSet>
            </bpmn2:ioSpecification>
            <bpmn2:dataInputAssociation id="_s6KOLYf9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_TaskNameInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KOLof9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOL4f9EeeDoqo-aX0gKQ"><![CDATA[Rest]]></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KOMIf9EeeDoqo-aX0gKQ">_99C38CD4-51E6-466E-B89D-3910D6F6B95D_TaskNameInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
            <bpmn2:dataInputAssociation id="_s6KOMYf9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ConnectTimeoutInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KOMof9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOM4f9EeeDoqo-aX0gKQ"></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KONIf9EeeDoqo-aX0gKQ">_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ConnectTimeoutInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
            <bpmn2:dataInputAssociation id="_s6KONYf9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_MethodInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KONof9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KON4f9EeeDoqo-aX0gKQ"></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KOOIf9EeeDoqo-aX0gKQ">_99C38CD4-51E6-466E-B89D-3910D6F6B95D_MethodInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
            <bpmn2:dataInputAssociation id="_s6KOOYf9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_PasswordInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KOOof9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOO4f9EeeDoqo-aX0gKQ"></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KOPIf9EeeDoqo-aX0gKQ">_99C38CD4-51E6-466E-B89D-3910D6F6B95D_PasswordInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
            <bpmn2:dataInputAssociation id="_s6KOPYf9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UsernameInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KOPof9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOP4f9EeeDoqo-aX0gKQ"></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KOQIf9EeeDoqo-aX0gKQ">_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UsernameInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
            <bpmn2:dataInputAssociation id="_s6KOQYf9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UrlInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KOQof9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOQ4f9EeeDoqo-aX0gKQ"></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KORIf9EeeDoqo-aX0gKQ">_99C38CD4-51E6-466E-B89D-3910D6F6B95D_UrlInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
            <bpmn2:dataInputAssociation id="_s6KORYf9EeeDoqo-aX0gKQ">
              <bpmn2:targetRef>_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ReadTimeoutInputX</bpmn2:targetRef>
              <bpmn2:assignment id="_s6KORof9EeeDoqo-aX0gKQ">
                <bpmn2:from xsi:type="bpmn2:tFormalExpression" id="_s6KOR4f9EeeDoqo-aX0gKQ"></bpmn2:from>
                <bpmn2:to xsi:type="bpmn2:tFormalExpression" id="_s6KOSIf9EeeDoqo-aX0gKQ">_99C38CD4-51E6-466E-B89D-3910D6F6B95D_ReadTimeoutInputX</bpmn2:to>
              </bpmn2:assignment>
            </bpmn2:dataInputAssociation>
          </bpmn2:task>
          <bpmn2:intermediateCatchEvent id="_36CA86E6-DDD7-49B9-9CF9-26AA5BC78A1E" drools:selectable="true" drools:boundaryca="true" color:background-color="#f5deb3" color:border-color="#a0522d" color:color="#000000" name="">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:incoming>_D99F0E7E-6F9A-4CD4-B4F1-994F3E91D3F5</bpmn2:incoming>
            <bpmn2:outgoing>_63C29FCC-4CE7-43BE-90B2-FA3E50DAB1D5</bpmn2:outgoing>
            <bpmn2:timerEventDefinition id="_s6T_IIf9EeeDoqo-aX0gKQ">
              <bpmn2:timeDuration xsi:type="bpmn2:tFormalExpression" id="_s6T_IYf9EeeDoqo-aX0gKQ">20s</bpmn2:timeDuration>
            </bpmn2:timerEventDefinition>
          </bpmn2:intermediateCatchEvent>
          <bpmn2:sequenceFlow id="_63C29FCC-4CE7-43BE-90B2-FA3E50DAB1D5" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_36CA86E6-DDD7-49B9-9CF9-26AA5BC78A1E" targetRef="_99C38CD4-51E6-466E-B89D-3910D6F6B95D"/>
          <bpmn2:endEvent id="_95ACA004-4C8E-4E1B-950F-9F4B8D749843" drools:selectable="true" color:background-color="#ff6347" color:border-color="#000000" color:color="#000000" name="">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:incoming>_E98ECBCB-903A-4BD7-9454-3408DB12050F</bpmn2:incoming>
          </bpmn2:endEvent>
          <bpmn2:sequenceFlow id="_E98ECBCB-903A-4BD7-9454-3408DB12050F" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_67B34912-FB65-4AE3-9002-FD7EBFE72BA3" targetRef="_95ACA004-4C8E-4E1B-950F-9F4B8D749843"/>
          <bpmn2:businessRuleTask id="_67B34912-FB65-4AE3-9002-FD7EBFE72BA3" drools:selectable="true" drools:ruleFlowGroup="add_document" drools:scriptFormat="http://www.java.com/java" color:background-color="#fafad2" color:border-color="#000000" color:color="#000000" name="" implementation="http://www.jboss.org/drools/rule">
            <bpmn2:extensionElements>
              <drools:metaData name="elementname">
                <drools:metaValue><![CDATA[]]></drools:metaValue>
              </drools:metaData>
            </bpmn2:extensionElements>
            <bpmn2:incoming>_E4DC9898-149E-4DA9-972C-497321FD0DDB</bpmn2:incoming>
            <bpmn2:outgoing>_E98ECBCB-903A-4BD7-9454-3408DB12050F</bpmn2:outgoing>
          </bpmn2:businessRuleTask>
          <bpmn2:sequenceFlow id="_E4DC9898-149E-4DA9-972C-497321FD0DDB" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_99C38CD4-51E6-466E-B89D-3910D6F6B95D" targetRef="_67B34912-FB65-4AE3-9002-FD7EBFE72BA3"/>
          <bpmn2:sequenceFlow id="_F0ED0613-2F68-422C-95AE-017760D3BF80" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="processStartEvent" targetRef="_76D53FA2-6B76-4F44-BAA4-29323F382448"/>
          <bpmn2:sequenceFlow id="_D99F0E7E-6F9A-4CD4-B4F1-994F3E91D3F5" drools:selectable="true" color:background-color="#000000" color:border-color="#000000" color:color="#000000" sourceRef="_76D53FA2-6B76-4F44-BAA4-29323F382448" targetRef="_36CA86E6-DDD7-49B9-9CF9-26AA5BC78A1E"/>
          <bpmn2:parallelGateway id="_76D53FA2-6B76-4F44-BAA4-29323F382448" drools:selectable="true" color:background-color="#f0e68c" color:border-color="#a67f00" color:color="#000000" name="" gatewayDirection="Diverging">
            <bpmn2:incoming>_F0ED0613-2F68-422C-95AE-017760D3BF80</bpmn2:incoming>
            <bpmn2:outgoing>_D99F0E7E-6F9A-4CD4-B4F1-994F3E91D3F5</bpmn2:outgoing>
            <bpmn2:outgoing>_6B38D950-E670-4FE1-A33B-84CE0E04CD71</bpmn2:outgoing>
          </bpmn2:parallelGateway>
        </bpmn2:process>
        <bpmndi:BPMNDiagram id="_s6T_Iof9EeeDoqo-aX0gKQ">
          <bpmndi:BPMNPlane id="_s6T_I4f9EeeDoqo-aX0gKQ" bpmnElement="WorkingMemory.WorkingMemory">
            <bpmndi:BPMNShape id="_s6T_JIf9EeeDoqo-aX0gKQ" bpmnElement="processStartEvent">
              <dc:Bounds height="30.0" width="30.0" x="30.0" y="240.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_JYf9EeeDoqo-aX0gKQ" bpmnElement="_9349C64D-1CE1-4CAB-9467-2C7ADAFEA9CA">
              <dc:Bounds height="80.0" width="100.0" x="210.0" y="140.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_Jof9EeeDoqo-aX0gKQ" bpmnElement="_B944D067-4001-4DD3-AD0E-C1CA8576007B">
              <dc:Bounds height="80.0" width="100.0" x="375.0" y="140.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_J4f9EeeDoqo-aX0gKQ" bpmnElement="_6D7DA8DA-82E8-4061-8FDD-1F44DE27D46B">
              <dc:Bounds height="28.0" width="28.0" x="540.0" y="166.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_KIf9EeeDoqo-aX0gKQ" bpmnElement="_99C38CD4-51E6-466E-B89D-3910D6F6B95D">
              <dc:Bounds height="80.0" width="100.0" x="210.0" y="290.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_KYf9EeeDoqo-aX0gKQ" bpmnElement="_36CA86E6-DDD7-49B9-9CF9-26AA5BC78A1E">
              <dc:Bounds height="30.0" width="30.0" x="120.0" y="315.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_Kof9EeeDoqo-aX0gKQ" bpmnElement="_95ACA004-4C8E-4E1B-950F-9F4B8D749843">
              <dc:Bounds height="28.0" width="28.0" x="540.0" y="316.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_K4f9EeeDoqo-aX0gKQ" bpmnElement="_67B34912-FB65-4AE3-9002-FD7EBFE72BA3">
              <dc:Bounds height="80.0" width="100.0" x="375.0" y="290.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNShape id="_s6T_LIf9EeeDoqo-aX0gKQ" bpmnElement="_76D53FA2-6B76-4F44-BAA4-29323F382448">
              <dc:Bounds height="40.0" width="40.0" x="115.0" y="235.0"/>
            </bpmndi:BPMNShape>
            <bpmndi:BPMNEdge id="_s6T_LYf9EeeDoqo-aX0gKQ" bpmnElement="_6B38D950-E670-4FE1-A33B-84CE0E04CD71" sourceElement="_s6T_LIf9EeeDoqo-aX0gKQ" targetElement="_s6T_JYf9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="135.0" y="255.0"/>
              <di:waypoint xsi:type="dc:Point" x="135.0" y="180.0"/>
              <di:waypoint xsi:type="dc:Point" x="260.0" y="180.0"/>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="_s6T_Lof9EeeDoqo-aX0gKQ" bpmnElement="_4F2CA52D-C04B-496C-A700-B366F86589D8" sourceElement="_s6T_JYf9EeeDoqo-aX0gKQ" targetElement="_s6T_Jof9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="260.0" y="180.0"/>
              <di:waypoint xsi:type="dc:Point" x="425.0" y="180.0"/>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="_s6T_L4f9EeeDoqo-aX0gKQ" bpmnElement="_3DF9C0E5-6D07-468C-B6C5-EEA411DCFD10" sourceElement="_s6T_Jof9EeeDoqo-aX0gKQ" targetElement="_s6T_J4f9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="425.0" y="180.0"/>
              <di:waypoint xsi:type="dc:Point" x="554.0" y="180.0"/>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="_s6T_MIf9EeeDoqo-aX0gKQ" bpmnElement="_63C29FCC-4CE7-43BE-90B2-FA3E50DAB1D5" sourceElement="_s6T_KYf9EeeDoqo-aX0gKQ" targetElement="_s6T_KIf9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="135.0" y="330.0"/>
              <di:waypoint xsi:type="dc:Point" x="260.0" y="330.0"/>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="_s6T_MYf9EeeDoqo-aX0gKQ" bpmnElement="_E98ECBCB-903A-4BD7-9454-3408DB12050F" sourceElement="_s6T_K4f9EeeDoqo-aX0gKQ" targetElement="_s6T_Kof9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="425.0" y="330.0"/>
              <di:waypoint xsi:type="dc:Point" x="554.0" y="330.0"/>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="_s6T_Mof9EeeDoqo-aX0gKQ" bpmnElement="_E4DC9898-149E-4DA9-972C-497321FD0DDB" sourceElement="_s6T_KIf9EeeDoqo-aX0gKQ" targetElement="_s6T_K4f9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="260.0" y="330.0"/>
              <di:waypoint xsi:type="dc:Point" x="425.0" y="330.0"/>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="_s6T_M4f9EeeDoqo-aX0gKQ" bpmnElement="_F0ED0613-2F68-422C-95AE-017760D3BF80" sourceElement="_s6T_JIf9EeeDoqo-aX0gKQ" targetElement="_s6T_LIf9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="45.0" y="255.0"/>
              <di:waypoint xsi:type="dc:Point" x="135.0" y="255.0"/>
            </bpmndi:BPMNEdge>
            <bpmndi:BPMNEdge id="_s6T_NIf9EeeDoqo-aX0gKQ" bpmnElement="_D99F0E7E-6F9A-4CD4-B4F1-994F3E91D3F5" sourceElement="_s6T_LIf9EeeDoqo-aX0gKQ" targetElement="_s6T_KYf9EeeDoqo-aX0gKQ">
              <di:waypoint xsi:type="dc:Point" x="135.0" y="255.0"/>
              <di:waypoint xsi:type="dc:Point" x="135.0" y="330.0"/>
            </bpmndi:BPMNEdge>
          </bpmndi:BPMNPlane>
        </bpmndi:BPMNDiagram>
        <bpmn2:relationship id="_s6T_NYf9EeeDoqo-aX0gKQ" type="BPSimData">
          <bpmn2:extensionElements>
            <bpsim:BPSimData>
              <bpsim:Scenario xsi:type="bpsim:Scenario" id="default" name="Simulationscenario">
                <bpsim:ScenarioParameters xsi:type="bpsim:ScenarioParameters" baseTimeUnit="min"/>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_E98ECBCB-903A-4BD7-9454-3408DB12050F" id="_s6T_Nof9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_F0ED0613-2F68-422C-95AE-017760D3BF80" id="_s6T_N4f9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_E4DC9898-149E-4DA9-972C-497321FD0DDB" id="_s6T_OIf9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_4F2CA52D-C04B-496C-A700-B366F86589D8" id="_s6T_OYf9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_3DF9C0E5-6D07-468C-B6C5-EEA411DCFD10" id="_s6T_Oof9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_D99F0E7E-6F9A-4CD4-B4F1-994F3E91D3F5" id="_s6T_O4f9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="processStartEvent" id="_s6T_PIf9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_36CA86E6-DDD7-49B9-9CF9-26AA5BC78A1E" id="_s6T_PYf9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_9349C64D-1CE1-4CAB-9467-2C7ADAFEA9CA" id="_s6T_Pof9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                  <bpsim:CostParameters xsi:type="bpsim:CostParameters">
                    <bpsim:UnitCost xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="0.0"/>
                    </bpsim:UnitCost>
                  </bpsim:CostParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_6B38D950-E670-4FE1-A33B-84CE0E04CD71" id="_s6T_P4f9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_95ACA004-4C8E-4E1B-950F-9F4B8D749843" id="_s6T_QIf9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_67B34912-FB65-4AE3-9002-FD7EBFE72BA3" id="_s6T_QYf9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                  <bpsim:CostParameters xsi:type="bpsim:CostParameters">
                    <bpsim:UnitCost xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="0.0"/>
                    </bpsim:UnitCost>
                  </bpsim:CostParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_B944D067-4001-4DD3-AD0E-C1CA8576007B" id="_s6T_Qof9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                  <bpsim:ResourceParameters xsi:type="bpsim:ResourceParameters">
                    <bpsim:Availability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="8.0"/>
                    </bpsim:Availability>
                    <bpsim:Quantity xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="1.0"/>
                    </bpsim:Quantity>
                  </bpsim:ResourceParameters>
                  <bpsim:CostParameters xsi:type="bpsim:CostParameters">
                    <bpsim:UnitCost xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="0.0"/>
                    </bpsim:UnitCost>
                  </bpsim:CostParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_6D7DA8DA-82E8-4061-8FDD-1F44DE27D46B" id="_s6T_Q4f9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_99C38CD4-51E6-466E-B89D-3910D6F6B95D" id="_s6T_RIf9EeeDoqo-aX0gKQ">
                  <bpsim:TimeParameters xsi:type="bpsim:TimeParameters">
                    <bpsim:ProcessingTime xsi:type="bpsim:Parameter">
                      <bpsim:UniformDistribution max="10.0" min="5.0"/>
                    </bpsim:ProcessingTime>
                  </bpsim:TimeParameters>
                  <bpsim:CostParameters xsi:type="bpsim:CostParameters">
                    <bpsim:UnitCost xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="0.0"/>
                    </bpsim:UnitCost>
                  </bpsim:CostParameters>
                </bpsim:ElementParameters>
                <bpsim:ElementParameters xsi:type="bpsim:ElementParameters" elementRef="_63C29FCC-4CE7-43BE-90B2-FA3E50DAB1D5" id="_s6T_RYf9EeeDoqo-aX0gKQ">
                  <bpsim:ControlParameters xsi:type="bpsim:ControlParameters">
                    <bpsim:Probability xsi:type="bpsim:Parameter">
                      <bpsim:FloatingParameter value="100.0"/>
                    </bpsim:Probability>
                  </bpsim:ControlParameters>
                </bpsim:ElementParameters>
              </bpsim:Scenario>
            </bpsim:BPSimData>
          </bpmn2:extensionElements>
          <bpmn2:source>_s6FVoIf9EeeDoqo-aX0gKQ</bpmn2:source>
          <bpmn2:target>_s6FVoIf9EeeDoqo-aX0gKQ</bpmn2:target>
        </bpmn2:relationship>
      </bpmn2:definitions>
      
        • 1. Re: JBPM 7 Could not find work item handler for Rest
          alexprog4

          It is strange that tasks are available in process but work item handlers not registered automatically.

           

          On 7.2 version i have same issue. I register handler manually and error is gone.

          In Workbench go to Settings -> Deployment descriptor, add handler (Name - something like "Rest", Identifier - "new org.jbpm.process.workitem.rest.RESTWorkItemHandler()", Resolver type - "mvel") and save.

           

          kie-deployment-descriptor.xml created in src/main/resources/META-INF with content:

           

              <work-item-handlers>
                  <work-item-handler>
                      <resolver>mvel</resolver>
                      <identifier>new org.jbpm.process.workitem.rest.RESTWorkItemHandler()</identifier>
                      <parameters/>
                      <name>Rest</name>
                  </work-item-handler>
              </work-item-handlers>
          
          1 of 1 people found this helpful
          • 2. Re: JBPM 7 Could not find work item handler for Rest
            bwallis42

            Thanks Alex, that did the trick!