<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'my-process' . in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiobjectnotfoundexception-no-processes/m-p/35694#M15063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Am trying to build dynamic activiti flow with the code as put in the url. Am using local h2 store(&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;"workflow.h2.url"&lt;/SPAN&gt;: &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000"&lt;/SPAN&gt;,&lt;/PRE&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.programcreek.com/java-api-examples/index.php?source_dir=elpaaso-core-master/cloud-paas/cloud-paas-activation-v1-impl/src/test/java/com/francetelecom/clara/cloud/paas/activation/v1/ProcessBuilderTest.java" title="https://www.programcreek.com/java-api-examples/index.php?source_dir=elpaaso-core-master/cloud-paas/cloud-paas-activation-v1-impl/src/test/java/com/francetelecom/clara/cloud/paas/activation/v1/ProcessBuilderTest.java" rel="nofollow noopener noreferrer"&gt;Java Code Example&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;BpmnModel model = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;BpmnModel();&lt;BR /&gt;Process process = &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;Process();&lt;BR /&gt;model.addProcess(process);&lt;BR /&gt;process.setId(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"PatchProcess"&lt;/SPAN&gt;);&lt;BR /&gt;process.setName(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"PatchProcessInstance"&lt;/SPAN&gt;);&lt;BR /&gt;process.addFlowElement(createStartEvent());&lt;BR /&gt;process.addFlowElement(createServiceTask(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"PatchingTask"&lt;/SPAN&gt;));&lt;BR /&gt;process.addFlowElement(createEndEvent());&lt;BR /&gt;&lt;BR /&gt;process.addFlowElement(createSequenceFlow(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"start"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"PatchingTask"&lt;/SPAN&gt;));&lt;BR /&gt;process.addFlowElement(createSequenceFlow(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"PatchingTask"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"end"&lt;/SPAN&gt;));&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Deployment deployment = &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;processEngine&lt;/SPAN&gt;.getRepositoryService()&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .createDeployment().addBpmnModel(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"dynamic-model-test.bpmn"&lt;/SPAN&gt;, model)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .key(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"my-process"&lt;/SPAN&gt;).deploy();&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i call&amp;nbsp;&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;runtimeService&lt;/SPAN&gt;.startProcessInstanceByKey(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"my-process") its giving me the below error.&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'my-process' . Can i get some help over it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Its not creating the entry in&amp;nbsp;ACT_RE_DEPLOYMENT table. Because of which this error. Not sure why this entry is not made.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Oct 2017 09:23:54 GMT</pubDate>
    <dc:creator>chiranjeeviveer</dc:creator>
    <dc:date>2017-10-31T09:23:54Z</dc:date>
    <item>
      <title>org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'my-process' .</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiobjectnotfoundexception-no-processes/m-p/35694#M15063</link>
      <description>Am trying to build dynamic activiti flow with the code as put in the url. Am using local h2 store("workflow.h2.url": "jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000",)Java Code Example&amp;nbsp;BpmnModel model = new BpmnModel();Process process = new Process();model.addProcess(process);process.setId("PatchProcess")</description>
      <pubDate>Tue, 31 Oct 2017 09:23:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiobjectnotfoundexception-no-processes/m-p/35694#M15063</guid>
      <dc:creator>chiranjeeviveer</dc:creator>
      <dc:date>2017-10-31T09:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'my-process' .</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiobjectnotfoundexception-no-processes/m-p/35695#M15064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i get some help here. Am stuck with this issue.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Its not creating the entry in&amp;nbsp;ACT_RE_DEPLOYMENT table because of that when i invoke this&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE style="color: #000000; font-size: 9.0pt;"&gt;&lt;PRE style="color: #000000; font-size: 9.0pt;"&gt;ExecutionEntity processInstance = (ExecutionEntity)&amp;nbsp; &lt;SPAN style="background-color: #e4e4ff;"&gt;runtimeService&lt;/SPAN&gt;.startProcessInstanceByKey(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"ApiExecution"&lt;/SPAN&gt;,variables);&lt;BR /&gt;its giving me the error "&lt;/PRE&gt;&lt;/PRE&gt;&lt;H1 style="color: #727174; background-color: #ffffff; border: 0px; font-weight: 200; font-size: 2rem; margin: 0px;" id="toc-hId-1812470498"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;no processes deployed with key 'my-process' .&lt;/H1&gt;&lt;PRE style="color: #000000; font-size: 9.0pt;"&gt;"&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 17:13:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiobjectnotfoundexception-no-processes/m-p/35695#M15064</guid>
      <dc:creator>chiranjeeviveer</dc:creator>
      <dc:date>2017-11-01T17:13:38Z</dc:date>
    </item>
    <item>
      <title>Re: org.activiti.engine.ActivitiObjectNotFoundException: no processes deployed with key 'my-process' .</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiobjectnotfoundexception-no-processes/m-p/35696#M15065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have also encountered this problem; Could you please tell me how you solved it? thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 08:25:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/org-activiti-engine-activitiobjectnotfoundexception-no-processes/m-p/35696#M15065</guid>
      <dc:creator>爱风鸣</dc:creator>
      <dc:date>2018-03-27T08:25:50Z</dc:date>
    </item>
  </channel>
</rss>

