<?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 [rest] - Create a deployment by model id in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/rest-create-a-deployment-by-model-id/m-p/243254#M196384</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can I create a deployment from model id by activiti-rest?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- I have created a model by rest-api and updated editor-source for this model by api too. Then I want to create a deployment of this model by api, can i do it? (if create deployment by activiti-explorer, we can do it by simple click "deploy" on model action of model)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Nov 2016 09:22:59 GMT</pubDate>
    <dc:creator>minhquankq</dc:creator>
    <dc:date>2016-11-01T09:22:59Z</dc:date>
    <item>
      <title>[rest] - Create a deployment by model id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-create-a-deployment-by-model-id/m-p/243254#M196384</link>
      <description>Can I create a deployment from model id by activiti-rest?- I have created a model by rest-api and updated editor-source for this model by api too. Then I want to create a deployment of this model by api, can i do it? (if create deployment by activiti-explorer, we can do it by simple click "deploy" o</description>
      <pubDate>Tue, 01 Nov 2016 09:22:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-create-a-deployment-by-model-id/m-p/243254#M196384</guid>
      <dc:creator>minhquankq</dc:creator>
      <dc:date>2016-11-01T09:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: [rest] - Create a deployment by model id</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/rest-create-a-deployment-by-model-id/m-p/243255#M196385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no standard REST API in the 5.x branch to promote a model from the models repository to the runtime engine repository.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if you are using Activiti 6 (still in Beta), you can make use of the activiti-app REST API to deploy a "process app". Be aware, process models must first be added to a process app then the process app is what is deployed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately the API is not (yet) documented, but it is pretty easy to work out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303942; font-size: 11px;"&gt;POST &lt;A href="http://localhost:8080/activiti-app/app/rest/app-definitions/2/publish" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/activiti-app/app/rest/app-definitions/2/publish&lt;/A&gt;&lt;BR /&gt;Payload :&amp;nbsp;&lt;SPAN&gt;{"comment":"My Comment"}&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Where "2" above is the process app id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;BR /&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Feb 2017 14:19:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/rest-create-a-deployment-by-model-id/m-p/243255#M196385</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-02-27T14:19:32Z</dc:date>
    </item>
  </channel>
</rss>

