<?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 Re: Start Alfresco Workflow from Java in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20430#M9008</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do something like this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/source/test-java/org/alfresco/repo/workflow/activiti/ActivitiWorkflowServiceIntegrationTest.java#L184" title="https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/source/test-java/org/alfresco/repo/workflow/activiti/ActivitiWorkflowServiceIntegrationTest.java#L184" rel="nofollow noopener noreferrer"&gt;community-edition-old/ActivitiWorkflowServiceIntegrationTest.java at master · Alfresco/community-edition-old · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what you need is to create the "package" object, add the documents and it is done.&lt;/P&gt;&lt;P&gt;Follow the sample code and you will be able to achieve what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2017 17:58:54 GMT</pubDate>
    <dc:creator>douglascrp</dc:creator>
    <dc:date>2017-05-03T17:58:54Z</dc:date>
    <item>
      <title>Start Alfresco Workflow from Java</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20426#M9004</link>
      <description>Hi,We have created custom review workflow and deployed to Alfresco repository and wanted to start this workflow outside Alfresco using java, couldn't find right REST service or any other method to do this.&amp;nbsp;Can you please help me on how I can achieve this? We are using Alfresco 5.0Thanks!</description>
      <pubDate>Thu, 27 Apr 2017 12:05:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20426#M9004</guid>
      <dc:creator>eramesh</dc:creator>
      <dc:date>2017-04-27T12:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: Start Alfresco Workflow from Java</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20427#M9005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Judging by the available documentation for 5.0 version here&amp;nbsp;&lt;A class="link-titled" href="http://docs.alfresco.com/5.0/references/RESTful-Workflow.html" title="http://docs.alfresco.com/5.0/references/RESTful-Workflow.html" rel="nofollow noopener noreferrer"&gt;Workflow | Alfresco Documentation&lt;/A&gt;&amp;nbsp;, I think there is no way to start a new instance the way you want to do.&lt;/P&gt;&lt;P&gt;Maybe you should take a look on how webscripts are implemented, and then create your own.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following project introduced a new start workflow webscript, but be carefull, as the project is not being maintained anymore&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/douglascrp/alfresco-workflow-webscripts" title="https://github.com/douglascrp/alfresco-workflow-webscripts" rel="nofollow noopener noreferrer"&gt;GitHub - douglascrp/alfresco-workflow-webscripts: Project implementing the missing workflows webscripts on Alfresco Comm…&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 14:45:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20427#M9005</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-04-27T14:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: Start Alfresco Workflow from Java</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20428#M9006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent! Thank you so much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 00:15:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20428#M9006</guid>
      <dc:creator>eramesh</dc:creator>
      <dc:date>2017-04-28T00:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: Start Alfresco Workflow from Java</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20429#M9007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Douglas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One follow-up question I got to add two documents to the workflow when I start how can I add it? Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 02:02:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20429#M9007</guid>
      <dc:creator>eramesh</dc:creator>
      <dc:date>2017-04-28T02:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Start Alfresco Workflow from Java</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20430#M9008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You have to do something like this:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/source/test-java/org/alfresco/repo/workflow/activiti/ActivitiWorkflowServiceIntegrationTest.java#L184" title="https://github.com/Alfresco/community-edition-old/blob/master/projects/repository/source/test-java/org/alfresco/repo/workflow/activiti/ActivitiWorkflowServiceIntegrationTest.java#L184" rel="nofollow noopener noreferrer"&gt;community-edition-old/ActivitiWorkflowServiceIntegrationTest.java at master · Alfresco/community-edition-old · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically what you need is to create the "package" object, add the documents and it is done.&lt;/P&gt;&lt;P&gt;Follow the sample code and you will be able to achieve what you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 17:58:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20430#M9008</guid>
      <dc:creator>douglascrp</dc:creator>
      <dc:date>2017-05-03T17:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Start Alfresco Workflow from Java</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20431#M9009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Douglas...I will follow that method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 11:58:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/start-alfresco-workflow-from-java/m-p/20431#M9009</guid>
      <dc:creator>eramesh</dc:creator>
      <dc:date>2017-05-04T11:58:22Z</dc:date>
    </item>
  </channel>
</rss>

