<?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 Regarding the deployed process id in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/regarding-the-deployed-process-id/m-p/80521#M53750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings Everybody!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The deployed process id returned by API is different than the one that is stored in the database table ACT_RE_PROCDEF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, if the deployed process id in DB table is "MyProcess:1:1112" and the id that is returned by the Deployment API is "MyProcess". &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because of this, the formService.submitStartFormData(…) is giving me error like, process definition not found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any take on this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;– &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Atul Shinkar&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2012 11:37:27 GMT</pubDate>
    <dc:creator>atul_sh</dc:creator>
    <dc:date>2012-08-02T11:37:27Z</dc:date>
    <item>
      <title>Regarding the deployed process id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/regarding-the-deployed-process-id/m-p/80521#M53750</link>
      <description>Greetings Everybody!The deployed process id returned by API is different than the one that is stored in the database table ACT_RE_PROCDEF.For example, if the deployed process id in DB table is "MyProcess:1:1112" and the id that is returned by the Deployment API is "MyProcess". Because of this, the f</description>
      <pubDate>Thu, 02 Aug 2012 11:37:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/regarding-the-deployed-process-id/m-p/80521#M53750</guid>
      <dc:creator>atul_sh</dc:creator>
      <dc:date>2012-08-02T11:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding the deployed process id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/regarding-the-deployed-process-id/m-p/80522#M53751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The ProcessDefinition java object's ID is not the ID that is in the process xml. The ID in xml corresponds to the KEY in the java-object. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use startprocessInstanceByKey() or in your case, first find the latest process-definition for your key, and use that id in submitStartFormData():&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;repositoryService.createProcessDefinitionQuery().processDefinitionKey("MyProcess").lastest().singleResult();&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2012 11:54:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/regarding-the-deployed-process-id/m-p/80522#M53751</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-08-02T11:54:27Z</dc:date>
    </item>
  </channel>
</rss>

