<?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 How to create a process instance in activiti-app by script? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-process-instance-in-activiti-app-by-script/m-p/22187#M9737</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class=""&gt;&lt;P&gt;Currently, I only deployed activiti-app in my environment; I can create/run process instance successfully by dashboard, but there's a requirement to create/run process instance by script, e.g. REST API, how to do that?&lt;/P&gt;&lt;P&gt;Someone suggest to start activiti-rest and point to the same database, but it will report table conflict (MySQL).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the following thread for the detail:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.alfresco.com/message/821342-re-how-to-use-rest-api-with-activiti-app?commentID=821342&amp;amp;et=watches.email.thread" rel="nofollow noreferrer noopener"&gt;https://community.alfresco.com/message/821342-re-how-to-use-rest-api-with-activiti-app?commentID=821342&amp;amp;et=watches.email.thread&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Sep 2017 15:33:11 GMT</pubDate>
    <dc:creator>k82cn</dc:creator>
    <dc:date>2017-09-20T15:33:11Z</dc:date>
    <item>
      <title>How to create a process instance in activiti-app by script?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-process-instance-in-activiti-app-by-script/m-p/22187#M9737</link>
      <description>Currently, I only deployed activiti-app in my environment; I can create/run process instance successfully by dashboard, but there's a requirement to create/run process instance by script, e.g. REST API, how to do that?Someone suggest to start activiti-rest and point to the same database, but it will</description>
      <pubDate>Wed, 20 Sep 2017 15:33:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-process-instance-in-activiti-app-by-script/m-p/22187#M9737</guid>
      <dc:creator>k82cn</dc:creator>
      <dc:date>2017-09-20T15:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a process instance in activiti-app by script?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-process-instance-in-activiti-app-by-script/m-p/22188#M9738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Refer to the documentation&lt;/P&gt;&lt;P&gt;&lt;A class="" href="https://www.activiti.org/userguide/index.html?_ga=2.44538340.19585044.1505717871-219430293.1487752770#_start_a_process_instance" title="https://www.activiti.org/userguide/index.html?_ga=2.44538340.19585044.1505717871-219430293.1487752770#_start_a_process_instance" rel="nofollow noopener noreferrer"&gt;Activiti User Guide&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start a process instance via REST API :&lt;/P&gt;&lt;PRE&gt;POST runtime/process-instances&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To start a process instance via Script&lt;/P&gt;&lt;PRE class=""&gt;&lt;CODE data-lang="java"&gt;&lt;SPAN class=""&gt;runtimeService&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&lt;SPAN class=""&gt;startProcessInstanceByKey&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Sep 2017 16:23:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-process-instance-in-activiti-app-by-script/m-p/22188#M9738</guid>
      <dc:creator>bhchemss</dc:creator>
      <dc:date>2017-09-20T16:23:23Z</dc:date>
    </item>
  </channel>
</rss>

